diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-09-07 10:32:11 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-09-07 10:46:14 -0300 |
commit | 69f1df9d8d6cdad1a505a06bef6e3e0c4b853d52 (patch) | |
tree | f2546a5009b1ab077fcab4677415757cc87dda68 | |
parent | 0b2624b78226193a1ec7bcb83addfb70af7a8feb (diff) | |
download | aports-69f1df9d8d6cdad1a505a06bef6e3e0c4b853d52.tar.bz2 aports-69f1df9d8d6cdad1a505a06bef6e3e0c4b853d52.tar.xz |
testing/py3-blockchain: upgrade to 1.4.4
-rw-r--r-- | testing/py3-blockchain/APKBUILD | 42 |
1 files changed, 14 insertions, 28 deletions
diff --git a/testing/py3-blockchain/APKBUILD b/testing/py3-blockchain/APKBUILD index 8c509d759a..48ac9a09bd 100644 --- a/testing/py3-blockchain/APKBUILD +++ b/testing/py3-blockchain/APKBUILD @@ -1,45 +1,31 @@ # Contributor: Fabian Affolter <fabian@affolter-engineering.ch> # Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> -pkgname=py-blockchain +pkgname=py3-blockchain _pkgname=blockchain -pkgver=1.3.3 -pkgrel=2 +pkgver=1.4.4 +pkgrel=0 pkgdesc="Blockchain API library (v1)" url="https://github.com/blockchain/api-v1-client-python" arch="noarch" license="MIT" -makedepends="python2-dev py-setuptools python3-dev" -subpackages="py3-$_pkgname:_py3 py2-$_pkgname:_py2" +depends="py3-future" +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 -} +replaces="py-blockchain" # Backwards compatibility +provides="py-blockchain=$pkgver-r$pkgrel" # Backwards compatibility -package() { - mkdir -p "$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" +build() { + python3 setup.py build } -_py2() { - _py python2 - replaces="$pkgname" +check() { + python3 setup.py check } -_py3() { - _py python3 +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" } -md5sums="dc9cf8a7f603f35f81caa25ee0b3de38 blockchain-1.3.3.tar.gz" -sha256sums="819b84dde3744d7d057c30f8ba3330fa3906cbf38d4b5ecde9d440bbbcde60f2 blockchain-1.3.3.tar.gz" -sha512sums="d5a49a7511656711adb6f4e79a82116caa8dc83ba50a66b6855100cbde3faa37297f20f3209245849df99fc8114c45c20a2f4b456d725181bca4f21e7ae3c675 blockchain-1.3.3.tar.gz" +sha512sums="46e9d83f3a8220aef67f90a5b1d0f29df709f48c69392eef3fa38eb22c5b346296e3f15cf61dcc612c57d0f94a838af6d74ae906c8ffffefec86e471bc036a8f blockchain-1.4.4.tar.gz" |