summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-09-14 21:38:27 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-09-14 21:38:27 +0000
commitee2699499178e5b04cae3f15a7980d098bbf1ee2 (patch)
tree856c8afb90873039296f5ba1a81ce3d2e1c8fd25 /dev-python/paste
parentDelete older ebuild. (diff)
downloadgentoo-2-ee2699499178e5b04cae3f15a7980d098bbf1ee2.tar.gz
gentoo-2-ee2699499178e5b04cae3f15a7980d098bbf1ee2.tar.bz2
gentoo-2-ee2699499178e5b04cae3f15a7980d098bbf1ee2.zip
Version bump.
(Portage version: 2.2_rc81_p26/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/paste')
-rw-r--r--dev-python/paste/ChangeLog8
-rw-r--r--dev-python/paste/paste-1.7.5.ebuild68
2 files changed, 73 insertions, 3 deletions
diff --git a/dev-python/paste/ChangeLog b/dev-python/paste/ChangeLog
index d8e478b8e333..eed2d8b49962 100644
--- a/dev-python/paste/ChangeLog
+++ b/dev-python/paste/ChangeLog
@@ -1,10 +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.12 2010/09/14 21:37:14 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/paste/ChangeLog,v 1.13 2010/09/14 21:38:27 arfrever Exp $
+
+*paste-1.7.5 (14 Sep 2010)
14 Sep 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
- -paste-1.7.4.ebuild:
- Delete.
+ -paste-1.7.4.ebuild, +paste-1.7.5.ebuild:
+ Version bump.
*paste-1.7.4 (26 Jun 2010)
diff --git a/dev-python/paste/paste-1.7.5.ebuild b/dev-python/paste/paste-1.7.5.ebuild
new file mode 100644
index 000000000000..82a3e9aa779a
--- /dev/null
+++ b/dev-python/paste/paste-1.7.5.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.ebuild,v 1.1 2010/09/14 21:38:27 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
+}