From bb62c774fb471a2b7c584ce869c7ca8210aff58c Mon Sep 17 00:00:00 2001 From: Artur MaciÄ…g Date: Sun, 16 May 2010 00:27:37 +0200 Subject: [dev-python/routes] ebuild specific version 1.8 added; required by reddit --- dev-python/routes/Manifest | 2 ++ dev-python/routes/routes-1.8.ebuild | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 dev-python/routes/Manifest create mode 100644 dev-python/routes/routes-1.8.ebuild diff --git a/dev-python/routes/Manifest b/dev-python/routes/Manifest new file mode 100644 index 0000000..d3c5d0c --- /dev/null +++ b/dev-python/routes/Manifest @@ -0,0 +1,2 @@ +DIST Routes-1.8.tar.gz 61846 RMD160 2635df8d2c96767631db9706485a0ae29b67bcac SHA1 17608878ff88ddc6af17db5d314c7f2ec575c096 SHA256 732a8f56d26a9a37b1e800ae3fcf256a23343c3f0b7a4261a0a3706a90135bae +EBUILD routes-1.8.ebuild 819 RMD160 57632b3ebceb1f82b9ac4fbf83ee97e85a5bda4c SHA1 075af0253935c383b08479342711f16ae2d53a8f SHA256 fe2f6964b97e47eebe9a0b746fc92561f657b5030a1f4bfedc26beb850422b62 diff --git a/dev-python/routes/routes-1.8.ebuild b/dev-python/routes/routes-1.8.ebuild new file mode 100644 index 0000000..58e99e0 --- /dev/null +++ b/dev-python/routes/routes-1.8.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +NEED_PYTHON=2.4 + +inherit distutils + +KEYWORDS="~amd64 ~x86" + +MY_PN=Routes +MY_P=${MY_PN}-${PV} + +DESCRIPTION="A Python re-implementation of the Rails routes system for mapping URL's to Controllers/Actions." +HOMEPAGE="http://routes.groovie.org" +SRC_URI="http://cheeseshop.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" +LICENSE="BSD" +SLOT="0" +IUSE="doc" + +DEPEND="doc? ( dev-python/buildutils dev-python/pudge ) + dev-python/setuptools" +RDEPEND="" + +S="${WORKDIR}/${MY_P}" + +src_compile() { + distutils_src_compile + if use doc ; then + PYTHONPATH=. "${python}" setup.py pudge || die "generating docs failed" + fi +} + +src_install() { + distutils_src_install + use doc && dohtml -r docs/html/* +} -- cgit v1.2.3-65-gdbad