[arch-commits] Commit in (4 files)

David Runge dvzrv at archlinux.org
Sat Jan 11 19:24:19 UTC 2020


    Date: Saturday, January 11, 2020 @ 19:24:18
  Author: dvzrv
Revision: 552093

Adding python-flufl.testing as checkdepends for mailman3.

Added:
  python-flufl.testing/
  python-flufl.testing/repos/
  python-flufl.testing/trunk/
  python-flufl.testing/trunk/PKGBUILD

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

Added: python-flufl.testing/trunk/PKGBUILD
===================================================================
--- python-flufl.testing/trunk/PKGBUILD	                        (rev 0)
+++ python-flufl.testing/trunk/PKGBUILD	2020-01-11 19:24:18 UTC (rev 552093)
@@ -0,0 +1,34 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=flufl.testing
+pkgname=python-flufl.testing
+pkgver=0.8
+pkgrel=1
+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 <barry at warsaw.us>
+
+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}"
+}



More information about the arch-commits mailing list