diff options
author | Patrick Lauer <patrick@gentoo.org> | 2012-02-07 08:03:54 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2012-02-07 08:03:54 +0000 |
commit | 3fcb87d70a64562b7fc0554516c6a15fbf1eddd5 (patch) | |
tree | 5f274187f40ee59b78d979b685c03e55a45afae1 /dev-python/colander | |
parent | Remove old. (diff) | |
download | gentoo-2-3fcb87d70a64562b7fc0554516c6a15fbf1eddd5.tar.gz gentoo-2-3fcb87d70a64562b7fc0554516c6a15fbf1eddd5.tar.bz2 gentoo-2-3fcb87d70a64562b7fc0554516c6a15fbf1eddd5.zip |
Bump for #402445
(Portage version: 2.2.0_alpha85/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/colander')
-rw-r--r-- | dev-python/colander/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/colander/colander-0.9.4.ebuild | 53 |
2 files changed, 60 insertions, 2 deletions
diff --git a/dev-python/colander/ChangeLog b/dev-python/colander/ChangeLog index fdf6f8b590f5..feae18b01c32 100644 --- a/dev-python/colander/ChangeLog +++ b/dev-python/colander/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/colander -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/colander/ChangeLog,v 1.1 2011/07/30 01:43:51 rafaelmartins Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/colander/ChangeLog,v 1.2 2012/02/07 08:03:54 patrick Exp $ + +*colander-0.9.4 (07 Feb 2012) + + 07 Feb 2012; Patrick Lauer <patrick@gentoo.org> +colander-0.9.4.ebuild: + Bump for #402445 *colander-0.9.3 (30 Jul 2011) diff --git a/dev-python/colander/colander-0.9.4.ebuild b/dev-python/colander/colander-0.9.4.ebuild new file mode 100644 index 000000000000..7453d0a3b0fb --- /dev/null +++ b/dev-python/colander/colander-0.9.4.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/colander/colander-0.9.4.ebuild,v 1.1 2012/02/07 08:03:54 patrick Exp $ + +EAPI=3 + +SUPPORT_PYTHON_ABIS=1 +PYTHON_DEPEND="2" +RESTRICT_PYTHON_ABIS="3.*" +DISTUTILS_SRC_TEST="setup.py" + +inherit distutils + +DESCRIPTION="A simple schema-based serialization and deserialization library" +HOMEPAGE="http://docs.repoze.org/colander http://pypi.python.org/pypi/colander" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="repoze" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +RDEPEND="dev-python/translationstring + dev-python/iso8601" + +DEPEND="${RDEPEND} + dev-python/setuptools + doc? ( dev-python/sphinx )" + +src_prepare() { + distutils_src_prepare + + # fix sphinx theme. pylons theme not include in source + sed -i -e 's/pylons/default/' docs/conf.py || die 'sed failed.' +} + +src_compile() { + distutils_src_compile + + if use doc; then + cd docs + mkdir _themes + emake html || die "make html failed" + fi +} + +src_install() { + distutils_src_install + + if use doc; then + dohtml -r docs/_build/html/* || die "dohtml failed" + fi +} |