aboutsummaryrefslogtreecommitdiffstats
path: root/testing/py-venusian
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-04-04 01:21:04 +0300
committerprspkt <prspkt@protonmail.com>2019-04-04 01:22:52 +0300
commitf80e4cacbf5bb721742e1971c50411fe9f8a757b (patch)
treeffcba9640e790a892b0932cb54236cf664d44b7e /testing/py-venusian
parentfef42d505158a6f8a2950549c51463531ad5ecbe (diff)
downloadaports-f80e4cacbf5bb721742e1971c50411fe9f8a757b.tar.bz2
aports-f80e4cacbf5bb721742e1971c50411fe9f8a757b.tar.xz
testing/py-venusian: clarify license, modernize
Diffstat (limited to 'testing/py-venusian')
-rw-r--r--testing/py-venusian/APKBUILD16
1 files changed, 2 insertions, 14 deletions
diff --git a/testing/py-venusian/APKBUILD b/testing/py-venusian/APKBUILD
index 5e75bdabb1..2d5fbfb30b 100644
--- a/testing/py-venusian/APKBUILD
+++ b/testing/py-venusian/APKBUILD
@@ -7,24 +7,12 @@ pkgrel=0
pkgdesc="A Python library for deferring decorator actions"
url="https://pypi.python.org/pypi/venusian"
arch="noarch"
-license="BSD"
-depends_dev=""
+license="BSD-4-Clause"
makedepends="python2-dev python3-dev py-setuptools"
checkdepends="pytest"
-install=""
subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
-
-_builddir="$srcdir"/$_pkgname-$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
-}
+builddir="$srcdir"/$_pkgname-$pkgver
build() {
cd "$builddir"