[arch-commits] Commit in python-pyusb/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Fri Oct 25 16:46:20 UTC 2019
Date: Friday, October 25, 2019 @ 16:46:20
Author: foutrelis
Revision: 519557
archrelease: copy trunk to community-staging-any
Added:
python-pyusb/repos/community-staging-any/
python-pyusb/repos/community-staging-any/PKGBUILD
(from rev 519556, python-pyusb/trunk/PKGBUILD)
----------+
PKGBUILD | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
Copied: python-pyusb/repos/community-staging-any/PKGBUILD (from rev 519556, python-pyusb/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 16:46:20 UTC (rev 519557)
@@ -0,0 +1,29 @@
+# Maintainer: NicoHood <archlinux {cat} nicohood {dog} de>
+# PGP ID: 97312D5EB9D7AE7D0BD4307351DAE9B7C1AE9161
+# Contributor: Martchus <martchus at gmx.net>
+# Contributor: Nuno Araujo <nuno.araujo at russo79.com>
+# Contributor: Limao Luo <luolimao+AUR at gmail.com>
+# Contributor: Jason Giangrande <jgiangrande at clarku.edu>
+
+_pkgname=pyusb
+pkgname=python-pyusb
+pkgdesc="USB access on Python"
+pkgver=1.0.2
+pkgrel=3
+arch=('any')
+url="https://github.com/pyusb/pyusb"
+license=('custom')
+depends=('python' 'libusb')
+makedepends=('python-distribute')
+#source=("${pkgname}-${pkgver}.tar.gz::https://github.com/walac/${_pkgname}/archive/${pkgver}.tar.gz")
+source=("${_pkgname}-${pkgver}.tar.gz::https://pypi.org/packages/source/p/${_pkgname}/${_pkgname}-${pkgver}.tar.gz"
+ "${_pkgname}-${pkgver}.tar.gz.asc::https://pypi.org/packages/source/p/${_pkgname}/${_pkgname}-${pkgver}.tar.gz.asc")
+sha512sums=('218d118c8572ed548d2317725a9717c0a442eb67c05148ccd90505a407bd8821a1519f511abc14f96b8e09d914f5a35f57cfabd57c47cb9b3fcd8b61947375a2'
+ 'SKIP')
+validpgpkeys=('B04841AE800C1BF01FE1BC3D084C5584542E1574') # Wander Lairson Costa <wcosta at mozilla.com>
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python setup.py install --root="${pkgdir}" --optimize=1
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list