commit: fd2eff2511c7cb3da40e63254074c8cd077bb50b Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> AuthorDate: Wed May 20 14:10:28 2020 +0000 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> CommitDate: Fri Nov 27 00:00:22 2020 +0000 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 <lssndrbarbieri <AT> 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 00000000..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 00000000..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 00000000..ef09f84d --- /dev/null +++ b/dev-python/asynctest/metadata.xml @@ -0,0 +1,22 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="github">Martiusweb/asynctest</remote-id> + <doc>http://asynctest.readthedocs.org/en/latest</doc> + <bugs-to>https://github.com/Martiusweb/asynctest/issues</bugs-to> + <maintainer> + <email> + mart...@martiusweb.net + </email> + <name> + Martin Richard + </name> + </maintainer> + </upstream> + <longdescription lang="en"> + The package asynctest is built on top of the standard unittest module and cuts down boilerplate code when testing libraries for asyncio. + </longdescription> +</pkgmetadata> +