aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-text-unidecode
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-07-25 01:39:15 +0300
committerprspkt <prspkt@protonmail.com>2019-07-25 02:00:03 +0300
commit08a633919552ff4f797ab2990a0bfdd7bb2b5cac (patch)
tree43001dadf9886f7ccdec22b15ff45d93012a0de4 /community/py-text-unidecode
parent4a475b63904d25ac52b736c6b0f398437265f0d0 (diff)
downloadaports-08a633919552ff4f797ab2990a0bfdd7bb2b5cac.tar.bz2
aports-08a633919552ff4f797ab2990a0bfdd7bb2b5cac.tar.xz
community/py-text-unidecode: drop python2
Diffstat (limited to 'community/py-text-unidecode')
-rw-r--r--community/py-text-unidecode/APKBUILD57
1 files changed, 0 insertions, 57 deletions
diff --git a/community/py-text-unidecode/APKBUILD b/community/py-text-unidecode/APKBUILD
deleted file mode 100644
index 4b8aa17f46..0000000000
--- a/community/py-text-unidecode/APKBUILD
+++ /dev/null
@@ -1,57 +0,0 @@
-# Maintainer: Drew DeVault <sir@cmpwn.com>
-pkgname=py-text-unidecode
-_pkgname=text-unidecode
-pkgver=1.2
-pkgrel=1
-pkgdesc="The most basic Text::Unidecode port"
-url=https://github.com/kmike/text-unidecode/
-arch=noarch
-license="Artistic-1.0-cl8"
-subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3"
-makedepends="py-setuptools python2-dev python3-dev"
-checkdepends="pytest"
-source="$pkgname-$pkgver.tar.gz::https://github.com/kmike/$_pkgname/archive/$pkgver.tar.gz"
-builddir=$srcdir/$_pkgname-$pkgver
-
-prepare() {
- cd "$builddir"
- cp -r "$builddir" "$builddir"-py3
-}
-
-build() {
- cd "$builddir"
- python2 setup.py build
- cd "$builddir"-py3
- python3 setup.py build
-}
-
-check() {
- cd "$builddir"
- PYTHONPATH=src pytest-2
- cd "$builddir"-py3
- PYTHONPATH=src pytest-3
-}
-
-package() {
- mkdir -p "$pkgdir"
-}
-
-_py2() {
- cd "$builddir"
- _py python2
-}
-
-_py3() {
- cd "$builddir"-py3
- _py python3
-}
-
-_py() {
- python="$1"
- pkgdesc="$pkgdesc (for $python)"
- depends="$depends $python"
- install_if="$pkgname=$pkgver-r$pkgrel $python"
- $python setup.py install --prefix=/usr --root="$subpkgdir"
-}
-
-sha512sums="ce4bd80f8343ebca031a39f1fbe802cd86e3535a67d5e16f8a7f32442ab334e4e5e4d1cf74e8a55ef265765c879bfde87beffd31ff988efff1947f7c883694f9 py-text-unidecode-1.2.tar.gz"