summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2012-05-16 15:42:54 +0000
committerMike Gilbert <floppym@gentoo.org>2012-05-16 15:42:54 +0000
commit3d98c9e44e16f5c95259f37afee25caebf8594fc (patch)
treeea1bda72681cbbd13180a9ef99f7b83bc7e79470 /dev-python/fudge
parentStable for HPPA (bug #413807). (diff)
downloadhistorical-3d98c9e44e16f5c95259f37afee25caebf8594fc.tar.gz
historical-3d98c9e44e16f5c95259f37afee25caebf8594fc.tar.bz2
historical-3d98c9e44e16f5c95259f37afee25caebf8594fc.zip
Add old version needed for dev-python/fabric test suite.
Package-Manager: portage-2.2.0_alpha105/cvs/Linux x86_64
Diffstat (limited to 'dev-python/fudge')
-rw-r--r--dev-python/fudge/ChangeLog9
-rw-r--r--dev-python/fudge/Manifest12
-rw-r--r--dev-python/fudge/fudge-0.9.6.ebuild60
3 files changed, 74 insertions, 7 deletions
diff --git a/dev-python/fudge/ChangeLog b/dev-python/fudge/ChangeLog
index 8e0531e4835b..6064af90b2ca 100644
--- a/dev-python/fudge/ChangeLog
+++ b/dev-python/fudge/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/fudge
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/fudge/ChangeLog,v 1.4 2011/03/22 22:33:49 arfrever Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/fudge/ChangeLog,v 1.5 2012/05/16 15:42:54 floppym Exp $
+
+*fudge-0.9.6 (16 May 2012)
+
+ 16 May 2012; Mike Gilbert <floppym@gentoo.org> +fudge-0.9.6.ebuild:
+ Add old version needed for dev-python/fabric test suite.
*fudge-1.0.3 (22 Mar 2011)
diff --git a/dev-python/fudge/Manifest b/dev-python/fudge/Manifest
index 1d3050047bbb..69126ed56c2d 100644
--- a/dev-python/fudge/Manifest
+++ b/dev-python/fudge/Manifest
@@ -1,14 +1,16 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA512
+Hash: SHA256
+DIST fudge-0.9.6.tar.gz 81653 RMD160 84ff8e37bc1f8a8943e169c9965982a2ad24969e SHA1 fcaf36b5db5b8dfb676ac666b77e43c0d26e32e0 SHA256 34690c4692e8717f4d6a2ab7d841070c93c8d0ea0d2615b47064e291f750b1a0
DIST fudge-1.0.3.tar.gz 87558 RMD160 731a0062160a718e3d13bbffc1f5d560ba869e9b SHA1 ce40324d5cff96bd8db60810f56407f950987167 SHA256 f8c8bfb3c0199dd06108c0c5a80e3645c7a071e0917b1a3bc73c761800809251
+EBUILD fudge-0.9.6.ebuild 1354 RMD160 907b192a0c691f9967c76172dc5f7d33fe5ec6bb SHA1 1499f488db57254e48705e30af023f30e14449b3 SHA256 516dab12e5c413fe96a2ce2564ec469dd3bada84e29f00aec13caa0b2fb08631
EBUILD fudge-1.0.3.ebuild 1355 RMD160 60f4a5cccd102e8e1b085901f88079d7ead87216 SHA1 63708f68ac3e861a3546f5840a65a1a53f04f67e SHA256 4cbfee2df96fe8634567c9b44e5c6c7d9c844e089e8880edd4fad437cf2f12b7
-MISC ChangeLog 875 RMD160 038f5949ad3075f31ecf010aa764c0fb87e9f578 SHA1 14b6d0c3a767856e4ba0318dcb3a8b7692377f73 SHA256 9711f9dd03d9a6487ff1a8afb95ec36183997478a93dd29de92a6367037b87a5
+MISC ChangeLog 1032 RMD160 511ce41979b258ff8de2b53627bb137150341fe6 SHA1 042e9e57b90b8095714ea09ac9a962816a232d31 SHA256 a158b60ac6122d802a1195d511d9811d4c4bcaa4e78f9c9e44ec380dccf52b44
MISC metadata.xml 228 RMD160 356243aa0d39a1ebc2194f28515ef2bfa2c63000 SHA1 c5fddbc67c31855779623d5d0396510ee08f8855 SHA256 768704275b25109de824ec3e86a53b3e8bd3b51929c9be2a66fd52595b653acb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEAREKAAYFAk93R/kACgkQuUQtlDBCeQKgpgCfURiFcHYzb1Ev5jBlcLyiMoT8
-28AAn1nerFXwjr2d+UPjAVJLAGnlOwgN
-=DPnt
+iF4EAREIAAYFAk+zywQACgkQC77qH+pIQ6QClwD/ZiSg8vATr5F5+5kyncD1gyte
+c395J5cUI3WvvtVGXhgA/iB3097SJiIU0JVAHhvFJLpCf2dL5ZlQB+Ans5ylh6gh
+=ma2J
-----END PGP SIGNATURE-----
diff --git a/dev-python/fudge/fudge-0.9.6.ebuild b/dev-python/fudge/fudge-0.9.6.ebuild
new file mode 100644
index 000000000000..2616eed2343c
--- /dev/null
+++ b/dev-python/fudge/fudge-0.9.6.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/fudge/fudge-0.9.6.ebuild,v 1.1 2012/05/16 15:42:54 floppym Exp $
+
+EAPI="3"
+SUPPORT_PYTHON_ABIS="1"
+DISTUTILS_SRC_TEST="nosetests"
+
+inherit distutils
+
+DESCRIPTION="Replace real objects with fakes (mocks, stubs, etc) while testing."
+HOMEPAGE="http://farmdev.com/projects/fudge/ http://pypi.python.org/pypi/fudge"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND="doc? ( dev-python/sphinx )"
+RDEPEND=""
+
+src_prepare() {
+ distutils_src_prepare
+ find -name "._*" -print0 | xargs -0 rm -f
+}
+
+src_compile() {
+ distutils_src_compile
+
+ if use doc; then
+ einfo "Generation of documentation"
+ pushd docs > /dev/null
+ emake html || die "Generation of documentation failed"
+ popd > /dev/null
+ fi
+}
+
+src_test() {
+ testing() {
+ nosetests build-${PYTHON_ABI}/lib
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install
+
+ delete_tests() {
+ rm -fr "${ED}$(python_get_sitedir)/fudge/tests"
+ }
+ python_execute_function -q delete_tests
+
+ if use doc; then
+ pushd docs/_build/html > /dev/null
+ insinto /usr/share/doc/${PF}/html
+ doins -r [a-z]* _static || die "Installation of documentation failed"
+ popd > /dev/null
+ fi
+}