aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@alpinelinux.org>2019-02-14 10:49:32 +0000
committerFrancesco Colista <fcolista@alpinelinux.org>2019-02-14 10:49:36 +0000
commita5f99d744599d40016d97e1ea3dbf2a753759370 (patch)
tree8f8d09bf7c9842a3d04744eb560ab5b96a444633 /testing
parent44994ea26adc664f39e61f7da9c78946990146e5 (diff)
downloadaports-a5f99d744599d40016d97e1ea3dbf2a753759370.tar.bz2
aports-a5f99d744599d40016d97e1ea3dbf2a753759370.tar.xz
community/py-configparser: moved from testing
Diffstat (limited to 'testing')
-rw-r--r--testing/py-configparser/APKBUILD53
1 files changed, 0 insertions, 53 deletions
diff --git a/testing/py-configparser/APKBUILD b/testing/py-configparser/APKBUILD
deleted file mode 100644
index 63b5661287..0000000000
--- a/testing/py-configparser/APKBUILD
+++ /dev/null
@@ -1,53 +0,0 @@
-# Contributor: Stefan Wagner <stw@bit-strickerei.de>
-# Maintainer: Stefan Wagner <stw@bit-strickerei.de>
-pkgname=py-configparser
-_pkgname=configparser
-pkgver=3.7.1
-pkgrel=0
-pkgdesc="This library brings the updated configparser from Python 3.5 to Python 2.6-3.5"
-url="https://docs.python.org/3/library/configparser.html"
-arch="noarch"
-license="MIT"
-makedepends="python2-dev python3-dev py-setuptools"
-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
-}
-
-check() {
- cd "$builddir"
- python2 setup.py test
- python3 setup.py test
-}
-
-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="416a4a4c72cbb9f4b170bb71f6ad5711e70af6eb457f6730814c33581ea39f30f352e81f357e522c0225922fe45030e646ee13a12683e4092e997fcdad523149 configparser-3.7.1.tar.gz"