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

2020-06-24 Thread Morten Linderud via arch-commits
Date: Wednesday, June 24, 2020 @ 20:29:57
  Author: foxboron
Revision: 652464

archrelease: copy trunk to community-x86_64

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

--+
 PKGBUILD |   76 ++---
 1 file changed, 38 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===
--- PKGBUILD2020-06-24 20:29:48 UTC (rev 652463)
+++ PKGBUILD2020-06-24 20:29:57 UTC (rev 652464)
@@ -1,38 +0,0 @@
-# Maintainer: Morten Linderud 
-# Contributor: Timothy Redaelli 
-# Contributor: Andy Weidenbaum 
-# Contributor: Kevin Azzam 
-
-pkgname=python-hidapi
-_pipname=hidapi
-pkgver=0.9.0.2
-_pkgver=${pkgver%.*}.post${pkgver##*.}
-pkgrel=4
-arch=('x86_64')
-pkgdesc="A Cython interface to the hidapi from signal11/hidapi"
-url="https://github.com/trezor/cython-hidapi;
-depends=('python' 'hidapi')
-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 --with-system-hidapi
-}
-
-package_python-hidapi() {
-  cd $_pipname-$_pkgver
-
-  python setup.py install --root="$pkgdir" --optimize=1 --skip-build \
---without-libusb --with-system-hidapi
-
-  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 652463, 
python-hidapi/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-06-24 20:29:57 UTC (rev 652464)
@@ -0,0 +1,38 @@
+# Maintainer: Morten Linderud 
+# Contributor: Timothy Redaelli 
+# Contributor: Andy Weidenbaum 
+# Contributor: Kevin Azzam 
+
+pkgname=python-hidapi
+_pipname=hidapi
+pkgver=0.9.0.3
+_pkgver=${pkgver%.*}.post${pkgver##*.}
+pkgrel=4
+arch=('x86_64')
+pkgdesc="A Cython interface to the hidapi from signal11/hidapi"
+url="https://github.com/trezor/cython-hidapi;
+depends=('python' 'hidapi')
+makedepends=('cython' 'python-setuptools' 'udev')
+license=('custom')
+source=(https://pypi.org/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$_pkgver.tar.gz)
+sha512sums=('606540833459e615a8e50ff3a2c59362dab7d19d42d5e9dc2288c8c8d32e3df7214e758a9814e7de6d26bbdccd76ccf6c652b0bf8ac5b3f46124a9a7b007b971')
+
+build() {
+  cd "$_pipname-$_pkgver"
+
+  python setup.py build \
+--without-libusb --with-system-hidapi
+}
+
+package_python-hidapi() {
+  cd $_pipname-$_pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build \
+--without-libusb --with-system-hidapi
+
+  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
+}
+


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

2020-04-24 Thread Filipe Laíns via arch-commits
Date: Saturday, April 25, 2020 @ 00:09:09
  Author: ffy00
Revision: 619636

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2020-04-25 00:08:57 UTC (rev 619635)
+++ PKGBUILD2020-04-25 00:09:09 UTC (rev 619636)
@@ -1,36 +0,0 @@
-# Maintainer: Morten Linderud 
-# Contributor: Timothy Redaelli 
-# Contributor: Andy Weidenbaum 
-# Contributor: Kevin Azzam 
-
-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
-}
-

Copied: python-hidapi/repos/community-x86_64/PKGBUILD (from rev 619635, 
python-hidapi/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-04-25 00:09:09 UTC (rev 619636)
@@ -0,0 +1,38 @@
+# Maintainer: Morten Linderud 
+# Contributor: Timothy Redaelli 
+# Contributor: Andy Weidenbaum 
+# Contributor: Kevin Azzam 
+
+pkgname=python-hidapi
+_pipname=hidapi
+pkgver=0.9.0.2
+_pkgver=${pkgver%.*}.post${pkgver##*.}
+pkgrel=4
+arch=('x86_64')
+pkgdesc="A Cython interface to the hidapi from signal11/hidapi"
+url="https://github.com/trezor/cython-hidapi;
+depends=('python' 'hidapi')
+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 --with-system-hidapi
+}
+
+package_python-hidapi() {
+  cd $_pipname-$_pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build \
+--without-libusb --with-system-hidapi
+
+  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
+}
+


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

2020-04-20 Thread Filipe Laíns via arch-commits
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
===
--- PKGBUILD2020-04-20 17:12:42 UTC (rev 617059)
+++ PKGBUILD2020-04-20 17:12:51 UTC (rev 617060)
@@ -1,36 +0,0 @@
-# Maintainer: Morten Linderud 
-# Contributor: Timothy Redaelli 
-# Contributor: Andy Weidenbaum 
-# Contributor: Kevin Azzam 
-
-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)
+++ PKGBUILD2020-04-20 17:12:51 UTC (rev 617060)
@@ -0,0 +1,36 @@
+# Maintainer: Morten Linderud 
+# Contributor: Timothy Redaelli 
+# Contributor: Andy Weidenbaum 
+# Contributor: Kevin Azzam 
+
+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
+}
+


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

2020-04-18 Thread Filipe Laíns via arch-commits
Date: Saturday, April 18, 2020 @ 13:45:11
  Author: ffy00
Revision: 616071

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2020-04-18 13:44:57 UTC (rev 616070)
+++ PKGBUILD2020-04-18 13:45:11 UTC (rev 616071)
@@ -1,36 +0,0 @@
-# Maintainer: Morten Linderud 
-# Contributor: Timothy Redaelli 
-# Contributor: Andy Weidenbaum 
-# Contributor: Kevin Azzam 
-
-pkgname=python-hidapi
-_pipname=hidapi
-pkgver=0.9.0.2
-_pkgver=${pkgver%.*}.post${pkgver##*.}
-pkgrel=1
-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
-}
-
-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 616070, 
python-hidapi/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-04-18 13:45:11 UTC (rev 616071)
@@ -0,0 +1,36 @@
+# Maintainer: Morten Linderud 
+# Contributor: Timothy Redaelli 
+# Contributor: Andy Weidenbaum 
+# Contributor: Kevin Azzam 
+
+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
+}
+


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

