diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-06-23 16:10:21 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-06-23 16:18:59 -0300 |
commit | 9a7aafd641bb5cce551e0e982bbd2b20ea9a938a (patch) | |
tree | 86dea07b9c8a84260f4a8a9aa58fe1c797cdf8fd /testing/py3-blinker | |
parent | bf5875b874d30acbe83f29e3f59a480fe34127a0 (diff) | |
download | aports-9a7aafd641bb5cce551e0e982bbd2b20ea9a938a.tar.bz2 aports-9a7aafd641bb5cce551e0e982bbd2b20ea9a938a.tar.xz |
testing/py3-blinker: rebuild for py3-blinker
Diffstat (limited to 'testing/py3-blinker')
-rw-r--r-- | testing/py3-blinker/APKBUILD | 38 |
1 files changed, 9 insertions, 29 deletions
diff --git a/testing/py3-blinker/APKBUILD b/testing/py3-blinker/APKBUILD index 5a240efa0d..82e8986475 100644 --- a/testing/py3-blinker/APKBUILD +++ b/testing/py3-blinker/APKBUILD @@ -1,45 +1,25 @@ -# Contributor: -# Maintainer: -pkgname=py-blinker +# Contributor: +# Maintainer: +pkgname=py3-blinker _pkgname=blinker pkgver=1.4 -pkgrel=3 +pkgrel=4 pkgdesc="Fast, simple object-to-object and broadcast signalling" +options="!check" # Tests don't run with setup.py test and no instructions to run them url="http://pypi.python.org/pypi/blinker" arch="noarch" license="MIT" -makedepends="python2-dev py-setuptools python3-dev" -subpackages="py3-${pkgname/py-/}:_py3 py2-${pkgname/py-/}:_py2" +depends="python3" +makedepends="py3-setuptools" source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" builddir="$srcdir"/$_pkgname-$pkgver build() { - cd "$builddir" - python2 setup.py build || return 1 - python3 setup.py build || return 1 + python3 setup.py build } package() { - mkdir -p "$pkgdir" + python3 setup.py install --prefix=/usr --root="$pkgdir" } -_py() { - local python=$1 - pkgdesc="$pkgdesc - $python" - install_if="$pkgname=$pkgver-r$pkgrel $python" - cd "$builddir" - $python setup.py install --prefix=/usr --root="$subpkgdir" -} - -_py2() { - _py python2 - replaces="$pkgname" -} - -_py3() { - _py python3 -} - -md5sums="8b3722381f83c2813c52de3016b68d33 blinker-1.4.tar.gz" -sha256sums="471aee25f3992bd325afa3772f1063dbdbbca947a041b8b89466dc00d606f8b6 blinker-1.4.tar.gz" sha512sums="2f5f71b05c7cc27f5761ba698b05c78c8a491f5285c120e532d24be0c8256daa14e075f3f30e15fb18e7c3f16579af9378a155d058f170e3af9ffdb89e49f56e blinker-1.4.tar.gz" |