From 71bb28df7bb070bb8e0b22d5f1e17249b004e73e Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Mon, 30 May 2016 18:40:33 -0300 Subject: python-libusb1: add new package to [pcr] - Packaging request #985 -> https://labs.parabola.nu/issues/985 --- pcr/python-libusb1/PKGBUILD | 28 ++++++++++++++++++++++++++++ pcr/python-libusb1/changelog.txt | 9 +++++++++ 2 files changed, 37 insertions(+) create mode 100644 pcr/python-libusb1/PKGBUILD create mode 100644 pcr/python-libusb1/changelog.txt 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 -- cgit v1.2.3