summaryrefslogtreecommitdiff
path: root/user/py3-zope-deferredimport/APKBUILD
blob: f93a4d6116deb2087b99565858e7779f05f3b36d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Contributor: zlg <zlg+adelie@zlg.space>
# Maintainer: zlg <zlg+adelie@zlg.space>
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  zope.deferredimport-4.3.tar.gz"