aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-zope-hookable/APKBUILD
blob: b044b7d72f16a79a5ab3ff62633e3cc4be230f76 (plain)
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
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org>
pkgname=py3-zope-hookable
_pkgname=zope.hookable
pkgver=5.0.1
pkgrel=0
pkgdesc="Represents the core of the Zope hookable Architecture"
url="https://github.com/zopefoundation/$_pkgname"
arch="all"
license="ZPL-2.1"
depends="py3-setuptools"
makedepends="python3-dev"
# checkdepends="py3-zope-testing" # Is in upper repo 'testing'
source="$_pkgname-$pkgver.tar.gz::https://github.com/zopefoundation/$_pkgname/archive/$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver

replaces="py-zope-hookable" # Backwards compatibility
provides="py-zope-hookable=$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="7bb2fce111ff4719f755891e0a544e1c2f6ac238ca8ca602ab3f6113d5690308f681c489801fd6cb8cc75812220ff7f937c76ef70c120ac9c67fb15bf2d3b3bc  zope.hookable-5.0.1.tar.gz"