diff options
author | Patrick Lauer <patrick@gentoo.org> | 2009-01-04 19:00:13 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2009-01-04 19:00:13 +0000 |
commit | ea742ed066c747fe282376bd70e98520321197ce (patch) | |
tree | 942b9f5213e3e43d876fe11fb1225196ffba1111 /dev-python/pylons | |
parent | old (diff) | |
download | gentoo-2-ea742ed066c747fe282376bd70e98520321197ce.tar.gz gentoo-2-ea742ed066c747fe282376bd70e98520321197ce.tar.bz2 gentoo-2-ea742ed066c747fe282376bd70e98520321197ce.zip |
Bump to 0.9.6.2, fixes bug #176640
(Portage version: 2.2_rc20/cvs/Linux 2.6.28 x86_64)
Diffstat (limited to 'dev-python/pylons')
-rw-r--r-- | dev-python/pylons/ChangeLog | 9 | ||||
-rw-r--r-- | dev-python/pylons/pylons-0.9.6.2.ebuild | 68 |
2 files changed, 75 insertions, 2 deletions
diff --git a/dev-python/pylons/ChangeLog b/dev-python/pylons/ChangeLog index e0da4dc3728a..1f5a3540224a 100644 --- a/dev-python/pylons/ChangeLog +++ b/dev-python/pylons/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/pylons -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/pylons/ChangeLog,v 1.3 2007/07/04 20:19:28 lucass Exp $ +# 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 $ + +*pylons-0.9.6.2 (04 Jan 2009) + + 04 Jan 2009; Patrick Lauer <patrick@gentoo.org> +pylons-0.9.6.2.ebuild: + Bump to 0.9.6.2, fixes bug #176640 04 Jul 2007; Lukasz Strzygowski <lucass@gentoo.org> pylons-0.9.4.1-r1.ebuild: diff --git a/dev-python/pylons/pylons-0.9.6.2.ebuild b/dev-python/pylons/pylons-0.9.6.2.ebuild new file mode 100644 index 000000000000..239f76562b06 --- /dev/null +++ b/dev-python/pylons/pylons-0.9.6.2.ebuild @@ -0,0 +1,68 @@ +# 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.6.2.ebuild,v 1.1 2009/01/04 19:00:13 patrick Exp $ + +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="doc" + +RDEPEND=">=dev-python/routes-1.6.2 + >=dev-python/webhelpers-0.2.2 + >=dev-python/beaker-0.6.2 + >=dev-python/paste-1.1.1 + >=dev-python/pastedeploy-1.0 + >=dev-python/pastescript-1.0 + >=dev-python/myghty-1.1 + >=dev-python/formencode-0.6 + >=dev-python/simplejson-1.4 + >=dev-python/nose-0.9.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" +} |