[arch-commits] Commit in python-zope-security/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sat Dec 24 16:23:01 UTC 2016
Date: Saturday, December 24, 2016 @ 16:23:01
Author: felixonmars
Revision: 201546
archrelease: copy trunk to community-staging-x86_64
Added:
python-zope-security/repos/community-staging-x86_64/
python-zope-security/repos/community-staging-x86_64/PKGBUILD
(from rev 201545, python-zope-security/trunk/PKGBUILD)
----------+
PKGBUILD | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+)
Copied: python-zope-security/repos/community-staging-x86_64/PKGBUILD (from rev 201545, python-zope-security/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2016-12-24 16:23:01 UTC (rev 201546)
@@ -0,0 +1,58 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=('python-zope-security' 'python2-zope-security')
+pkgver=4.0.3
+pkgrel=3
+pkgdesc="Zope Security Framework"
+arch=('i686' 'x86_64')
+url="https://github.com/zopefoundation/zope.security"
+license=('ZPL')
+makedepends=('python-setuptools' 'python2-setuptools' 'python-zope-interface'
+ 'python2-zope-interface' 'python-zope-component' 'python2-zope-component'
+ 'python-zope-i18nmessageid' 'python2-zope-i18nmessageid' 'python-zope-location'
+ 'python2-zope-location' 'python-zope-proxy' 'python2-zope-proxy'
+ 'python-zope-schema' 'python2-zope-schema' 'git')
+checkdepends=('python-nose' 'python2-nose' 'python-zope-configuration' 'python2-zope-configuration'
+ 'python-zope-testing' 'python2-zope-testing' 'python-zope-testrunner'
+ 'python2-zope-testrunner')
+source=("git+https://github.com/zopefoundation/zope.security.git#tag=$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+ cp -a zope.security{,-py2}
+}
+
+build() {
+ cd "$srcdir/zope.security"
+ python setup.py build
+
+ cd "$srcdir/zope.security-py2"
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir/zope.security"
+ python setup.py test
+
+ cd "$srcdir/zope.security-py2"
+ python2 setup.py test
+}
+
+package_python-zope-security() {
+ depends=('python-setuptools' 'python-zope-component' 'python-zope-i18nmessageid'
+ 'python-zope-interface' 'python-zope-location' 'python-zope-proxy' 'python-zope-schema')
+
+ cd "$srcdir/zope.security"
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python2-zope-security() {
+ depends=('python2-setuptools' 'python2-zope-component' 'python2-zope-i18nmessageid'
+ 'python2-zope-interface' 'python2-zope-location' 'python2-zope-proxy' 'python2-zope-schema')
+
+ cd "$srcdir/zope.security-py2"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list