summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2013-07-03 13:26:20 +0000
committerJustin Lecher <jlec@gentoo.org>2013-07-03 13:26:20 +0000
commitb9e278fa873eee6b65b83a54d64dd778e8e65580 (patch)
tree8d1aa4a25e98dab2e75ad1fdfc40be615d33761e /dev-python
parentdev-python/wsgiintercept: New addition written by me (diff)
downloadgentoo-2-b9e278fa873eee6b65b83a54d64dd778e8e65580.tar.gz
gentoo-2-b9e278fa873eee6b65b83a54d64dd778e8e65580.tar.bz2
gentoo-2-b9e278fa873eee6b65b83a54d64dd778e8e65580.zip
dev-python/pastescript: Bump to new python eclasses
(Portage version: 2.2.0_alpha186/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pastescript/ChangeLog10
-rw-r--r--dev-python/pastescript/metadata.xml8
-rw-r--r--dev-python/pastescript/pastescript-1.7.5-r2.ebuild55
3 files changed, 67 insertions, 6 deletions
diff --git a/dev-python/pastescript/ChangeLog b/dev-python/pastescript/ChangeLog
index 85452f6802b5..982c3591f48d 100644
--- a/dev-python/pastescript/ChangeLog
+++ b/dev-python/pastescript/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/pastescript
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pastescript/ChangeLog,v 1.11 2012/11/17 19:19:20 floppym Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pastescript/ChangeLog,v 1.12 2013/07/03 13:26:20 jlec Exp $
+
+*pastescript-1.7.5-r2 (03 Jul 2013)
+
+ 03 Jul 2013; Justin Lecher <jlec@gentoo.org> +pastescript-1.7.5-r2.ebuild,
+ metadata.xml:
+ Bump to new python eclasses
*pastescript-1.7.5-r1 (17 Nov 2012)
diff --git a/dev-python/pastescript/metadata.xml b/dev-python/pastescript/metadata.xml
index 32b47e0586a2..6b387078e551 100644
--- a/dev-python/pastescript/metadata.xml
+++ b/dev-python/pastescript/metadata.xml
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <herd>python</herd>
- <upstream>
- <remote-id type="pypi">PasteScript</remote-id>
- </upstream>
+ <herd>python</herd>
+ <upstream>
+ <remote-id type="pypi">PasteScript</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/dev-python/pastescript/pastescript-1.7.5-r2.ebuild b/dev-python/pastescript/pastescript-1.7.5-r2.ebuild
new file mode 100644
index 000000000000..9fb0e297bfa6
--- /dev/null
+++ b/dev-python/pastescript/pastescript-1.7.5-r2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pastescript/pastescript-1.7.5-r2.ebuild,v 1.1 2013/07/03 13:26:20 jlec Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python{2_6,2_7} )
+
+inherit distutils-r1
+
+MY_PN="PasteScript"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A pluggable command-line frontend, including commands to setup package file layouts"
+HOMEPAGE="http://pythonpaste.org/script/ http://pypi.python.org/pypi/PasteScript"
+SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x86-macos"
+IUSE="doc"
+
+RDEPEND="
+ dev-python/cheetah[${PYTHON_USEDEP}]
+ >=dev-python/paste-1.3[${PYTHON_USEDEP}]
+ dev-python/pastedeploy[${PYTHON_USEDEP}]"
+DEPEND="${RDEPEND}
+ dev-python/setuptools[${PYTHON_USEDEP}]
+ doc? (
+ dev-python/pygments[${PYTHON_USEDEP}]
+ dev-python/sphinx[${PYTHON_USEDEP}]
+ )"
+
+# Tests are broken.
+RESTRICT="test"
+
+S="${WORKDIR}/${MY_P}"
+
+PATCHES=( "${FILESDIR}/${PN}-setup.py-exclude-tests.patch" )
+
+python_compile_all() {
+ if use doc; then
+ einfo "Generation of documentation"
+ esetup.py build_sphinx
+ fi
+}
+
+python_install_all() {
+ distutils-r1_python_install_all
+
+ if use doc; then
+ cd "${BUILD_DIR}"/sphinx/html || die
+ dohtml -r [a-z]* _static "${ED}usr/share/doc/${PF}/html"
+ fi
+}