From e077be0943a5b6e25f206ef7c18650a50a6e1383 Mon Sep 17 00:00:00 2001 From: zlg Date: Wed, 21 Nov 2018 03:14:10 -0800 Subject: user/py3-zope-component: new package --- user/py3-zope-component/APKBUILD | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 user/py3-zope-component/APKBUILD (limited to 'user/py3-zope-component') diff --git a/user/py3-zope-component/APKBUILD b/user/py3-zope-component/APKBUILD new file mode 100644 index 000000000..0514e4843 --- /dev/null +++ b/user/py3-zope-component/APKBUILD @@ -0,0 +1,29 @@ +# Contributor: Fabian Affolter +# Maintainer: zlg +pkgname=py3-zope-component +_pkgname=zope.component +pkgver=4.4.1 +pkgrel=0 +pkgdesc="Zope Component Architecture" +url="https://pypi.python.org/pypi/zope.component" +arch="noarch" +options="!check" # needs nose +license="ZPL-2.1" +depends="python3 py3-zope-interface py3-zope-event" +makedepends="python3-dev" +install="" +subpackages="" +source="$_pkgname-$pkgver.tar.gz::https://github.com/zopefoundation/zope.component/archive/$pkgver.tar.gz" +builddir="$srcdir"/$_pkgname-$pkgver + +build() { + cd "$builddir" + python3 setup.py build +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="ae49b2663403ee6af53b580a8cdf973d69800f2451e6de3181bf742fa33cd5fcf1f98fd01ab92ea22a816fcd1678030555bff903070309df935921c9c77f82ec zope.component-4.4.1.tar.gz" -- cgit v1.2.3-70-g09d2