summaryrefslogtreecommitdiff
path: root/dev-python/fudge
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-04-12 03:41:30 +0100
commit623ee73d661e5ed8475cb264511f683407d87365 (patch)
tree993eb27c93ec7a2d2d19550300d888fc1fed9e69 /dev-python/fudge
parentceeeb463cc1eef97fd62eaee8bf2196ba04bc384 (diff)
gentoo Easter resync : 12.04.2020
Diffstat (limited to 'dev-python/fudge')
-rw-r--r--dev-python/fudge/Manifest4
-rw-r--r--dev-python/fudge/fudge-1.1.0.ebuild2
-rw-r--r--dev-python/fudge/fudge-1.1.1.ebuild35
3 files changed, 39 insertions, 2 deletions
diff --git a/dev-python/fudge/Manifest b/dev-python/fudge/Manifest
index 0942db995cb6..0d6257c31c47 100644
--- a/dev-python/fudge/Manifest
+++ b/dev-python/fudge/Manifest
@@ -1,3 +1,5 @@
DIST fudge-1.1.0.tar.gz 86418 BLAKE2B 3264b693bb8d4e8a0849c480b48ee79e4e99a88a819f94bfab9c098fd8ccef1171f3f0a8ca7632f29b2c22998d0847e53fcc613bbdf8ac4c1fe33aeae406997c SHA512 061d9303d28509d4e22eb2036d041359f872be85911dd85bb16e4d13bfc1cf27637f8206f215f4a37d63108ab2500d2af3f6a1a3e206fe461ead9163e0519417
-EBUILD fudge-1.1.0.ebuild 879 BLAKE2B 366f9dd0c6d672c0410e5505b27081e399b6f0bcb3016de994d5cbdb5818971eebfc676f3335512f245300cb48fde58215223d5052b643ad3b9d873e12927633 SHA512 c5c4b698897d22ed243731e9fe1f70b4f25450c6db38f5ac76b01fcccd37f0161fca128a3da4458b588b0cf11a10cb5c75a4ae6987f901642b3040b6a4947a5e
+DIST fudge-1.1.1.tar.gz 87604 BLAKE2B 2660022089ab50139fd4a63aa212c0f53d04557571fa444cc2fd74dd556475c04d3563359c49f0252d811b93a3d4215dddca32c7db91b81682adae2a7fb7f772 SHA512 4a5043048aef1bc4c7806b7a13e138810295f882739f728115a60f2b0157716d85a7bed8a3641b76213b788c74fe586f57854f96bf7a745d6006ad6e67dca136
+EBUILD fudge-1.1.0.ebuild 885 BLAKE2B 9d46f2f811f46a597a34cfd718f17b18a67777aaba1ed16d6c768e83752f8c42db7c0f52f2bcf5b95965189462c4a4652c273e7c255af73cb38627bd58924b75 SHA512 477739944e25f120b9fd845439f6dd81107e93eb28a40c178a89f23d6a001620e0a2746d7e37b3fa6c50e929903094461bd523eddd5399ea74b4089ed357acd9
+EBUILD fudge-1.1.1.ebuild 835 BLAKE2B c69292fe87aecf75687378ad10ef940f9a7922aee380828088e02d68c63bc5015a1bee12cb748dd8d68f1daa0551b6b2ba791e1246e3cb5ea594a96d1c18c2fd SHA512 e6115a6d10f830786d0535e3a1ecdbd09f512876525d2be3d94f66188606ed8674cf19dcda4919f242c36b7b811ce0f9e500bdc47d124dcbafeabb28be97257e
MISC metadata.xml 308 BLAKE2B 515b12cd0857952a40c85fdb530340408506cdc4b33f54609b1489fd9ca458f8ee25d195f7cf3b151ca2d219451766714406d7788d7fabc718d2f0f234e5e588 SHA512 b453f365fc5bb8e91cf95982d92096d7f952f4d4cdef59ec1cc41e53a6e2e4861d815db845174952791a1ff67007c8c076151b2a12a1730d3ea03471cab02c56
diff --git a/dev-python/fudge/fudge-1.1.0.ebuild b/dev-python/fudge/fudge-1.1.0.ebuild
index 95bdaf07f19e..3d193d0bcdf6 100644
--- a/dev-python/fudge/fudge-1.1.0.ebuild
+++ b/dev-python/fudge/fudge-1.1.0.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7,8} )
inherit distutils-r1
diff --git a/dev-python/fudge/fudge-1.1.1.ebuild b/dev-python/fudge/fudge-1.1.1.ebuild
new file mode 100644
index 000000000000..854bc14d6fe0
--- /dev/null
+++ b/dev-python/fudge/fudge-1.1.1.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit distutils-r1
+
+DESCRIPTION="Replace real objects with fakes (mocks, stubs, etc) while testing"
+HOMEPAGE="http://farmdev.com/projects/fudge/ https://pypi.org/project/fudge/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="doc test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
+ test? ( dev-python/nose[${PYTHON_USEDEP}] )
+"
+
+python_compile_all() {
+ use doc && emake -C docs html
+}
+
+python_test() {
+ nosetests -w "${BUILD_DIR}"/lib || die "Tests fail with ${EPYTHON}"
+}
+
+python_install_all() {
+ use doc && local HTML_DOCS=( docs/_build/html/. )
+ distutils-r1_python_install_all
+}