[arch-commits] Commit in python-hidapi/repos/community-x86_64 (PKGBUILD PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Mon Apr 20 17:12:53 UTC 2020


    Date: Monday, April 20, 2020 @ 17:12:51
  Author: ffy00
Revision: 617060

archrelease: copy trunk to community-x86_64

Added:
  python-hidapi/repos/community-x86_64/PKGBUILD
    (from rev 617059, python-hidapi/trunk/PKGBUILD)
Deleted:
  python-hidapi/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   72 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 36 insertions(+), 36 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-20 17:12:42 UTC (rev 617059)
+++ PKGBUILD	2020-04-20 17:12:51 UTC (rev 617060)
@@ -1,36 +0,0 @@
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Contributor: Timothy Redaelli <timothy.redaelli at gmail.com>
-# Contributor: Andy Weidenbaum <archbaum at gmail.com>
-# Contributor: Kevin Azzam <arch at kevin.azz.am>
-
-pkgname=python-hidapi
-_pipname=hidapi
-pkgver=0.9.0.2
-_pkgver=${pkgver%.*}.post${pkgver##*.}
-pkgrel=2
-arch=('x86_64')
-pkgdesc="A Cython interface to the hidapi from signal11/hidapi"
-url="https://github.com/trezor/cython-hidapi"
-depends=('libusb' 'python')
-makedepends=('cython' 'python-setuptools' 'udev')
-license=('custom')
-source=(https://pypi.org/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$_pkgver.tar.gz)
-sha512sums=('9d0264280f978ee62664c5f1fa2dcdf1d02cb7d7ef7b08b3a7ed9768a2b6820bd124f71061fa97fe0a7b61bdf289e764c1db1178a581d9a9c029895f2fc75a30')
-
-build() {
-  cd "$_pipname-$_pkgver"
-
-  python setup.py build --without-libusb
-}
-
-package_python-hidapi() {
-  cd $_pipname-$_pkgver
-
-  python setup.py install --root="$pkgdir" --optimize=1
-
-  install -Dm 755 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-  install -Dm 755 LICENSE-bsd.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE-bsd.txt
-  install -Dm 755 LICENSE-gpl3.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE-gpl3.txt
-  install -Dm 755 LICENSE-orig.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE-orig.txt
-}
-

Copied: python-hidapi/repos/community-x86_64/PKGBUILD (from rev 617059, python-hidapi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-04-20 17:12:51 UTC (rev 617060)
@@ -0,0 +1,36 @@
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Contributor: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Contributor: Andy Weidenbaum <archbaum at gmail.com>
+# Contributor: Kevin Azzam <arch at kevin.azz.am>
+
+pkgname=python-hidapi
+_pipname=hidapi
+pkgver=0.9.0.2
+_pkgver=${pkgver%.*}.post${pkgver##*.}
+pkgrel=3
+arch=('x86_64')
+pkgdesc="A Cython interface to the hidapi from signal11/hidapi"
+url="https://github.com/trezor/cython-hidapi"
+depends=('python')
+makedepends=('cython' 'python-setuptools' 'udev')
+license=('custom')
+source=(https://pypi.org/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$_pkgver.tar.gz)
+sha512sums=('9d0264280f978ee62664c5f1fa2dcdf1d02cb7d7ef7b08b3a7ed9768a2b6820bd124f71061fa97fe0a7b61bdf289e764c1db1178a581d9a9c029895f2fc75a30')
+
+build() {
+  cd "$_pipname-$_pkgver"
+
+  python setup.py build --without-libusb
+}
+
+package_python-hidapi() {
+  cd $_pipname-$_pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm 755 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+  install -Dm 755 LICENSE-bsd.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE-bsd.txt
+  install -Dm 755 LICENSE-gpl3.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE-gpl3.txt
+  install -Dm 755 LICENSE-orig.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE-orig.txt
+}
+



More information about the arch-commits mailing list