aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-configargparse
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-09-07 22:12:49 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-09-07 22:21:31 -0300
commit473cfbf96a256646f26ae94426fd8d06cb31db24 (patch)
treeafbd05cbaf567d4f8a6c46e9261a53550b02036b /community/py-configargparse
parentc1fd0367c060b81769a19bd7f65bef94463b730b (diff)
downloadaports-473cfbf96a256646f26ae94426fd8d06cb31db24.tar.bz2
aports-473cfbf96a256646f26ae94426fd8d06cb31db24.tar.xz
community/py3-configargparse: rename from py-configargparse
Diffstat (limited to 'community/py-configargparse')
-rw-r--r--community/py-configargparse/APKBUILD47
1 files changed, 0 insertions, 47 deletions
diff --git a/community/py-configargparse/APKBUILD b/community/py-configargparse/APKBUILD
deleted file mode 100644
index ad58e35267..0000000000
--- a/community/py-configargparse/APKBUILD
+++ /dev/null
@@ -1,47 +0,0 @@
-# Contributor: Carlo Landmeter <clandmeter@gmail.com>
-# Contributor: Jakub Jirutka <jakub@jirutka.cz>
-# Maintainer: Stuart Cardall <developer@it-offshore.co.uk>
-pkgname=py-configargparse
-_pkgname=ConfigArgParse
-pkgver=0.14.0
-pkgrel=1
-pkgdesc="A drop-in replacement for argparse"
-url="https://github.com/bw2/ConfigArgParse"
-arch="noarch"
-license="MIT"
-depends=""
-makedepends="python2-dev python3-dev py-setuptools"
-subpackages="py2-${pkgname#py-}:_py2 py3-${pkgname#py-}:_py3"
-source="$pkgname-$pkgver.tar.gz::https://github.com/bw2/$_pkgname/archive/$pkgver.tar.gz"
-builddir="$srcdir/$_pkgname-$pkgver"
-
-build() {
- cd "$builddir"
- python2 setup.py build || return 1
- python3 setup.py build || return 1
-}
-
-package() {
- mkdir -p "$pkgdir"
-}
-
-_py2() {
- replaces="$pkgname"
- _py python2
-}
-
-_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="e48ca61027abf0e0acb8414b6d89b276b186b4f714368b8c33975537c2264bb2d81f18cf3013b99d9ce752014361afa973f704b3f6957ca4b98319bb0ca5ca8c py-configargparse-0.14.0.tar.gz"