aboutsummaryrefslogblamecommitdiffstats
path: root/community/py-zope-event/APKBUILD
blob: 736989f3f950d74b313264411d5e3a24f56884a4 (plain) (tree)
1
2
3
4


                                                     
            
































                                                                                                       


                                                                                                                                                                      
# 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"
	python setup.py build || return 1
}

package() {
	cd "$_builddir"
	python 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"