Date: Thursday, April 6, 2023 @ 13:57:44
  Author: felixonmars
Revision: 1439070

archrelease: copy trunk to community-staging-any

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

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

Copied: python-libusb1/repos/community-staging-any/PKGBUILD (from rev 1439064, 
python-libusb1/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD                              (rev 0)
+++ community-staging-any/PKGBUILD      2023-04-06 13:57:44 UTC (rev 1439070)
@@ -0,0 +1,28 @@
+# Maintainer: Filipe LaĆ­ns (FFY00) <[email protected]>
+
+_pkgname=libusb1
+pkgname=python-$_pkgname
+pkgver=3.0.0
+pkgrel=2
+pkgdesc='Python ctype-based wrapper around libusb1'
+arch=('any')
+url='https://github.com/vpelletier/python-libusb1'
+license=('LGPL2.1')
+depends=('python' 'libusb')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('7812dc4a22fc277f9791fb7050aa0a9c3953d1d3b386bb848380026a036a09bdff7745163eab07f5b70f919cb45ea4cd14f212f9e065dee670afee97a458de9d')
+
+build() {
+  cd $pkgname-$pkgver
+
+  python -m build -nw
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  python -m installer -d "$pkgdir" dist/*.whl
+}
+
+# vim:set ts=2 sw=2 et:

Reply via email to