Date: Thursday, April 6, 2023 @ 12:34:25
Author: felixonmars
Revision: 1438677
archrelease: copy trunk to community-staging-any
Added:
python-flufl.testing/repos/community-staging-any/
python-flufl.testing/repos/community-staging-any/PKGBUILD
(from rev 1438673, python-flufl.testing/trunk/PKGBUILD)
python-flufl.testing/repos/community-staging-any/keys/
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: python-flufl.testing/repos/community-staging-any/PKGBUILD (from rev
1438673, python-flufl.testing/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2023-04-06 12:34:25 UTC (rev 1438677)
@@ -0,0 +1,34 @@
+# Maintainer: David Runge <[email protected]>
+
+_name=flufl.testing
+pkgname=python-flufl.testing
+pkgver=0.8
+pkgrel=6
+pkgdesc="Random collection of testing helpers"
+arch=('any')
+url="https://gitlab.com/warsaw/flufl.testing"
+license=('Apache')
+depends=('python')
+makedepends=('python-setuptools')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"{,.asc})
+sha512sums=('edf491db72cccafef58e08b810e4c29962d14716cda3318a892a3ca36095b95477e7564aa4fe8eb4f3bd7cd9e7896f82282dd2d3a67900932848f1dc265cea61'
+ 'SKIP')
+validpgpkeys=('8417157EDBE73D9EAC1E539B126EB563A74B06BF') # Barry Warsaw
<[email protected]>
+
+prepare() {
+ mv -v "${_name}-${pkgver}" "$pkgname-$pkgver"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ python setup.py build
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --prefix=/usr \
+ --root="${pkgdir}"
+ install -vDm 644 {NEWS,README}.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}