[gentoo-commits] repo/proj/guru:dev commit in: dev-python/asynctest/
commit: ce4ffddb46608f0119ec6cab1a6fb415ceab7410 Author: Andrew Ammerlaan riseup net> AuthorDate: Tue Apr 13 13:12:37 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Tue Apr 13 13:12:37 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ce4ffddb dev-python/asynctest: bump python compat Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/asynctest/asynctest-0.13.0.ebuild | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/dev-python/asynctest/asynctest-0.13.0.ebuild b/dev-python/asynctest/asynctest-0.13.0.ebuild index 063172c60..6210e149f 100644 --- a/dev-python/asynctest/asynctest-0.13.0.ebuild +++ b/dev-python/asynctest/asynctest-0.13.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="7" -PYTHON_COMPAT=( python3_7 pypy3 ) +PYTHON_COMPAT=( python3_{7,8,9} pypy3 ) inherit distutils-r1 @@ -17,11 +17,9 @@ SRC_URI="https://github.com/Martiusweb/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.g LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="test" -RESTRICT="!test? ( test )" -DEPEND="" distutils_enable_sphinx doc +distutils_enable_tests unittest src_prepare() { sed -i 's|def test_events_watched_outside_test_are_ignored|@unittest.skip("this fail")\n def test_events_watched_outside_test_are_ignored|' test/test_selector.py @@ -29,5 +27,5 @@ src_prepare() { } python_test() { - "${EPYTHON}" -m unittest -v test || die "Testing failed" + "${EPYTHON}" -m unittest -v test || die "Testing failed with ${EPYTHON}" }
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/asynctest/
commit: fd2eff2511c7cb3da40e63254074c8cd077bb50b Author: Alessandro Barbieri gmail com> AuthorDate: Wed May 20 14:10:28 2020 + Commit: Alessandro Barbieri gmail com> CommitDate: Fri Nov 27 00:00:22 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fd2eff25 dev-python/asynctest: soon to be treecleaned package Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri gmail.com> dev-python/asynctest/Manifest| 1 + dev-python/asynctest/asynctest-0.13.0.ebuild | 33 dev-python/asynctest/metadata.xml| 22 +++ 3 files changed, 56 insertions(+) diff --git a/dev-python/asynctest/Manifest b/dev-python/asynctest/Manifest new file mode 100644 index ..e193011f --- /dev/null +++ b/dev-python/asynctest/Manifest @@ -0,0 +1 @@ +DIST asynctest-0.13.0.tar.gz 67664 BLAKE2B 96a50544cd7ad5038abc01b46a7fd9f8bb87eeb7dfe60cb35ef910bd9583488733dfb78ab6f5de215a1c8715e0b36064d1ea75164a8840b207a8618bd806291f SHA512 cfa76a461c81d702f96cc06d6a6786c35373802a4d878927a1f11eaad741aef8e55130e4b07cfc78673210f0ebf45bf808b7c43aebb1b2835f40306b5e44b141 diff --git a/dev-python/asynctest/asynctest-0.13.0.ebuild b/dev-python/asynctest/asynctest-0.13.0.ebuild new file mode 100644 index ..532fcbd9 --- /dev/null +++ b/dev-python/asynctest/asynctest-0.13.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{6,7} pypy3 ) + +inherit distutils-r1 + +DESCRIPTION="Enhance the standard unittest with features for testing asyncio libraries" +HOMEPAGE=" + https://github.com/Martiusweb/asynctest + https://pypi.org/project/asynctest +" +SRC_URI="https://github.com/Martiusweb/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" +DEPEND="" + +distutils_enable_sphinx doc + +src_prepare() { + sed -i 's|def test_events_watched_outside_test_are_ignored|@unittest.skip("this fail")\n def test_events_watched_outside_test_are_ignored|' test/test_selector.py + default +} + +python_test() { + "${EPYTHON}" -m unittest -v test || die "Testing failed" +} diff --git a/dev-python/asynctest/metadata.xml b/dev-python/asynctest/metadata.xml new file mode 100644 index ..ef09f84d --- /dev/null +++ b/dev-python/asynctest/metadata.xml @@ -0,0 +1,22 @@ + +http://www.gentoo.org/dtd/metadata.dtd";> + + + + Martiusweb/asynctest + http://asynctest.readthedocs.org/en/latest + https://github.com/Martiusweb/asynctest/issues + + + mart...@martiusweb.net + + + Martin Richard + + + + + The package asynctest is built on top of the standard unittest module and cuts down boilerplate code when testing libraries for asyncio. + + +