Date: Wednesday, April 5, 2023 @ 18:05:08
Author: felixonmars
Revision: 472661
archrelease: copy trunk to staging-any
Added:
python-six/repos/staging-any/
python-six/repos/staging-any/PKGBUILD
(from rev 472660, python-six/trunk/PKGBUILD)
----------+
PKGBUILD | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
Copied: python-six/repos/staging-any/PKGBUILD (from rev 472660,
python-six/trunk/PKGBUILD)
===================================================================
--- staging-any/PKGBUILD (rev 0)
+++ staging-any/PKGBUILD 2023-04-05 18:05:08 UTC (rev 472661)
@@ -0,0 +1,27 @@
+# Maintainer: Felix Yan <[email protected]>
+# Contributor: Jelle van der Waa <[email protected]>
+# Contributer: Allan McRae <[email protected]>
+
+pkgname=python-six
+pkgver=1.16.0
+pkgrel=7
+pkgdesc="Python 2 and 3 compatibility utilities"
+arch=('any')
+url="https://pypi.python.org/pypi/six/"
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'tk')
+source=("https://pypi.io/packages/source/s/six/six-$pkgver.tar.gz")
+sha512sums=('076fe31c8f03b0b52ff44346759c7dc8317da0972403b84dfe5898179f55acdba6c78827e0f8a53ff20afe8b76432c6fe0d655a75c24259d9acbaa4d9e8015c0')
+
+check() {
+ cd six-$pkgver
+ python -m pytest
+}
+
+package() {
+ cd six-$pkgver
+ python setup.py install --root "$pkgdir" --optimize=1
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}