diff options
-rw-r--r-- | pcr/python-libusb1/PKGBUILD | 28 | ||||
-rw-r--r-- | pcr/python-libusb1/changelog.txt | 9 |
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 |