[arch-commits] Commit in python-hidapi/repos/community-x86_64 (PKGBUILD PKGBUILD)
Morten Linderud
foxboron at archlinux.org
Wed Jun 24 20:29:58 UTC 2020
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
===================================================================
--- PKGBUILD 2020-06-24 20:29:48 UTC (rev 652463)
+++ PKGBUILD 2020-06-24 20:29:57 UTC (rev 652464)
@@ -1,38 +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=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)
+++ PKGBUILD 2020-06-24 20:29:57 UTC (rev 652464)
@@ -0,0 +1,38 @@
+# 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.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
+}
+
More information about the arch-commits
mailing list