[arch-commits] Commit in python-zope-proxy/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Wed Jul 18 01:46:05 UTC 2018


    Date: Wednesday, July 18, 2018 @ 01:46:04
  Author: foutrelis
Revision: 361202

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 361201, python-zope-proxy/trunk/PKGBUILD)

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

Copied: python-zope-proxy/repos/community-staging-x86_64/PKGBUILD (from rev 361201, python-zope-proxy/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2018-07-18 01:46:04 UTC (rev 361202)
@@ -0,0 +1,52 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgbase=python-zope-proxy
+pkgname=('python-zope-proxy' 'python2-zope-proxy')
+pkgver=4.3.0
+pkgrel=2
+pkgdesc="Generic Transparent Proxies"
+arch=('x86_64')
+url="https://github.com/zopefoundation/zope.proxy"
+license=('ZPL')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-zope-interface'
+             'python2-zope-interface')
+checkdepends=('python-zope-security' 'python2-zope-security')
+source=("$pkgbase-$pkgver.tar.gz::https://github.com/zopefoundation/zope.proxy/archive/$pkgver.tar.gz")
+sha512sums=('8b0b2e22c750447a1e0c019fe3d7f2061e80cc1ac7fb698c3b0100d9023b4124c394e75f224261ad970f4eec991aac9283060f82dbb07ac7a765cfdb7e6d1821')
+
+prepare() {
+  cp -a zope.proxy-$pkgver{,-py2}
+}
+
+build() {
+  cd "$srcdir"/zope.proxy-$pkgver
+  python setup.py build
+
+  cd "$srcdir"/zope.proxy-$pkgver-py2
+  python2 setup.py build
+}
+
+check() {
+  cd "$srcdir"/zope.proxy-$pkgver
+  python setup.py test || :
+
+  cd "$srcdir"/zope.proxy-$pkgver-py2
+  python2 setup.py test
+}
+
+package_python-zope-proxy() {
+  depends=('python-setuptools' 'python-zope-interface')
+
+  cd zope.proxy-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}
+
+package_python2-zope-proxy() {
+  depends=('python2-setuptools' 'python2-zope-interface')
+
+  cd zope.proxy-$pkgver
+  python2 setup.py install --root="$pkgdir" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list