diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-02-27 23:29:54 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-02-27 23:29:54 +0000 |
commit | 76461bf2a2dfe2c7e602067ca2ee167680262668 (patch) | |
tree | 67d0cf6212d426269f333d0c0b9d79834f33c6d1 /dev-python/fudge | |
parent | Delete older ebuild. (diff) | |
download | historical-76461bf2a2dfe2c7e602067ca2ee167680262668.tar.gz historical-76461bf2a2dfe2c7e602067ca2ee167680262668.tar.bz2 historical-76461bf2a2dfe2c7e602067ca2ee167680262668.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha25_p9/cvs/Linux x86_64
Diffstat (limited to 'dev-python/fudge')
-rw-r--r-- | dev-python/fudge/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/fudge/Manifest | 6 | ||||
-rw-r--r-- | dev-python/fudge/fudge-1.0.2.ebuild | 60 |
3 files changed, 70 insertions, 4 deletions
diff --git a/dev-python/fudge/ChangeLog b/dev-python/fudge/ChangeLog index 0dd069dcd9a1..d5eacb1bc0c5 100644 --- a/dev-python/fudge/ChangeLog +++ b/dev-python/fudge/ChangeLog @@ -1,6 +1,12 @@ # 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.2 2011/02/20 19:28:12 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/fudge/ChangeLog,v 1.3 2011/02/27 23:29:54 arfrever Exp $ + +*fudge-1.0.2 (27 Feb 2011) + + 27 Feb 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + -fudge-1.0.1.ebuild, +fudge-1.0.2.ebuild: + Version bump. *fudge-1.0.1 (20 Feb 2011) diff --git a/dev-python/fudge/Manifest b/dev-python/fudge/Manifest index c4832e0ee797..ac27c783ba2d 100644 --- a/dev-python/fudge/Manifest +++ b/dev-python/fudge/Manifest @@ -1,4 +1,4 @@ -DIST fudge-1.0.1.tar.gz 84407 RMD160 e42345f0fbcab863ce3ebaff17177b12e6b597ec SHA1 e657eb1e6213a5ea57f58b1c8c0fc4c6070b0d65 SHA256 2396e62c52fb5502c3fd84e1c81cba8ed31ecc4e09063f60624f195523298531 -EBUILD fudge-1.0.1.ebuild 1355 RMD160 2a51700ede5aab7195152391875cb9a7e2324a9a SHA1 0041b0950f9e22de354bfbc7bfcf8b0748de1709 SHA256 a786d9e38a6e190dea89f81565bcd92dfc6018c0ceb59f53491e29a6e2aa6e91 -MISC ChangeLog 551 RMD160 28b60ab6a8d501ba840b80eada251809ba789310 SHA1 77ee58d3296f792c4c5bd5a9967f0c894ee3fdc4 SHA256 e10c02cdbce6c04fb5164d54f00c25582f0e2c6abe085600ba307c63fddb746b +DIST fudge-1.0.2.tar.gz 85897 RMD160 b917e435b538620bd37bfbc363d7f3cec8d9ee93 SHA1 62b62bd74bca6d9328d9ae33671989d37959c84b SHA256 817299799d1a9486316ad8b23973cd021e346578c2b446495152883f140a41a3 +EBUILD fudge-1.0.2.ebuild 1355 RMD160 1eb834a3ed7f1427b45d5b4faaebec7f84ae9225 SHA1 5c51beb4725630bf74b8e6c3558e8ab41eb5239a SHA256 f0f365b4d6759e69ec58ae2080ff85edbd28d84861f02990ebcc0a7a1267f22a +MISC ChangeLog 713 RMD160 12034abb94ace1485e208cdecfa54eb62649e24e SHA1 788bfc8c5cced25d97c2b9b030389f591c7af335 SHA256 9ba2b74b6dbf34fffd934dfc1656c8818ce963213ab19c06444b823407841cc4 MISC metadata.xml 160 RMD160 e730f96ab97c5be577a6d6d05f04990374a0dffb SHA1 2aa5e6be9c265c0e7bceb78ee9fd20df5f818e36 SHA256 6cd954a9de2307c57d32b25fa3599dee2908a4ddc6a98594f593d53577307a3a diff --git a/dev-python/fudge/fudge-1.0.2.ebuild b/dev-python/fudge/fudge-1.0.2.ebuild new file mode 100644 index 000000000000..10e4bf3cd95b --- /dev/null +++ b/dev-python/fudge/fudge-1.0.2.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/fudge/fudge-1.0.2.ebuild,v 1.1 2011/02/27 23:29:54 arfrever 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 +} |