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