diff options
-rw-r--r-- | dev-python/pylons/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/pylons/Manifest | 16 | ||||
-rw-r--r-- | dev-python/pylons/files/digest-pylons-0.9.4.1 | 3 | ||||
-rw-r--r-- | dev-python/pylons/metadata.xml | 5 | ||||
-rw-r--r-- | dev-python/pylons/pylons-0.9.4.1.ebuild | 75 |
5 files changed, 107 insertions, 0 deletions
diff --git a/dev-python/pylons/ChangeLog b/dev-python/pylons/ChangeLog new file mode 100644 index 000000000000..1d511b11c276 --- /dev/null +++ b/dev-python/pylons/ChangeLog @@ -0,0 +1,8 @@ +# 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.1 2007/02/28 00:08:39 dev-zero Exp $ + + 06 Feb 2007; Tiziano Müller <dev-zero@gentoo.org> +pylons-0.9.4.1.ebuild, + +metadata.xml: + Initial ebuild + diff --git a/dev-python/pylons/Manifest b/dev-python/pylons/Manifest new file mode 100644 index 000000000000..d22232d9b168 --- /dev/null +++ b/dev-python/pylons/Manifest @@ -0,0 +1,16 @@ +DIST Pylons-0.9.4.1.tar.gz 162010 RMD160 602f34c425a1c68c4197d9c0a96d2e1c7aa956d2 SHA1 91cb56761c08396c577fe09aed9edd9e153fff28 SHA256 77e5a62e3c4772c886abd1d052cbcdeec4ec6627356ad7d00525962f362cac51 +EBUILD pylons-0.9.4.1.ebuild 1666 RMD160 1485e5d0eb48cc06254b61cca6dbf742357a2687 SHA1 4cc9e5379c2ebc5f789744593593cd8708e513a7 SHA256 8a895c434e50b202bfd075e897f791bc0c6025d2247d4640222df1dff5579f7d +MD5 4d7dcb160d0e0845cc35a44682398262 pylons-0.9.4.1.ebuild 1666 +RMD160 1485e5d0eb48cc06254b61cca6dbf742357a2687 pylons-0.9.4.1.ebuild 1666 +SHA256 8a895c434e50b202bfd075e897f791bc0c6025d2247d4640222df1dff5579f7d pylons-0.9.4.1.ebuild 1666 +MISC ChangeLog 230 RMD160 4744baba663b899ed0bef2af2b106f9fe87326dc SHA1 a08becd3b47fe5977ec0247e4625b3efd1363e0b SHA256 0075e6a0e01b479d9683d2d6d6aebbfb193f0abb1261ffd18051a9a6522784c5 +MD5 4f80a19e8ff9a1a1e6769f001c81c6f7 ChangeLog 230 +RMD160 4744baba663b899ed0bef2af2b106f9fe87326dc ChangeLog 230 +SHA256 0075e6a0e01b479d9683d2d6d6aebbfb193f0abb1261ffd18051a9a6522784c5 ChangeLog 230 +MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 +MD5 71c4638c9c88af75b58e5f5cb54fe008 metadata.xml 159 +RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f metadata.xml 159 +SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 metadata.xml 159 +MD5 36b7a5800a46d5ec47b14055de5e154a files/digest-pylons-0.9.4.1 244 +RMD160 ea9079361693a4385bce857c660bfcb4c738fc9d files/digest-pylons-0.9.4.1 244 +SHA256 0afca33810feafa3bd9522cc44bbd69113fa8434e6adb010df4b23411fe2bece files/digest-pylons-0.9.4.1 244 diff --git a/dev-python/pylons/files/digest-pylons-0.9.4.1 b/dev-python/pylons/files/digest-pylons-0.9.4.1 new file mode 100644 index 000000000000..b64608a2cb27 --- /dev/null +++ b/dev-python/pylons/files/digest-pylons-0.9.4.1 @@ -0,0 +1,3 @@ +MD5 59d438240d6dce3b560d9912f2204992 Pylons-0.9.4.1.tar.gz 162010 +RMD160 602f34c425a1c68c4197d9c0a96d2e1c7aa956d2 Pylons-0.9.4.1.tar.gz 162010 +SHA256 77e5a62e3c4772c886abd1d052cbcdeec4ec6627356ad7d00525962f362cac51 Pylons-0.9.4.1.tar.gz 162010 diff --git a/dev-python/pylons/metadata.xml b/dev-python/pylons/metadata.xml new file mode 100644 index 000000000000..de483c53568f --- /dev/null +++ b/dev-python/pylons/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>python</herd> +</pkgmetadata> diff --git a/dev-python/pylons/pylons-0.9.4.1.ebuild b/dev-python/pylons/pylons-0.9.4.1.ebuild new file mode 100644 index 000000000000..515df86cdf68 --- /dev/null +++ b/dev-python/pylons/pylons-0.9.4.1.ebuild @@ -0,0 +1,75 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/pylons/pylons-0.9.4.1.ebuild,v 1.1 2007/02/28 00:08:39 dev-zero 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() { + unpack ${A} + cd "${S}" + + sed -i \ + -e 's|dest =.*|dest = docs/html|' \ + setup.cfg || die "sed failed" + sed -i \ + -e '/use_setuptools/d' \ + -e '/install_requires=\[.*\],/d' \ + -e '/install_requires/, /],/d' \ + -e '/extras_require/, /},/d' \ + setup.py || 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" +} |