summaryrefslogtreecommitdiff
path: root/user/py3-zope-event/APKBUILD
blob: 7e8591cea95d78d4e12ce6e72fdc4af0c9892685 (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
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer: zlg <zlg+adelie@zlg.space>
pkgname=py3-zope-event
_pkgname=zope.event
pkgver=4.3.0
pkgrel=0
pkgdesc="Event publishing / dispatch, used by Zope Component Architecture"
url="https://github.com/zopefoundation/zope.event"
arch="noarch"
options="!check" # needs nose
license="ZPL"
depends="python3"
makedepends="python3-dev"
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
}

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

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

sha512sums="7c42074023f56395156ef7bb120b00972dca8dfa2c80dd0387cb6f58b22380e34f8a2bf7b2fe717941cbcf1997e1aaea9f500f124fceb1c664c90e6c55150ffa  zope.event-4.3.0.tar.gz"