aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-zope-event/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-09-07 07:09:33 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-09-07 07:17:30 -0300
commit05ed2cee683f8e139b4c64c2c3f05ac54b497537 (patch)
treed8a8aa707b80e81fb54244b5867cb7aa44bcea11 /community/py-zope-event/APKBUILD
parente5506c4bd3967aeeee948d38de24691727db0f20 (diff)
downloadaports-05ed2cee683f8e139b4c64c2c3f05ac54b497537.tar.bz2
aports-05ed2cee683f8e139b4c64c2c3f05ac54b497537.tar.xz
community/py3-zope-event: rename from py-zope-event
Diffstat (limited to 'community/py-zope-event/APKBUILD')
-rw-r--r--community/py-zope-event/APKBUILD53
1 files changed, 0 insertions, 53 deletions
diff --git a/community/py-zope-event/APKBUILD b/community/py-zope-event/APKBUILD
deleted file mode 100644
index fdf6fe13af..0000000000
--- a/community/py-zope-event/APKBUILD
+++ /dev/null
@@ -1,53 +0,0 @@
-# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
-# Maintainer: Carlo Landmeter <clandmeter@alpinelinux.org>
-pkgname=py-zope-event
-pkgver=4.4
-pkgrel=2
-pkgdesc="Event publishing / dispatch, used by Zope Component Architecture"
-url="https://github.com/zopefoundation/zope.event"
-arch="noarch"
-license="ZPL-2.1"
-depends="py-setuptools"
-makedepends="python2-dev python3-dev"
-subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3"
-source="zope.event-$pkgver.tar.gz::https://github.com/zopefoundation/zope.event/archive/$pkgver.tar.gz"
-
-builddir="$srcdir"/zope.event-$pkgver
-
-build() {
- python2 setup.py build
- python3 setup.py build
-}
-
-check() {
- python2 setup.py test
- python3 setup.py test
-}
-
-package() {
- mkdir -p "$pkgdir"
-}
-
-_py2() {
- replaces="$pkgname"
- depends="${depends//py-/py2-}"
- _py python2
-}
-
-_py3() {
- depends="${depends//py-/py3-}"
- _py python3
-}
-
-_py() {
- local python="$1"
- pkgdesc="$pkgdesc (for $python)"
- depends="$depends $python"
- install_if="$pkgname=$pkgver-r$pkgrel $python"
-
- cd "$builddir"
- $python setup.py install --prefix=/usr --root="$subpkgdir"
-}
-
-
-sha512sums="653273d021a43dca6d77900a3e2928f1621fd9c47a536ddd186e00b601670a4ac72042a1eadf18cf9912609025b491cee41508e8eb53bf2dc2ada2c5d3d5bb70 zope.event-4.4.tar.gz"