summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-04-26 10:05:12 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-04-26 10:05:12 +0000
commit0028a1ec8dfd6ed7e20143e8e27b378fa0612ab7 (patch)
tree9fa27feaab408d093911864ae2d414b57fcb0711 /dev-python/pylons
parentBump to 1.7.3, dep for bug #260168 (diff)
downloadgentoo-2-0028a1ec8dfd6ed7e20143e8e27b378fa0612ab7.tar.gz
gentoo-2-0028a1ec8dfd6ed7e20143e8e27b378fa0612ab7.tar.bz2
gentoo-2-0028a1ec8dfd6ed7e20143e8e27b378fa0612ab7.zip
Bump to 0.9.7. Fixes #260168. Dependency changes by PLL, also has a few new useflags for optional stuff.
(Portage version: 2.2_rc31/cvs/Linux x86_64)
Diffstat (limited to 'dev-python/pylons')
-rw-r--r--dev-python/pylons/ChangeLog9
-rw-r--r--dev-python/pylons/metadata.xml8
-rw-r--r--dev-python/pylons/pylons-0.9.7.ebuild86
3 files changed, 102 insertions, 1 deletions
diff --git a/dev-python/pylons/ChangeLog b/dev-python/pylons/ChangeLog
index 1f5a3540224a..08cf821b234c 100644
--- a/dev-python/pylons/ChangeLog
+++ b/dev-python/pylons/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-python/pylons
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pylons/ChangeLog,v 1.4 2009/01/04 19:00:13 patrick Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pylons/ChangeLog,v 1.5 2009/04/26 10:05:12 patrick Exp $
+
+*pylons-0.9.7 (26 Apr 2009)
+
+ 26 Apr 2009; Patrick Lauer <patrick@gentoo.org> metadata.xml,
+ +pylons-0.9.7.ebuild:
+ Bump to 0.9.7. Fixes #260168. Dependency changes by PLL, also has a few
+ new useflags for optional stuff.
*pylons-0.9.6.2 (04 Jan 2009)
diff --git a/dev-python/pylons/metadata.xml b/dev-python/pylons/metadata.xml
index de483c53568f..856aa012052f 100644
--- a/dev-python/pylons/metadata.xml
+++ b/dev-python/pylons/metadata.xml
@@ -2,4 +2,12 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>python</herd>
+<use>
+ <flag name="cheetah">Add optional cheetah support</flag>
+ <flag name="genshi">Add optional genshi support</flag>
+ <flag name="jinja2">Add optional jinja2 support</flag>
+ <flag name="kid">Add optional kid support</flag>
+ <flag name="mako">Add optional mako support</flag>
+ <flag name="myghty">Add optional myghty support</flag>
+</use>
</pkgmetadata>
diff --git a/dev-python/pylons/pylons-0.9.7.ebuild b/dev-python/pylons/pylons-0.9.7.ebuild
new file mode 100644
index 000000000000..7b94dac86889
--- /dev/null
+++ b/dev-python/pylons/pylons-0.9.7.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pylons/pylons-0.9.7.ebuild,v 1.1 2009/04/26 10:05:12 patrick Exp $
+
+EAPI="1"
+
+NEED_PYTHON=2.3
+
+inherit distutils
+
+KEYWORDS="~amd64 ~x86"
+
+MY_PN=Pylons
+MY_P=${MY_PN}-${PV}
+
+DESCRIPTION="A lightweight web framework emphasizing flexibility and rapid development."
+HOMEPAGE="http://pylonshq.com"
+SRC_URI="http://cheeseshop.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
+LICENSE="BSD"
+SLOT="0"
+IUSE="cheetah genshi jinja2 kid +mako myghty doc"
+
+RDEPEND=">=dev-python/routes-1.10.3
+ >=dev-python/webhelpers-0.6.4
+ >=dev-python/beaker-1.2.0
+ >=dev-python/paste-1.7.2
+ >=dev-python/pastedeploy-1.3.3
+ >=dev-python/pastescript-1.7.3
+ >=dev-python/formencode-1.2.1
+ >=dev-python/simplejson-2.0.8
+ >=dev-python/decorator-2.3.2
+ >=dev-python/nose-0.10.4
+ >=dev-python/webob-0.9.6.1
+ >=dev-python/weberror-0.10.1
+ >=dev-python/webtest-1.1
+ >=dev-python/tempita-0.2
+ cheetah? (
+ >=dev-python/cheetah-1.0
+ >=dev-python/turbocheetah-0.9.5
+ )
+ genshi? ( >=dev-python/genshi-0.4.4 )
+ jinja2? ( dev-python/jinja2 )
+ kid? (
+ >=dev-python/kid-0.9
+ >=dev-python/turbokid-0.9.1
+ )
+ mako? ( >=dev-python/mako-0.2.4 )
+ myghty? ( >=dev-python/myghty-1.1 )"
+DEPEND="${RDEPEND}
+ dev-python/setuptools
+ doc? ( dev-python/pudge dev-python/buildutils )"
+
+# The tests fail, needs further investigation
+RESTRICT="test"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ distutils_src_unpack
+
+ sed -i \
+ -e 's|dest =.*|dest = docs/html|' \
+ setup.cfg || die "sed failed"
+}
+
+src_compile() {
+ distutils_src_compile
+ if use doc ; then
+ einfo "Generating docs as requested..."
+ "${python}" setup.py pudge || die "generating docs failed"
+ fi
+}
+
+src_install() {
+ distutils_src_install
+ use doc && dohtml -r docs/html/*
+}
+
+pkg_postinst() {
+ elog "pylons can make use of many other packages like:"
+ elog " cheetah, genshi, kid or pudge"
+}
+
+src_test() {
+ PYTHONPATH=. "${python}" setup.py nosetests || die "tests failed"
+}