python3-py: add python3-setuptools_scm to hostmakedepends

This commit is contained in:
Andrew J. Hesford 2020-10-16 15:54:32 -04:00
parent 8c3d591af7
commit 1f89cc965b

View file

@ -1,10 +1,10 @@
# Template file for 'python3-py'
pkgname=python3-py
version=1.9.0
revision=3
revision=4
wrksrc="py-${version}"
build_style=python3-module
hostmakedepends="python3-setuptools"
hostmakedepends="python3-setuptools_scm"
depends="python3"
checkdepends="python3-pytest"
short_desc="Python3 development support library"
@ -15,10 +15,6 @@ changelog="https://github.com/pytest-dev/py/raw/master/CHANGELOG"
distfiles="${PYPI_SITE}/p/py/py-${version}.tar.gz"
checksum=9ca6883ce56b4e8da7e79ac18787889fa5206c79dcc67fb065376cd2fe03f342
post_extract() {
vsed -i -e 's/"setuptools-scm"//' setup.py
}
do_check() {
python3 -m pytest
}