Date: Wednesday, April 5, 2023 @ 18:00:55
Author: felixonmars
Revision: 1437862
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 1437861, python-zope-proxy/trunk/PKGBUILD)
----------+
PKGBUILD | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
Copied: python-zope-proxy/repos/community-staging-x86_64/PKGBUILD (from rev
1437861, python-zope-proxy/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2023-04-05 18:00:55 UTC (rev 1437862)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-zope-proxy
+pkgver=5.0.0
+_commit=0d2b1e4585cddd22780d60422116ddbfa9de9b8c
+pkgrel=2
+pkgdesc="Generic Transparent Proxies"
+arch=('x86_64')
+url="https://github.com/zopefoundation/zope.proxy"
+license=('ZPL')
+depends=('python-setuptools' 'python-zope-interface')
+makedepends=('git')
+checkdepends=('python-zope-security' 'python-zope-testrunner')
+source=("git+https://github.com/zopefoundation/zope.proxy.git#commit=$_commit")
+sha512sums=('SKIP')
+
+build() {
+ cd zope.proxy
+ python setup.py build
+}
+
+check() {
+ cd zope.proxy
+ PYTHONPATH="$PWD/build/lib.linux-$CARCH-cpython-310:$PYTHONPATH" python -m
zope.testrunner --test-path=src
+}
+
+package() {
+ cd zope.proxy
+ python setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et: