diff options
author | prspkt <prspkt@protonmail.com> | 2019-07-05 00:37:05 +0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-07-05 00:55:21 +0300 |
commit | 34ae5cedaba4bbf3aedf44cbe6cb883a3b3763da (patch) | |
tree | 2c26d12d04c1749270e49a7c83cb278a66d16293 /testing/py-blist/APKBUILD | |
parent | 44d3d96a441aa8c8b0693923579bfa15ca0e92b5 (diff) | |
download | aports-34ae5cedaba4bbf3aedf44cbe6cb883a3b3763da.tar.bz2 aports-34ae5cedaba4bbf3aedf44cbe6cb883a3b3763da.tar.xz |
testing/py-blist: drop python2
Diffstat (limited to 'testing/py-blist/APKBUILD')
-rw-r--r-- | testing/py-blist/APKBUILD | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/testing/py-blist/APKBUILD b/testing/py-blist/APKBUILD deleted file mode 100644 index 267f2e5b65..0000000000 --- a/testing/py-blist/APKBUILD +++ /dev/null @@ -1,52 +0,0 @@ -# Contributor: Sebastian Hugentobler <sebastian@vanwa.ch> -# Maintainer: Sebastian Hugentobler <sebastian@vanwa.ch> -pkgname=py-blist -_pkgname=${pkgname/py-/} -pkgver=1.3.6 -pkgrel=1 -pkgdesc="A list-like type with better asymptotic performance and similar performance on small lists" -url="https://github.com/DanielStutzbach/blist" -arch="all" -license="BSD-3-Clause" -makedepends="python2-dev python3-dev py-setuptools" -subpackages="py3-${pkgname/py-/}:_py3 py2-${pkgname/py-/}:_py2" -source="$pkgname-$pkgver.tar.gz::https://github.com/DanielStutzbach/$_pkgname/archive/v$pkgver.tar.gz" -builddir="$srcdir"/$_pkgname-$pkgver - -check() { - cd "$builddir" - python2 setup.py check - python3 setup.py check -} - -build() { - cd "$builddir" - python2 setup.py build - python3 setup.py build -} - -package() { - mkdir -p "$pkgdir" -} - -_py() { - local python=$1 - pkgdesc="$pkgdesc - $python" - depends="$depends $python" - install_if="$pkgname=$pkgver-r$pkgrel $python" - cd "$builddir" - $python setup.py install --prefix=/usr --root="$subpkgdir" -} - -_py2() { - replaces="$pkgname" - depends="${depends//py-/py2-}" - _py python2 -} - -_py3() { - depends="${depends//py-/py3-}" - _py python3 -} - -sha512sums="f46ded57aeb2a33fc5450420210d015aa37c2fc91034a771dfb1a184ef2655d8e5dc97bee61139059e6211569fcb7358f972071d3830733e9dbb8908e1b0e14c py-blist-1.3.6.tar.gz" |