aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-configobj
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-09-11 20:47:10 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-09-11 22:01:26 -0300
commit12553d7488eb65a878455e8c392cffa296bece4e (patch)
tree6cd11bad30b27664b54c80709630cfae9af7bb81 /community/py-configobj
parent12ef25a55bed47873772a36739070587f469c4f2 (diff)
downloadaports-12553d7488eb65a878455e8c392cffa296bece4e.tar.bz2
aports-12553d7488eb65a878455e8c392cffa296bece4e.tar.xz
community/py3-configobj: rename from py-configobj
Diffstat (limited to 'community/py-configobj')
-rw-r--r--community/py-configobj/APKBUILD52
1 files changed, 0 insertions, 52 deletions
diff --git a/community/py-configobj/APKBUILD b/community/py-configobj/APKBUILD
deleted file mode 100644
index 156504baf8..0000000000
--- a/community/py-configobj/APKBUILD
+++ /dev/null
@@ -1,52 +0,0 @@
-# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
-pkgname=py-configobj
-_pkgname=configobj
-pkgver=5.0.6
-pkgrel=5
-pkgdesc="Python library for reading and writing of configuration files (ini)"
-url="https://github.com/DiffSK/configobj"
-arch="noarch"
-license="BSD-3-Clause"
-depends="py-six"
-makedepends="py2-setuptools py3-setuptools"
-checkdepends="pytest"
-subpackages="py3-$_pkgname:_py3 py2-$_pkgname:_py2"
-source="$_pkgname-$pkgver.tar.gz::https://github.com/DiffSK/configobj/archive/v$pkgver.tar.gz"
-builddir="$srcdir"/$_pkgname-$pkgver
-
-build() {
- python2 setup.py build
- python3 setup.py build
-}
-
-check() {
- py.test-2
- py.test-3
-}
-
-package() {
- mkdir -p "$pkgdir"
-}
-
-_py2() {
- depends="${depends//py-/py2-}"
- replaces="$pkgname"
- _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="326eb86e362f281ebf07abcb1cf7616abb270c482eafe842371cda8708245ca5e8262f1644b7164664ecc10e9004ed061c9de18cd233a657d4697dbc3ba3c59d configobj-5.0.6.tar.gz"