aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2019-09-07 22:25:05 -0300
committerLeo <thinkabit.ukim@gmail.com>2019-09-07 22:25:05 -0300
commit05f37f5b110d7ba67051a0601a1891ad2b9765ac (patch)
treeba53a77bb3a25e6af750a42d24dfa800d78d69c4
parentf78e15a5fee86f5a8c0a22b35de05dd2bd21afc2 (diff)
downloadaports-05f37f5b110d7ba67051a0601a1891ad2b9765ac.tar.bz2
aports-05f37f5b110d7ba67051a0601a1891ad2b9765ac.tar.xz
community/py3-parso: drop py2
-rw-r--r--community/py3-parso/APKBUILD22
1 files changed, 10 insertions, 12 deletions
diff --git a/community/py3-parso/APKBUILD b/community/py3-parso/APKBUILD
index b6f070055a..ceead980ec 100644
--- a/community/py3-parso/APKBUILD
+++ b/community/py3-parso/APKBUILD
@@ -1,29 +1,27 @@
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
-pkgname=py-parso
+pkgname=py3-parso
pkgver=0.5.1
-pkgrel=0
-pkgdesc="a Python parser that supports error recovery and round-trip parsing for different Python versions"
-url="https://pypi.org/project/parso/"
+pkgrel=1
+pkgdesc="Python3 parser that supports error recovery and round-trip parsing for different Python versions"
+url="https://github.com/davidhalter/parso"
arch="noarch"
license="MIT"
-makedepends="python3-dev py3-setuptools"
-checkdepends="py3-tox"
depends="python3"
+makedepends="py3-setuptools"
+checkdepends="py3-pytest"
source="https://files.pythonhosted.org/packages/source/p/parso/parso-$pkgver.tar.gz"
builddir="$srcdir/parso-$pkgver"
+replaces="py-parso" # Backwards compatibility
+provides="py-parso=$pkgver-r$pkgrel" # Backwards compatibility
+
build() {
python3 setup.py build
}
-_tox_pyver() {
- local _pyver=$(python3 -c 'import sys; print(str(sys.version_info[0])+str(sys.version_info[1]))')
- echo py$_pyver
-}
-
check() {
- tox -e $(_tox_pyver)
+ py.test-3
}
package() {