diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-09-22 20:32:47 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2010-09-22 20:32:47 +0000 |
commit | 8ba7f71bd6c241b595cb73cb9871e363f4726df3 (patch) | |
tree | 551c0cc9eeed543c0dcee7f6a644e14f790d18e5 /dev-python/paste | |
parent | Delete older ebuild. (diff) | |
download | gentoo-2-8ba7f71bd6c241b595cb73cb9871e363f4726df3.tar.gz gentoo-2-8ba7f71bd6c241b595cb73cb9871e363f4726df3.tar.bz2 gentoo-2-8ba7f71bd6c241b595cb73cb9871e363f4726df3.zip |
Version bump.
(Portage version: 2.2_rc86_p1/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/paste')
-rw-r--r-- | dev-python/paste/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/paste/paste-1.7.5.1.ebuild | 68 |
2 files changed, 75 insertions, 1 deletions
diff --git a/dev-python/paste/ChangeLog b/dev-python/paste/ChangeLog index eed2d8b49962..3b80223c7217 100644 --- a/dev-python/paste/ChangeLog +++ b/dev-python/paste/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/paste # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/paste/ChangeLog,v 1.13 2010/09/14 21:38:27 arfrever Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/paste/ChangeLog,v 1.14 2010/09/22 20:32:47 arfrever Exp $ + +*paste-1.7.5.1 (22 Sep 2010) + + 22 Sep 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + -paste-1.7.5.ebuild, +paste-1.7.5.1.ebuild: + Version bump. *paste-1.7.5 (14 Sep 2010) diff --git a/dev-python/paste/paste-1.7.5.1.ebuild b/dev-python/paste/paste-1.7.5.1.ebuild new file mode 100644 index 000000000000..b477eb44e159 --- /dev/null +++ b/dev-python/paste/paste-1.7.5.1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/paste/paste-1.7.5.1.ebuild,v 1.1 2010/09/22 20:32:47 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" +DISTUTILS_SRC_TEST="nosetests" + +inherit distutils + +MY_PN="Paste" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Tools for using a Web Server Gateway Interface stack" +HOMEPAGE="http://pythonpaste.org http://pypi.python.org/pypi/Paste" +SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~x86-interix ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris" +IUSE="doc flup openid" + +RDEPEND="dev-python/setuptools + flup? ( dev-python/flup ) + openid? ( dev-python/python-openid )" +DEPEND="${RDEPEND} + doc? ( dev-python/sphinx )" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + distutils_src_prepare + + # Disable failing tests. + rm -f tests/test_cgiapp.py + sed \ + -e "s/test_find_file/_&/" \ + -e "s/test_deep/_&/" \ + -e "s/test_static_parser/_&/" \ + -i tests/test_urlparser.py || die "sed failed" +} + +src_compile() { + distutils_src_compile + + if use doc; then + einfo "Generation of documentation" + PYTHONPATH="." "$(PYTHON -f)" setup.py build_sphinx || die "Generation of documentation failed" + fi +} + +# Define custom src_test() due to requirement of PYTHONPATH=".". +src_test() { + python_execute_nosetests -P . +} + +src_install() { + distutils_src_install + + if use doc; then + pushd build/sphinx/html > /dev/null + docinto html + cp -R [a-z]* _static "${ED}usr/share/doc/${PF}/html" || die "Installation of documentation failed" + popd > /dev/null + fi +} |