diff options
author | prspkt <prspkt@protonmail.com> | 2019-04-27 23:22:31 +0300 |
---|---|---|
committer | prspkt <prspkt@protonmail.com> | 2019-04-28 00:19:24 +0300 |
commit | 28488964a6e65357819ab9327ae4b81fe9716617 (patch) | |
tree | e49a0987d358eedeefd3ed7fa0ce90cb4ee3fa28 /testing/py-pgspecial | |
parent | 5d3da888fcc3adcd095937514ad63fc7031e28c8 (diff) | |
download | aports-28488964a6e65357819ab9327ae4b81fe9716617.tar.bz2 aports-28488964a6e65357819ab9327ae4b81fe9716617.tar.xz |
testing/py-pgspecial: drop python2
Diffstat (limited to 'testing/py-pgspecial')
-rw-r--r-- | testing/py-pgspecial/APKBUILD | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/testing/py-pgspecial/APKBUILD b/testing/py-pgspecial/APKBUILD deleted file mode 100644 index f007704ff5..0000000000 --- a/testing/py-pgspecial/APKBUILD +++ /dev/null @@ -1,54 +0,0 @@ -# Contributor: Thomas Boerger <thomas@webhippie.de> -# Maintainer: Thomas Boerger <thomas@webhippie.de> -pkgname=py-pgspecial -_pkgname=pgspecial -pkgver=1.11.2 -pkgrel=1 -pkgdesc="Meta-commands handler for Postgres Database" -url="https://pypi.python.org/pypi/pgspecial" -arch="noarch" -license="BSD-3-Clause" -depends="py-click py-sqlparse" -makedepends="python2-dev py-setuptools python3-dev" -subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3" -source="$pkgname-$pkgver.tar.gz::https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$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" -} - -_py2() { - replaces="$pkgname" - depends="${depends//py-/py2-}" - _py python2 -} - -_py3() { - depends="${depends//py-/py3-}" - _py python3 -} - -_py() { - local python="$1" - pkgdesc="$pkgdesc (for $python)" - depends="$depends $python" - install_if="$pkgname=$pkgver-r$pkgrel $python" - - cd "$builddir" - $python setup.py install --prefix=/usr --root="$subpkgdir" -} - -sha512sums="58bf5ca3bd848a9f3010f91c02bdef84bc6ebbeeb2aa58062e64117a1e2cb9e56ffc9b10d179806a7293cbf5955be557395523567f54c29b22a610431b2ade61 py-pgspecial-1.11.2.tar.gz" |