summaryrefslogtreecommitdiff
path: root/user/py3-zope-event/APKBUILD
blob: 391da22f7443e93f0b4956b75c15bad9afa48260 (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@gmail.com>
# Contributor: zlg <zlg+adelie@zlg.space>
# Maintainer:
pkgname=py3-zope-event
_pkgname=zope.event
pkgver=4.4
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-2.1"
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="653273d021a43dca6d77900a3e2928f1621fd9c47a536ddd186e00b601670a4ac72042a1eadf18cf9912609025b491cee41508e8eb53bf2dc2ada2c5d3d5bb70  zope.event-4.4.tar.gz"