aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-zope-proxy/APKBUILD
blob: 5fc8b6652d4e1b1d1f7703981f8d4ddc05c69c4d (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
29
30
31
32
33
34
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org>
pkgname=py3-zope-proxy
_pkgname=zope.proxy
pkgver=4.3.4
pkgrel=0
pkgdesc="Generic transparent proxies via a C extension module"
options="!check" # Requires unpackaged zope.security and upper repo zope.testrunner
url="https://github.com/zopefoundation/$_pkgname"
arch="all"
license="ZPL-2.1"
depends="py3-setuptools py3-zope-interface"
makedepends="python3-dev"
checkdepends="py3-zope-testrunner"
source="$_pkgname-$pkgver.tar.gz::https://github.com/zopefoundation/$_pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-zope-proxy" # Backwards compatibility
provides="py-zope-proxy=$pkgver-r$pkgrel" # Backwards compatibility

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}


sha512sums="6517ee8b56948acbc608d7e9d7af06351a941c35294b8a70e8bed7a0f5e7811832d61ea6c6e506a36752aebbb12a51eb2b7539c9129fae041cce5efe8decb87a  zope.proxy-4.3.4.tar.gz"