aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-zope-event/APKBUILD
blob: f7e4ffb03c2817b20293275c3e7feb2c1b929055 (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.2.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"
	python2 setup.py build || return 1
}

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

md5sums="c8d79db625d5411c4777b7ca87b718a6  zope.event-4.2.0.tar.gz"
sha256sums="20b0a3abe0dadfac853f9922287e598cce8f73b9dcfd68c10aaf6f897d0dfd7f  zope.event-4.2.0.tar.gz"
sha512sums="d2bf195c6e74c4a043b4013ad6c1d39e104470a383096b42837197c1639ae18ebdc25e06c2f09a44c0014f046a2f7cc72584820efbed66c9e45cd94bb2b1c81e  zope.event-4.2.0.tar.gz"