2020-02-09 Thread Morten Linderud via arch-commits
Date: Sunday, February 9, 2020 @ 21:59:49
  Author: foxboron
Revision: 565572

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2020-02-09 21:59:41 UTC (rev 565571)
+++ PKGBUILD2020-02-09 21:59:49 UTC (rev 565572)
@@ -1,36 +0,0 @@
-# Maintainer: Morten Linderud 
-# Contributor: Timothy Redaelli 
-# Contributor: Andy Weidenbaum 
-# Contributor: Kevin Azzam 
-
-pkgname=python-hidapi
-_pipname=hidapi
-pkgver=0.9.0.1
-_pkgver=${pkgver%.*}.post${pkgver##*.}
-pkgrel=1
-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=('2fd6526406ebb787cacf09fac84e4660c61024ba9e3f9d277067ce016873e497ae79755d5f7fc699d32212c333e228095488ce25d526db93746aa00333ff5303')
-
-build() {
-  cd "$_pipname-$_pkgver"
-
-  python setup.py build
-}
-
-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 565571, 
python-hidapi/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-02-09 21:59:49 UTC (rev 565572)
@@ -0,0 +1,36 @@
+# Maintainer: Morten Linderud 
+# Contributor: Timothy Redaelli 
+# Contributor: Andy Weidenbaum 
+# Contributor: Kevin Azzam 
+
+pkgname=python-hidapi
+_pipname=hidapi
+pkgver=0.9.0.2
+_pkgver=${pkgver%.*}.post${pkgver##*.}
+pkgrel=1
+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
+}
+
+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
+}
+


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

2020-02-03 Thread Morten Linderud via arch-commits
Date: Monday, February 3, 2020 @ 21:19:31
  Author: foxboron
Revision: 561990

archrelease: copy trunk to community-x86_64

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

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

Deleted: PKGBUILD
===
--- PKGBUILD2020-02-03 21:19:24 UTC (rev 561989)
+++ PKGBUILD2020-02-03 21:19:31 UTC (rev 561990)
@@ -1,49 +0,0 @@
-# Maintainer: Timothy Redaelli 
-# Contributor: Andy Weidenbaum 
-# Contributor: Kevin Azzam 
-
-pkgbase=python-hidapi
-pkgname=('python-hidapi' 'python2-hidapi')
-_pipname=hidapi
-pkgver=0.7.99.21
-_pkgver=${pkgver%.*}.post${pkgver##*.}
-pkgrel=4
-pkgdesc="A Cython interface to the hidapi from signal11/hidapi"
-arch=('x86_64')
-makedepends=('cython2' 'python2-setuptools' 'cython' 'python-setuptools' 
'libusb' 'udev')
-url="https://github.com/trezor/cython-hidapi;
-license=('custom')
-source=(https://pypi.org/packages/source/${_pipname:0:1}/$_pipname/$_pipname-$_pkgver.tar.gz)
-sha256sums=('e0be1aa6566979266a8fc845ab0e18613f4918cf2c977fe67050f5dc7e2a9a97')
-
-
-prepare() {
-  cp -R $_pipname-$_pkgver python2-$_pipname-$_pkgver
-}
-
-build() {
-  cd "$_pipname-$_pkgver"
-  python setup.py build
-
-  cd "../python2-$_pipname-$_pkgver"
-  python2 setup.py build
-}
-
-
-package_python-hidapi() {
-  depends=('libusb' 'python')
-  cd $_pipname-$_pkgver
-  python setup.py install --root="$pkgdir/" --optimize=1
-
-  install -dm 755 "$pkgdir/usr/share/licenses/$pkgname"
-  echo "You are free to use cython-hidapi code for any purpose." > 
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-package_python2-hidapi() {
-  depends=('libusb' 'python2')
-  cd "python2-$_pipname-$_pkgver"
-  python2 setup.py install --root="$pkgdir" --optimize=1
-
-  install -dm 755 "$pkgdir/usr/share/licenses/$pkgname"
-  echo "You are free to use cython-hidapi code for any purpose." > 
"$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: python-hidapi/repos/community-x86_64/PKGBUILD (from rev 561989, 
python-hidapi/trunk/PKGBUILD)
===
--- PKGBUILD(rev 0)
+++ PKGBUILD2020-02-03 21:19:31 UTC (rev 561990)
@@ -0,0 +1,36 @@
+# Maintainer: Morten Linderud 
+# Contributor: Timothy Redaelli 
+# Contributor: Andy Weidenbaum 
+# Contributor: Kevin Azzam 
+
+pkgname=python-hidapi
+_pipname=hidapi
+pkgver=0.9.0.1
+_pkgver=${pkgver%.*}.post${pkgver##*.}
+pkgrel=1
+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=('2fd6526406ebb787cacf09fac84e4660c61024ba9e3f9d277067ce016873e497ae79755d5f7fc699d32212c333e228095488ce25d526db93746aa00333ff5303')
+
+build() {
+  cd "$_pipname-$_pkgver"
+
+  python setup.py build
+}
+
+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
+}
+