summaryrefslogtreecommitdiff
path: root/user/py3-zope-interface/APKBUILD
blob: b1025e17cee84a3c59ec50fa3676d3de01c94f88 (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
35
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Contributor: zlg <zlg+adelie@zlg.space>
# Maintainer:
pkgname=py3-zope-interface
_pkgname=zope.interface
_p="${_pkgname#?}"
_p="${_pkgname%"$_p"}"
pkgver=4.6.0
pkgrel=0
pkgdesc="Separate distribution of the zope.interface package used in Zope"
url="https://zopeinterface.readthedocs.io"
arch="all"
license="ZPL-2.1"
depends="python3 py3-zope-event"
makedepends="python3-dev"
subpackages=""
source="https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cd "$builddir"
	python3 setup.py build
}

check() {
	cd "$builddir"
	python3 setup.py test
}

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

sha512sums="cb82144f0b228dd4d2f7cbfba130ee190265bf809d4e928262935c3b5551a3a298df4eba2dfe7ecde96fed27f39f59ab95e9c11f3eadf0fdc13f61b5c046f78f  zope.interface-4.6.0.tar.gz"