[arch-commits] Commit in python-zope-proxy/repos (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon Nov 9 20:12:53 UTC 2020
Date: Monday, November 9, 2020 @ 20:12:53
Author: foutrelis
Revision: 748149
archrelease: copy trunk to community-staging-x86_64
Added:
python-zope-proxy/repos/community-staging-x86_64/
python-zope-proxy/repos/community-staging-x86_64/PKGBUILD
(from rev 748148, python-zope-proxy/trunk/PKGBUILD)
----------+
PKGBUILD | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
Copied: python-zope-proxy/repos/community-staging-x86_64/PKGBUILD (from rev 748148, python-zope-proxy/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-11-09 20:12:53 UTC (rev 748149)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-zope-proxy
+pkgver=4.3.5
+pkgrel=2
+pkgdesc="Generic Transparent Proxies"
+arch=('x86_64')
+url="https://github.com/zopefoundation/zope.proxy"
+license=('ZPL')
+depends=('python-setuptools' 'python-zope-interface')
+checkdepends=('python-zope-security' 'python-zope-testrunner')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/zopefoundation/zope.proxy/archive/$pkgver.tar.gz")
+sha512sums=('08b48cd284b07ddbceebd689ca8c96c0e9ec3521c8984ab37443d2fb48f9ddcae415ce6cfcc2415f29016e1825c4f5178b90637961e265993731000d450debc9')
+
+build() {
+ cd "$srcdir"/zope.proxy-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir"/zope.proxy-$pkgver
+ PYTHONPATH="$PWD/build/lib.linux-$CARCH-3.9:$PYTHONPATH" python -m zope.testrunner --test-path=src
+}
+
+package() {
+ cd zope.proxy-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list