[arch-commits] Commit in (4 files)
Felix Yan
fyan at archlinux.org
Tue Nov 3 05:55:54 UTC 2015
Date: Tuesday, November 3, 2015 @ 06:55:54
Author: fyan
Revision: 145718
addpkg: python-zope-hookable 4.0.4-1
Added:
python-zope-hookable/
python-zope-hookable/repos/
python-zope-hookable/trunk/
python-zope-hookable/trunk/PKGBUILD
----------+
PKGBUILD | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
Added: python-zope-hookable/trunk/PKGBUILD
===================================================================
--- python-zope-hookable/trunk/PKGBUILD (rev 0)
+++ python-zope-hookable/trunk/PKGBUILD 2015-11-03 05:55:54 UTC (rev 145718)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=('python-zope-hookable' 'python2-zope-hookable')
+pkgver=4.0.4
+pkgrel=1
+pkgdesc="Represents the core of the Zope hookable Architecture"
+arch=('i686' 'x86_64')
+url="https://github.com/zopefoundation/zope.hookable"
+license=('ZPL')
+makedepends=('python-setuptools' 'python2-setuptools' 'git')
+checkdepends=('python-nose' 'python2-nose')
+source=("git+https://github.com/zopefoundation/zope.hookable.git#tag=$pkgver")
+sha256sums=('SKIP')
+
+prepare() {
+ cp -a zope.hookable{,-py2}
+}
+
+build() {
+ cd "$srcdir/zope.hookable"
+ python setup.py build
+
+ cd "$srcdir/zope.hookable-py2"
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir/zope.hookable"
+ nosetests3
+
+ cd "$srcdir/zope.hookable-py2"
+ nosetests2
+}
+
+package_python-zope-hookable() {
+ depends=('python-setuptools')
+
+ cd "$srcdir/zope.hookable"
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python2-zope-hookable() {
+ depends=('python2-setuptools')
+
+ cd "$srcdir/zope.hookable"
+ python2 setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
Property changes on: python-zope-hookable/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
More information about the arch-commits
mailing list