dev-python/pytest-flakes: Initial commit.
authorTony Vroon <chainsaw@gentoo.org>
Fri, 1 Feb 2019 15:22:31 +0000 (15:22 +0000)
committerTony Vroon <chainsaw@gentoo.org>
Fri, 1 Feb 2019 15:52:12 +0000 (15:52 +0000)
Dependency for dev-python/python-utils.

Signed-Off-By: Tony Vroon <chainsaw@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

dev-python/pytest-flakes/Manifest [new file with mode: 0644]
dev-python/pytest-flakes/metadata.xml [new file with mode: 0644]
dev-python/pytest-flakes/pytest-flakes-4.0.0.ebuild [new file with mode: 0644]

diff --git a/dev-python/pytest-flakes/Manifest b/dev-python/pytest-flakes/Manifest
new file mode 100644 (file)
index 0000000..d32b597
--- /dev/null
@@ -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 (file)
index 0000000..9d43655
--- /dev/null
@@ -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>chainsaw@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 (file)
index 0000000..976094b
--- /dev/null
@@ -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}"
+}