aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-zope-event/APKBUILD
blob: 5b16cad0fa446a5cacd44ec50b67102cf91457af (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
34
35
36
37
38
39
40
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=py-zope-event
pkgver=4.1.0
pkgrel=0
pkgdesc="Event publishing / dispatch, used by Zope Component Architecture"
url="https://github.com/zopefoundation/zope.event"
arch="noarch"
license="ZPL"
depends=""
depends_dev=""
makedepends="$depends_dev py-setuptools"
install=""
subpackages=""
source="zope.event-$pkgver.tar.gz::https://github.com/zopefoundation/zope.event/archive/$pkgver.tar.gz"

_builddir="$srcdir"/zope.event-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python setup.py install --prefix=/usr --root="$pkgdir" || return 1
}

md5sums="9636c75fb1c6bfef793ef4ece25291b5  zope.event-4.1.0.tar.gz"
sha256sums="a85cb6fd0e48e1147061eb0ecab57b9cc90f4c3b5609d63e5694a2d8de28ef47  zope.event-4.1.0.tar.gz"
sha512sums="8a6dd253e65d76f91be6a4a006c63701a7a3a83a1341c67547cd294387a7b1b25f0d50fbd3fcc7c94d5bd49579534174837045e09823f8fdd6c35a5cff70e0e1  zope.event-4.1.0.tar.gz"