python-py: update to 1.9.0.

This commit is contained in:
Kartik Singh 2020-09-13 18:59:14 +05:30 committed by Andrew J. Hesford
parent b1452f59d8
commit dc51334e67
1 changed files with 3 additions and 7 deletions

View File

@ -1,11 +1,9 @@
# Template file for 'python-py' # Template file for 'python-py'
pkgname=python-py pkgname=python-py
version=1.8.0 version=1.9.0
revision=2 revision=1
archs=noarch
wrksrc="py-${version}" wrksrc="py-${version}"
build_style=python-module build_style=python-module
pycompile_module="py"
hostmakedepends="python-setuptools python3-setuptools" hostmakedepends="python-setuptools python3-setuptools"
depends="python" depends="python"
checkdepends="python3-pytest" checkdepends="python3-pytest"
@ -15,7 +13,7 @@ license="MIT"
homepage="https://github.com/pytest-dev/py" homepage="https://github.com/pytest-dev/py"
changelog="https://github.com/pytest-dev/py/raw/master/CHANGELOG" changelog="https://github.com/pytest-dev/py/raw/master/CHANGELOG"
distfiles="${PYPI_SITE}/p/py/py-${version}.tar.gz" distfiles="${PYPI_SITE}/p/py/py-${version}.tar.gz"
checksum=dc639b046a6e2cff5bbe40194ad65936d6ba360b52b3c3fe1d08a82dd50b5e53 checksum=9ca6883ce56b4e8da7e79ac18787889fa5206c79dcc67fb065376cd2fe03f342
do_check() { do_check() {
python3 -m pytest python3 -m pytest
@ -26,9 +24,7 @@ post_install() {
} }
python3-py_package() { python3-py_package() {
archs=noarch
depends="python3" depends="python3"
pycompile_module="py"
short_desc="${short_desc/Python2/Python3}" short_desc="${short_desc/Python2/Python3}"
pkg_install() { pkg_install() {
vmove usr/lib/python3* vmove usr/lib/python3*