diff options
| author | prspkt <prspkt@protonmail.com> | 2019-08-10 20:44:59 +0300 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-08-23 11:20:00 +0000 |
| commit | fb6521fc2afeacc331bc124da95b500f0f92eab9 (patch) | |
| tree | 303b962b8940985e37d5dd70c039c441e23ccc2d | |
| parent | 315278f4cd757d99375d34176bc39e0853359ec6 (diff) | |
| download | aports-fb6521fc2afeacc331bc124da95b500f0f92eab9.tar.bz2 aports-fb6521fc2afeacc331bc124da95b500f0f92eab9.tar.xz | |
main/py-country: remove
Signed-off-by: prspkt <prspkt@protonmail.com>
| -rw-r--r-- | main/py-country/APKBUILD | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/main/py-country/APKBUILD b/main/py-country/APKBUILD deleted file mode 100644 index fea74afa11..0000000000 --- a/main/py-country/APKBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> -# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch> -pkgname=py-country -_pkgname=pycountry -pkgver=18.12.8 -pkgrel=1 -pkgdesc="ISO country, subdivision, language, currency and script definitions and their translations" -url="https://pypi.python.org/pypi/pycountry" -arch="noarch" -license="LGPL-2.0-or-later" -makedepends="python2-dev py-setuptools python3-dev" -subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3" -source="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 -} - -package() { - mkdir -p "$pkgdir" -} - -_py2() { - replaces="$pkgname" - _py python2 -} - -_py3() { - _py python3 -} - -_py() { - local python="$1" - pkgdesc="$pkgdesc (for $python)" - depends="$python" - install_if="$pkgname=$pkgver-r$pkgrel $python" - - cd "$builddir" - $python setup.py install --prefix=/usr --root="$subpkgdir" -} - -sha512sums="9797688ada8ea54c1a56a2cf4d0ad765001816c822c40077953fa71e3af285114c4b5beaf739a24432b9c6ea794952ce347a40ae0bcd9a2c00d12ddc7b45261e pycountry-18.12.8.tar.gz" |
