commit: ccff5283852294ce22206ecd509a54375ca8e4c6 Author: Tony Vroon <chainsaw <AT> gentoo <DOT> org> AuthorDate: Fri Feb 1 15:22:31 2019 +0000 Commit: Tony Vroon <chainsaw <AT> gentoo <DOT> org> CommitDate: Fri Feb 1 15:52:12 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccff5283
dev-python/pytest-flakes: Initial commit. Dependency for dev-python/python-utils. Signed-Off-By: Tony Vroon <chainsaw <AT> gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-python/pytest-flakes/Manifest | 1 + dev-python/pytest-flakes/metadata.xml | 12 +++++++++++ .../pytest-flakes/pytest-flakes-4.0.0.ebuild | 24 ++++++++++++++++++++++ 3 files changed, 37 insertions(+) diff --git a/dev-python/pytest-flakes/Manifest b/dev-python/pytest-flakes/Manifest new file mode 100644 index 00000000000..d32b5978ded --- /dev/null +++ b/dev-python/pytest-flakes/Manifest @@ -0,0 +1 @@ +DIST pytest-flakes-4.0.0.tar.gz 7138 BLAKE2B e3c43df60484c664672f8b9ea92f8d4e25ae33e0dffc9cee200867220a3c8840f7325be28a4bec44918a9b44c1d73d3b89517db8dfa9bb982ed92a34c3b09674 SHA512 e74fe78e713040e3e85f206e8d26f5b8d8ef27dd94c2afccf3cd0f1f982c5e6c30c5966f2cdb774c7a2a8052d1a5cb324626b1997a9e75f5a7bb7d4a5e99376a diff --git a/dev-python/pytest-flakes/metadata.xml b/dev-python/pytest-flakes/metadata.xml new file mode 100644 index 00000000000..9d43655030c --- /dev/null +++ b/dev-python/pytest-flakes/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>chain...@gentoo.org</email> + <name>Tony Vroon</name> + </maintainer> + + <upstream> + <remote-id type="pypi">pytest-flakes</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/pytest-flakes/pytest-flakes-4.0.0.ebuild b/dev-python/pytest-flakes/pytest-flakes-4.0.0.ebuild new file mode 100644 index 00000000000..976094bbe3a --- /dev/null +++ b/dev-python/pytest-flakes/pytest-flakes-4.0.0.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3) + +inherit distutils-r1 + +DESCRIPTION="Collection of small Python functions & classes" +HOMEPAGE="https://pypi.org/project/python-utils/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="doc test" + +RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/pytest[${PYTHON_USEDEP}]" +BDEPEND="${RDEPEND}" + +python_test() { + "${PYTHON}" ./test_flakes.py || die "Tests failed under ${EPYTHON}" +}