Date: Thursday, April 6, 2023 @ 15:06:57
  Author: felixonmars
Revision: 1439397

archrelease: copy trunk to community-staging-any

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

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

Copied: python-hid/repos/community-staging-any/PKGBUILD (from rev 1439394, 
python-hid/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-06 15:06:57 UTC (rev 1439397)
@@ -0,0 +1,26 @@
+# Maintainer: Morten Linderud <[email protected]>
+# Contributor: Thomas Weißschuh <thomas t-8ch de>
+
+pkgname=python-hid
+pkgver=1.0.4
+pkgrel=8
+_pkgname=${pkgname#python-}
+pkgdesc="Python hidapi bindings in ctypes (aka pyhidapi)"
+arch=(any)
+url="https://github.com/apmorton/pyhidapi";
+license=(MIT)
+depends=(hidapi python)
+conflicts=(python-hidapi)
+makedepends=(python-setuptools)
+source=("$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname::1}/$_pkgname/$_pkgname-$pkgver.tar.gz";)
+sha256sums=('f61b0382f37a334bc8ba8604bc84b94875ee4f594fbbaf82b2c3b3e827883fc1')
+
+build() {
+  cd "$_pkgname-$pkgver"
+  python setup.py build
+}
+
+package() {
+  cd "$_pkgname-$pkgver"
+  python setup.py install --skip-build -O1 --root="$pkgdir"
+}

Reply via email to