Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python-pytest, python-importlib_metadata: add dependencies #17934

Merged
merged 2 commits into from
Dec 31, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions srcpkgs/python-pytest/template
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Template file for 'python-pytest'
pkgname=python-pytest
version=4.6.7
revision=1
revision=2
archs=noarch
wrksrc="${pkgname/python-//}-${version}"
build_style=python2-module
pycompile_module="_pytest pytest.py"
hostmakedepends="python-setuptools"
depends="python-atomicwrites python-attrs python-funcsigs python-more-itertools
python-pluggy python-py python-setuptools python-pathlib2 python-six
python-wcwidth python-hypothesis python-importlib_metadata"
python-wcwidth python-hypothesis python-importlib_metadata
python-packaging"
checkdepends="$depends tox"
short_desc="Simple powerful testing with Python 2"
maintainer="Orphaned <orphan@voidlinux.org>"
Expand Down
11 changes: 7 additions & 4 deletions srcpkgs/python3-importlib_metadata/template
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
# Template file for 'python3-importlib_metadata'
pkgname=python3-importlib_metadata
version=1.2.0
revision=2
revision=3
archs=noarch
wrksrc="importlib_metadata-${version}"
build_style=python-module
pycompile_module=importlib_metadata
hostmakedepends="python-setuptools python3-setuptools"
depends="python3-zipp"
checkdepends="${depends}"
checkdepends="${depends} python3-packaging"
short_desc="Read metadata from Python packages"
maintainer="Piotr Wójcik <chocimier@tlen.pl>"
license="Apache-2.0"
Expand All @@ -17,8 +16,12 @@ changelog="https://importlib-metadata.readthedocs.io/en/latest/changelog%20(link
distfiles="${PYPI_SITE}/i/importlib_metadata/importlib_metadata-${version}.tar.gz"
checksum=41e688146d000891f32b1669e8573c57e39e5060e7f5f647aa617cd9a9568278

do_check() {
python3 setup.py test
}

python-importlib_metadata_package() {
depends=python-zipp
depends="python-zipp python-backports.configparser python-contextlib2"
short_desc="${short_desc/Python/Python 2/}"
pkg_install() {
vmove "usr/lib/python2.7"
Expand Down