[arch-commits] Commit in (4 files)

Felix Yan fyan at archlinux.org
Mon Oct 5 08:22:44 UTC 2015


    Date: Monday, October 5, 2015 @ 10:22:44
  Author: fyan
Revision: 142962

addpkg: python-zope-event 4.0.3-1

Added:
  python-zope-event/
  python-zope-event/repos/
  python-zope-event/trunk/
  python-zope-event/trunk/PKGBUILD

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

Added: python-zope-event/trunk/PKGBUILD
===================================================================
--- python-zope-event/trunk/PKGBUILD	                        (rev 0)
+++ python-zope-event/trunk/PKGBUILD	2015-10-05 08:22:44 UTC (rev 142962)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Simon Hanna <simon dot hanna AT serve-me DOT info>
+
+pkgbase=python-zope-event
+pkgname=('python-zope-event' 'python2-zope-event')
+pkgver=4.0.3
+pkgrel=1
+pkgdesc="Provides a simple event system"
+arch=(any)
+license=('ZPL')
+url="https://github.com/zopefoundation/zope.event"
+makedepends=('python-setuptools' 'python2-setuptools')
+source=("https://github.com/zopefoundation/zope.event/archive/${pkgver}.tar.gz")
+sha256sums=('3dfa2ef09c891f378e05404521529f8e1333c75cdf9567a3454e3538ef7f3f02')
+makedepends=('python-setuptools' 'python2-setuptools')
+
+prepare() {
+  cp -a zope.event-${pkgver}{,-py2}
+}
+
+build() {
+  cd "${srcdir}/zope.event-${pkgver}"
+  python setup.py build
+
+  cd "${srcdir}/zope.event-${pkgver}-py2"
+  python2 setup.py build
+}
+
+check() {
+  cd "${srcdir}/zope.event-${pkgver}"
+  python setup.py test
+
+  cd "${srcdir}/zope.event-${pkgver}-py2"
+  python2 setup.py test
+}
+
+package_python-zope-event() {
+  depends=('python')
+  cd "$srcdir/zope.event-$pkgver"
+  python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+package_python2-zope-event() {
+  depends=('python2')
+  cd "$srcdir/zope.event-$pkgver"
+  python2 setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:


Property changes on: python-zope-event/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list