From 078203846c453d46a62c7a929d260adf6272416f Mon Sep 17 00:00:00 2001 From: "Raphaël Barrois (Xelnor)" Date: Fri, 9 Mar 2012 23:47:19 +0000 Subject: dev-python/factory_boy: New Ebuild for bug 407589, thanks to hasufell and Tommy[D] svn path=/sunrise/; revision=12789 --- dev-python/factory_boy/ChangeLog | 10 ++++++ dev-python/factory_boy/Manifest | 4 +++ dev-python/factory_boy/factory_boy-1.1.3.ebuild | 47 +++++++++++++++++++++++++ dev-python/factory_boy/metadata.xml | 5 +++ 4 files changed, 66 insertions(+) create mode 100644 dev-python/factory_boy/ChangeLog create mode 100644 dev-python/factory_boy/Manifest create mode 100644 dev-python/factory_boy/factory_boy-1.1.3.ebuild create mode 100644 dev-python/factory_boy/metadata.xml (limited to 'dev-python') diff --git a/dev-python/factory_boy/ChangeLog b/dev-python/factory_boy/ChangeLog new file mode 100644 index 000000000..fac12670e --- /dev/null +++ b/dev-python/factory_boy/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-python/factory_boy +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*factory_boy-1.1.3 (09 Mar 2012) + + 09 Mar 2012; Raphaël Barrois (Xelnor) + +factory_boy-1.1.3.ebuild, +metadata.xml: + New Ebuild for bug 407589, thanks to hasufell and Tommy[D] + diff --git a/dev-python/factory_boy/Manifest b/dev-python/factory_boy/Manifest new file mode 100644 index 000000000..91dd0269e --- /dev/null +++ b/dev-python/factory_boy/Manifest @@ -0,0 +1,4 @@ +DIST factory_boy-1.1.3.tar.gz 25842 RMD160 281577bc611f8814eb5c7eada52a4b6a259ec1eb SHA1 2e5f3d151fc3d98c065e77d59b9be351c80ba289 SHA256 eb987728d92809c0129368528f8791dbe7a628762d4da3556502b866b96fbf5f +EBUILD factory_boy-1.1.3.ebuild 911 RMD160 2711fee5b43b5d2c0101f5a94844066648802788 SHA1 5fa80ab47ddaa3280bce4e45b0766e4f2694e75c SHA256 ca8167bce10e73546220a7155753b511343a9312e2f8a31d6b533404e1be4b3e +MISC ChangeLog 341 RMD160 907acc7980e4fff74b0690308e4484ca95cf3e59 SHA1 9b11fd0a6fbd6e713f043bc1552fafe876fb2a63 SHA256 ee79d644fc9ed50757d7a8bcf5470efa1b9372c3f7acbe144628304483d7f41c +MISC metadata.xml 208 RMD160 c18611400760e42bdd001905be0a63c2e963bcea SHA1 595816105cac477cb85792a182e15888029118a1 SHA256 c4841c87f0c2b9b5e679a27dc72180be8d508fb3f5df0fbab2ec2c805c0a6d82 diff --git a/dev-python/factory_boy/factory_boy-1.1.3.ebuild b/dev-python/factory_boy/factory_boy-1.1.3.ebuild new file mode 100644 index 000000000..9f3e070b8 --- /dev/null +++ b/dev-python/factory_boy/factory_boy-1.1.3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +PYTHON_DEPEND="2:2.5" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit distutils + +DESCRIPTION="A versatile test fixtures replacement" +HOMEPAGE="http://pypi.python.org/pypi/factory_boy/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +RDEPEND="" +DEPEND="doc? ( dev-python/sphinx )" + +src_compile() { + distutils_src_compile + + if use doc; then + einfo "Generation of documentation" + emake -C docs html || die "Generation of documentation failed" + fi +} + +src_test() { + testing() { + "$(PYTHON)" setup.py test || return 1 + } + python_execute_function testing +} + +src_install() { + distutils_src_install + + if use doc; then + dohtml -r -A txt docs/_build/html/* || die "Installation of documentation failed" + fi +} diff --git a/dev-python/factory_boy/metadata.xml b/dev-python/factory_boy/metadata.xml new file mode 100644 index 000000000..31dc017fa --- /dev/null +++ b/dev-python/factory_boy/metadata.xml @@ -0,0 +1,5 @@ + + + +maintainer-wanted@gentoo.org + -- cgit v1.2.3-65-gdbad