aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-09-07 10:29:20 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-09-07 10:46:05 -0300
commit035b7e38c96c40c04bc0455338e978c40c8fad18 (patch)
tree9c8899b9a9f581c4f91b392a4371b19bde140400 /testing
parentc6ec2a94fd425fb00028fcaa9c03503f18b3b165 (diff)
downloadaports-035b7e38c96c40c04bc0455338e978c40c8fad18.tar.bz2
aports-035b7e38c96c40c04bc0455338e978c40c8fad18.tar.xz
testing/py3-iniparse: drop py2
Diffstat (limited to 'testing')
-rw-r--r--testing/py3-iniparse/APKBUILD26
1 files changed, 13 insertions, 13 deletions
diff --git a/testing/py3-iniparse/APKBUILD b/testing/py3-iniparse/APKBUILD
index 438777b1fb..5ec2829ed1 100644
--- a/testing/py3-iniparse/APKBUILD
+++ b/testing/py3-iniparse/APKBUILD
@@ -1,27 +1,27 @@
# Maintainer:
# Contributor: Bartłomiej Piotrowski <bpiotrowski@alpinelinux.org>
-
-pkgname=py-iniparse
+pkgname=py3-iniparse
_pkgname=iniparse
pkgver=0.4
-pkgrel=1
-pkgdesc='INI parser library for Python'
-url='https://code.google.com/p/iniparse/'
-arch='noarch'
-license='MIT'
-makedepends="python2-dev py-setuptools sqlite-dev"
+pkgrel=2
+pkgdesc="INI parser library for Python"
+options="!check" # Testsuite loader broken
+url="https://code.google.com/p/iniparse/"
+arch="noarch"
+license="MIT"
+makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
+builddir="$srcdir"/$_pkgname-$pkgver
-_builddir="$srcdir"/$_pkgname-$pkgver
+replaces="py-iniparse" # Backwards compatibility
+provides="py-iniparse=$pkgver-r$pkgrel" # Backwards compatibility
build() {
- cd "$_builddir"
- python2 setup.py build || return 1
+ python3 setup.py build
}
package() {
- cd "$_builddir"
- python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1
+ python3 setup.py install --prefix=/usr --root="$pkgdir"
}
md5sums="5e573e9e9733d97623881ce9bbe5eca6 iniparse-0.4.tar.gz"