summaryrefslogtreecommitdiff
path: root/pcr/python-libusb1
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-05-30 18:40:33 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-05-30 19:16:51 -0300
commit71bb28df7bb070bb8e0b22d5f1e17249b004e73e (patch)
treee10ecf2dd37e574b4178b4a4c21e49ec2aedd604 /pcr/python-libusb1
parent16a274f3611ff00ccc44c96694a9e69147b4e26a (diff)
python-libusb1: add new package to [pcr] - Packaging request #985 -> https://labs.parabola.nu/issues/985
Diffstat (limited to 'pcr/python-libusb1')
-rw-r--r--pcr/python-libusb1/PKGBUILD28
-rw-r--r--pcr/python-libusb1/changelog.txt9
2 files changed, 37 insertions, 0 deletions
diff --git a/pcr/python-libusb1/PKGBUILD b/pcr/python-libusb1/PKGBUILD
new file mode 100644
index 000000000..a6576e2b5
--- /dev/null
+++ b/pcr/python-libusb1/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer (Arch): vorpalblade77@gmail.com
+pkgname=python-libusb1
+_pkgname=libusb1
+pkgver=1.5.0
+pkgrel=1
+pkgdesc="Pure python wrapper for libusb"
+arch=('any')
+url="https://github.com/vpelletier/${pkgname}"
+license=('GPL2')
+makedepends=('git' 'python-distutils-extra' 'python-setuptools')
+depends=('python' 'libusbx')
+optdepends=()
+conflicts=("${pkgname}-git")
+changelog='changelog.txt'
+source=("git+https://github.com/vpelletier/${pkgname}.git")
+md5sums=('SKIP')
+
+build() {
+ cd "${srcdir}/${pkgname}"
+ python setup.py build
+}
+
+package() {
+ cd "${srcdir}/${pkgname}"
+ python setup.py install --root="${pkgdir}" \
+ --prefix="/usr" \
+ --compile -O1
+}
diff --git a/pcr/python-libusb1/changelog.txt b/pcr/python-libusb1/changelog.txt
new file mode 100644
index 000000000..e2c090c72
--- /dev/null
+++ b/pcr/python-libusb1/changelog.txt
@@ -0,0 +1,9 @@
+1.5.0-1
+ * Updated to new upstream version (1.5.0)
+ * Added git as makedepend -- required for fetching source code
+
+1.4.1-2
+ * Added python-setuptools
+
+1.4.1-1
+ * Initial aur release