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/py3-blist | |
| parent | 44d3d96a441aa8c8b0693923579bfa15ca0e92b5 (diff) | |
| download | aports-34ae5cedaba4bbf3aedf44cbe6cb883a3b3763da.tar.bz2 aports-34ae5cedaba4bbf3aedf44cbe6cb883a3b3763da.tar.xz | |
testing/py-blist: drop python2
Diffstat (limited to 'testing/py3-blist')
| -rw-r--r-- | testing/py3-blist/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/py3-blist/APKBUILD b/testing/py3-blist/APKBUILD new file mode 100644 index 0000000000..60b89ad9cf --- /dev/null +++ b/testing/py3-blist/APKBUILD @@ -0,0 +1,34 @@ +# Contributor: Sebastian Hugentobler <sebastian@vanwa.ch> +# Maintainer: Sebastian Hugentobler <sebastian@vanwa.ch> +pkgname=py3-blist +_pkgname=${pkgname/py3-/} +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" +depends="python3" +makedepends="python3-dev py3-setuptools" +source="$pkgname-$pkgver.tar.gz::https://github.com/DanielStutzbach/$_pkgname/archive/v$pkgver.tar.gz" +builddir="$srcdir"/$_pkgname-$pkgver + +replaces=py-blist # Backwards compatibility +provides=py-blist=$pkgver-r$pkgrel # Backwards compatibility + +check() { + cd "$builddir" + python3 setup.py check +} + +build() { + cd "$builddir" + python3 setup.py build +} + +package() { + cd "$builddir" + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="f46ded57aeb2a33fc5450420210d015aa37c2fc91034a771dfb1a184ef2655d8e5dc97bee61139059e6211569fcb7358f972071d3830733e9dbb8908e1b0e14c py3-blist-1.3.6.tar.gz" |
