diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2011-02-04 14:13:38 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2011-02-04 14:13:38 +0000 |
commit | 25730d92893824e20720cb4c7f25836428d569df (patch) | |
tree | d9c17288d7b227c04e13161560d389fe8fa2f036 /dev-python/restkit | |
parent | new upstream release. fixes bug #353427. (diff) | |
download | gentoo-2-25730d92893824e20720cb4c7f25836428d569df.tar.gz gentoo-2-25730d92893824e20720cb4c7f25836428d569df.tar.bz2 gentoo-2-25730d92893824e20720cb4c7f25836428d569df.zip |
Version bump.
(Portage version: 2.1.9.35/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/restkit')
-rw-r--r-- | dev-python/restkit/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/restkit/restkit-3.0.2.ebuild | 54 |
2 files changed, 60 insertions, 1 deletions
diff --git a/dev-python/restkit/ChangeLog b/dev-python/restkit/ChangeLog index d030857c0068..0d2e8ffc1841 100644 --- a/dev-python/restkit/ChangeLog +++ b/dev-python/restkit/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/restkit # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/restkit/ChangeLog,v 1.3 2011/01/11 08:16:45 dev-zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/restkit/ChangeLog,v 1.4 2011/02/04 14:13:38 dev-zero Exp $ + +*restkit-3.0.2 (04 Feb 2011) + + 04 Feb 2011; Tiziano Müller <dev-zero@gentoo.org> +restkit-3.0.2.ebuild: + Version bump. *restkit-2.3.3 (11 Jan 2011) diff --git a/dev-python/restkit/restkit-3.0.2.ebuild b/dev-python/restkit/restkit-3.0.2.ebuild new file mode 100644 index 000000000000..b6386978c55a --- /dev/null +++ b/dev-python/restkit/restkit-3.0.2.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/restkit/restkit-3.0.2.ebuild,v 1.1 2011/02/04 14:13:38 dev-zero Exp $ + +EAPI=3 + +DISTUTILS_SRC_TEST="nosetests" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3*" + +inherit distutils + +DESCRIPTION="A HTTP ressource kit for Python." +HOMEPAGE="http://github.com/benoitc/restkit http://benoitc.github.com/restkit/ http://pypi.python.org/pypi/restkit" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+cli doc examples" + +DEPEND="dev-python/setuptools + doc? ( dev-python/sphinx + dev-python/epydoc ) + test? ( dev-python/webob )" +RDEPEND="cli? ( dev-python/ipython + dev-python/setuptools )" + +DOCS="NOTICE README.rst TODO.txt doc/*.rst" + +# TODO +# - optionally depend on gevent and/or eventlet + +src_compile() { + distutils_src_compile + + if use doc ; then + cd doc + PYTHONPATH="${S}" emake html || die "building docs failed" + fi +} + +src_install() { + distutils_src_install + + use cli || rm "${D}"/usr/bin/restcli* + + use doc && dohtml -r doc/_build/html/* + if use examples ; then + insinto /usr/share/doc/${PF} + doins -r examples + fi +} |