[arch-commits] Commit in python-pyusb/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Nov 10 05:15:23 UTC 2020


    Date: Tuesday, November 10, 2020 @ 05:15:23
  Author: felixonmars
Revision: 749388

archrelease: copy trunk to community-staging-any

Added:
  python-pyusb/repos/community-staging-any/
  python-pyusb/repos/community-staging-any/PKGBUILD
    (from rev 749387, python-pyusb/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: python-pyusb/repos/community-staging-any/PKGBUILD (from rev 749387, python-pyusb/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-11-10 05:15:23 UTC (rev 749388)
@@ -0,0 +1,30 @@
+# 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.1.0
+pkgrel=2
+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=('0769670e6ebd8b31f2494258eca5d6e470ad3cb17663cc14b8b3a8136ea24caa23f86d81c60c501b88a9bc94b0de6a45aac43c6c5f140e65fd03a589b4d18179'
+            'SKIP')
+validpgpkeys=('B04841AE800C1BF01FE1BC3D084C5584542E1574'  # Wander Lairson Costa <wcosta at mozilla.com>
+              '23F335ED4E829797734B22F65841AF7406AF7AD0') # Jonas Tadeu Silva Malaco Filho <jonas at jonasmalaco.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