[arch-commits] Commit in python-zope-security/repos (4 files)
Felix Yan
fyan at archlinux.org
Tue Nov 3 09:15:44 UTC 2015
Date: Tuesday, November 3, 2015 @ 10:15:43
Author: fyan
Revision: 145771
archrelease: copy trunk to community-i686, community-x86_64
Added:
python-zope-security/repos/community-i686/
python-zope-security/repos/community-i686/PKGBUILD
(from rev 145770, python-zope-security/trunk/PKGBUILD)
python-zope-security/repos/community-x86_64/
python-zope-security/repos/community-x86_64/PKGBUILD
(from rev 145770, python-zope-security/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 56 ++++++++++++++++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 56 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 112 insertions(+)
Copied: python-zope-security/repos/community-i686/PKGBUILD (from rev 145770, python-zope-security/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-11-03 09:15:43 UTC (rev 145771)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=('python-zope-security' 'python2-zope-security')
+pkgver=4.0.3
+pkgrel=1
+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')
+
+ cd "$srcdir/zope.security"
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python2-zope-security() {
+ depends=('python2-setuptools')
+
+ cd "$srcdir/zope.security-py2"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
Copied: python-zope-security/repos/community-x86_64/PKGBUILD (from rev 145770, python-zope-security/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2015-11-03 09:15:43 UTC (rev 145771)
@@ -0,0 +1,56 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=('python-zope-security' 'python2-zope-security')
+pkgver=4.0.3
+pkgrel=1
+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')
+
+ cd "$srcdir/zope.security"
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python2-zope-security() {
+ depends=('python2-setuptools')
+
+ 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