aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-prompt_toolkit
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-07-22 16:17:44 +0300
committerprspkt <prspkt@protonmail.com>2019-07-22 16:17:54 +0300
commit4a94d9925af0c8a8d4f66aa18723b62e61a5d4db (patch)
tree7b12c1ca145782a9efc60d6e9e1ffbe0404e10d3 /community/py-prompt_toolkit
parent235baf4c95e794220f4056d2d2c31ccf9b5464d8 (diff)
downloadaports-4a94d9925af0c8a8d4f66aa18723b62e61a5d4db.tar.bz2
aports-4a94d9925af0c8a8d4f66aa18723b62e61a5d4db.tar.xz
community/py-prompt_toolkit: drop python2
Diffstat (limited to 'community/py-prompt_toolkit')
-rw-r--r--community/py-prompt_toolkit/APKBUILD54
1 files changed, 0 insertions, 54 deletions
diff --git a/community/py-prompt_toolkit/APKBUILD b/community/py-prompt_toolkit/APKBUILD
deleted file mode 100644
index 89fbb9afc0..0000000000
--- a/community/py-prompt_toolkit/APKBUILD
+++ /dev/null
@@ -1,54 +0,0 @@
-# Contributor: Thomas Boerger <thomas@webhippie.de>
-# Maintainer: Thomas Boerger <thomas@webhippie.de>
-pkgname=py-prompt_toolkit
-_pkgname=prompt_toolkit
-pkgver=2.0.9
-pkgrel=1
-pkgdesc="Library for building powerful interactive command lines in Python"
-url="https://pypi.python.org/pypi/prompt_toolkit"
-arch="noarch"
-license="BSD"
-depends="py-six py-wcwidth"
-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"
-
-build() {
- cd "$builddir"
- python2 setup.py build
- python3 setup.py build
-}
-
-check() {
- cd "$builddir"
- python2 setup.py check
- python3 setup.py check
-}
-
-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="8fd0f8f2d05ba81dbdd02e2885652dc8d4e756d3cfc57646328c6ebc3e0e38242604cadc72c7f2479850800c8f0e9f555ffab33df3061800f9a99744d857afd3 py-prompt_toolkit-2.0.9.tar.gz"