dev-python/flexmock: Initial commit on v0.10.2
authorNelo-T. Wallus <nelo@wallus.de>
Sun, 15 Apr 2018 09:21:45 +0000 (11:21 +0200)
committerMichał Górny <mgorny@gentoo.org>
Wed, 2 May 2018 17:05:00 +0000 (19:05 +0200)
Package-Manager: Portage-2.3.26, Repoman-2.3.7

dev-python/flexmock/Manifest [new file with mode: 0644]
dev-python/flexmock/flexmock-0.10.2.ebuild [new file with mode: 0644]
dev-python/flexmock/metadata.xml [new file with mode: 0644]

diff --git a/dev-python/flexmock/Manifest b/dev-python/flexmock/Manifest
new file mode 100644 (file)
index 0000000..3d1cb4b
--- /dev/null
@@ -0,0 +1 @@
+DIST flexmock-0.10.2.tar.gz 44425 BLAKE2B e49db5b7a4a739f72a2560c52d0493cc284641f7c54d11e67a4c40ae3681ed2ca22fdc17c9f8ffc667bef409e1ecb5e36acdcd73a968984a38992927ff7c416f SHA512 6824da47af260a93ad685b66bcbd2d9a93f98eec218242e0dd9ef885594d9218e4c7170c832a0b3ea3cf201896ec1efc2afacbffe1fc5dab032240369d7b3ac3
diff --git a/dev-python/flexmock/flexmock-0.10.2.ebuild b/dev-python/flexmock/flexmock-0.10.2.ebuild
new file mode 100644 (file)
index 0000000..21a1616
--- /dev/null
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{4,5,6} )
+
+inherit distutils-r1
+
+DESCRIPTION="Testing library to create mocks, stubs and fakes"
+HOMEPAGE="http://flexmock.readthedocs.org/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+DEPEND="
+       test? (
+               dev-python/pytest[${PYTHON_USEDEP}]
+       )
+       "
+RDEPEND=""
+
+python_install_all() {
+       distutils-r1_python_install_all
+       dodoc -r  docs
+}
+
+python_test() {
+       pytest -vv tests || die "pytest failed"
+}
diff --git a/dev-python/flexmock/metadata.xml b/dev-python/flexmock/metadata.xml
new file mode 100644 (file)
index 0000000..b15f95a
--- /dev/null
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>nelo@wallus.de</email>
+               <name>Nelo-Thara Wallus</name>
+       </maintainer>
+       <maintainer type="person">
+               <email>polynomial-c@gentoo.org</email>
+               <name>Lars Wendler</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>proxy-maint@gentoo.org</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">bkabrda/flexmock</remote-id>
+               <remote-id type="pypi">flexmock</remote-id>
+       </upstream>
+</pkgmetadata>