From 9cfafeb76d5c0111e7df86a93c156f29fb65efad Mon Sep 17 00:00:00 2001 From: zlg Date: Wed, 2 Jan 2019 19:38:44 -0800 Subject: user/py3-zope-deferredimport: new package --- user/py3-zope-deferredimport/APKBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 user/py3-zope-deferredimport/APKBUILD (limited to 'user/py3-zope-deferredimport') diff --git a/user/py3-zope-deferredimport/APKBUILD b/user/py3-zope-deferredimport/APKBUILD new file mode 100644 index 000000000..c66f10723 --- /dev/null +++ b/user/py3-zope-deferredimport/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: zlg +# Maintainer: zlg +pkgname=py3-zope-deferredimport +_pkgname=zope.deferredimport +pkgver=4.3 +pkgrel=0 +pkgdesc="Zope module that allows for lazy module importing" +url="https://github.com/zopefoundation/zope.deferredimport" +arch="noarch" +options="!check" # needs zope.testrunner +license="ZPL-2.1" +depends="python3" +makedepends="python3-dev py3-zope-proxy" +subpackages="" +source="$_pkgname-$pkgver.tar.gz::https://github.com/zopefoundation/$_pkgname/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="0b62cf6caa7709dbb6b0ae85bf9c5e24909c79af57da8e3d081e69ff9f73fc60fbe5a83cdfe795551eeee3c045d3783a09cb3e6eb3964a44e6fbbea149ca3f8a py3-zope-deferredimport-4.3.tar.gz" -- cgit v1.2.3-70-g09d2