From e46180e4c76457c67e29d5e36a1637033a66d15d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Tue, 15 Sep 2020 21:50:31 +0200 Subject: [PATCH 1/2] New package: python3-iniconfig-1.0.1 --- srcpkgs/python3-iniconfig/template | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 srcpkgs/python3-iniconfig/template diff --git a/srcpkgs/python3-iniconfig/template b/srcpkgs/python3-iniconfig/template new file mode 100644 index 00000000000..b78ff3ce297 --- /dev/null +++ b/srcpkgs/python3-iniconfig/template @@ -0,0 +1,19 @@ +# Template file for 'python3-iniconfig' +pkgname=python3-iniconfig +version=1.0.1 +revision=1 +wrksrc="iniconfig-${version}" +build_style=python3-module +hostmakedepends="python3-setuptools" +depends="python3" +checkdepends="python3-py python3-pytest" +short_desc="Brain-dead simple config-ini parsing" +maintainer="Piotr Wójcik " +license="MIT" +homepage="https://github.com/RonnyPfannschmidt/iniconfig" +distfiles="${PYPI_SITE}/i/iniconfig/iniconfig-${version}.tar.gz" +checksum=e5f92f89355a67de0595932a6c6c02ab4afddc6fcdc0bfc5becd0d60884d3f69 + +post_install() { + vlicense LICENSE +} From 0e18b575002d73bd376156a303918e77d80ad5e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= Date: Tue, 15 Sep 2020 21:50:31 +0200 Subject: [PATCH 2/2] python3-pytest: update depends --- srcpkgs/python3-pytest/template | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/srcpkgs/python3-pytest/template b/srcpkgs/python3-pytest/template index 2e8a374649b..646b6387318 100644 --- a/srcpkgs/python3-pytest/template +++ b/srcpkgs/python3-pytest/template @@ -1,16 +1,17 @@ # Template file for 'python3-pytest' pkgname=python3-pytest version=6.0.2 -revision=1 +revision=2 wrksrc="pytest-${version}" build_style=python3-module hostmakedepends="python3-setuptools" depends="python3-py python3-packaging python3-attrs python3-more-itertools - python3-atomicwrites python3-pluggy python3-wcwidth python3-setuptools" + python3-atomicwrites python3-pluggy python3-wcwidth python3-setuptools + python3-iniconfig python3-toml" checkdepends="$depends python3-argcomplete python3-hypothesis python3-mock python3-nose python3-requests python3-parsing python3-xmlschema" short_desc="Simple powerful testing with Python 3" -maintainer="Orphaned " +maintainer="Piotr Wójcik " license="MIT" homepage="https://docs.pytest.org/en/latest/" changelog="https://docs.pytest.org/en/latest/changelog.html" @@ -27,7 +28,8 @@ post_patch() { } do_check() { - PYTHONPATH=$(pwd)/build/lib python3 -m pytest + PYTHONPATH=$(pwd)/build/lib python3 -m pytest \ + -k 'not test_color_yes and not test_code_highlight' } post_install() {