[arch-commits] Commit in python-libusb1/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Thu Nov 12 19:18:37 UTC 2020
Date: Thursday, November 12, 2020 @ 19:18:37
Author: felixonmars
Revision: 753416
archrelease: copy trunk to community-staging-any
Added:
python-libusb1/repos/community-staging-any/
python-libusb1/repos/community-staging-any/PKGBUILD
(from rev 753415, python-libusb1/trunk/PKGBUILD)
----------+
PKGBUILD | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)
Copied: python-libusb1/repos/community-staging-any/PKGBUILD (from rev 753415, python-libusb1/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2020-11-12 19:18:37 UTC (rev 753416)
@@ -0,0 +1,28 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=libusb1
+pkgname=python-$_pkgname
+pkgver=1.8
+pkgrel=3
+pkgdesc='Python ctype-based wrapper around libusb1'
+arch=('any')
+url='https://github.com/vpelletier/python-libusb1'
+license=('LGPL2.1')
+depends=('python' 'libusb')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('2ab63ac4ce571812e5d1b15aff33728a19427051577c53b6eac6d53d53445be25a8abbd79ac71e4362405e31f0c76fc7b5f6fdc893debd5aa9de319e83d57664')
+
+build() {
+ cd $pkgname-$pkgver
+
+ python setup.py build
+}
+
+package() {
+ cd $pkgname-$pkgver
+
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list