diff options
Diffstat (limited to 'dev-python/routes')
-rw-r--r-- | dev-python/routes/ChangeLog | 8 | ||||
-rw-r--r-- | dev-python/routes/Manifest | 4 | ||||
-rw-r--r-- | dev-python/routes/routes-1.11.ebuild | 48 |
3 files changed, 58 insertions, 2 deletions
diff --git a/dev-python/routes/ChangeLog b/dev-python/routes/ChangeLog index 3c4d51decc51..d64ea488dd25 100644 --- a/dev-python/routes/ChangeLog +++ b/dev-python/routes/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-python/routes # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/routes/ChangeLog,v 1.6 2009/09/04 17:37:15 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/routes/ChangeLog,v 1.7 2009/09/29 02:24:28 arfrever Exp $ + +*routes-1.11 (29 Sep 2009) + + 29 Sep 2009; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + +routes-1.11.ebuild: + Version bump. Set SUPPORT_PYTHON_ABIS. 04 Sep 2009; Patrick Lauer <patrick@gentoo.org> -routes-1.6.3.ebuild, -routes-1.8.ebuild: diff --git a/dev-python/routes/Manifest b/dev-python/routes/Manifest index 31d13f8e1a91..24378cbfd643 100644 --- a/dev-python/routes/Manifest +++ b/dev-python/routes/Manifest @@ -1,4 +1,6 @@ DIST Routes-1.10.3.tar.gz 52548 RMD160 ae6e5a0fea262eb81e6e01052efe9dc307a8f47b SHA1 3f7a8653b14a5d0ea39112c42c1e4d7247aa4bbb SHA256 112bf5fbe7a16fc364fcc428ee428d803aaf41b4ff9f0e2015cfec26b4414c17 +DIST Routes-1.11.tar.gz 470360 RMD160 ee46d28e35286e998108bbd4e55d7d718314160d SHA1 b45f359254288d467a5e9fb6c497042a2b70c53b SHA256 e27806fb8fe8bee3c343bb7cd5a39700c647fa87e802efaeeac0e0b0eb16e852 EBUILD routes-1.10.3.ebuild 920 RMD160 bcde9d3ec9d17cfca3eb55b87e84564ad4a20547 SHA1 34cc26043030398be762b7da1677def9ee8ffdc5 SHA256 35b180105610f96d8a0772fa2ecfb08b1cf0af97e20e49179986a186661277ee -MISC ChangeLog 1273 RMD160 30a93f9d1a700a5ee28e035214d9517b03063fe0 SHA1 ebf1ea0cb62a49c521139559407dd5a01b49e94d SHA256 c4008d849e08d8843016b67c7ec8580fbb389357034d5696b6d6533c8b481c5e +EBUILD routes-1.11.ebuild 1149 RMD160 8ebfa3baefa0026cec90d6094850b855069c5660 SHA1 7d7d37f2fa67a1596ad7ce6ca03b479857a2088b SHA256 1ab5a2513f210a50cd901ec340b95fd63e681d66a2285571f39e36ffa94ae84b +MISC ChangeLog 1440 RMD160 97054d897c87c729776e18ff600935bfb6de622e SHA1 774380ee77b93adf4cf162a69a5419b2e26a3bcc SHA256 1a9c6ca6f35178851d51352d60490ace8685a8607168b9e48caa25c55373cc40 MISC metadata.xml 159 RMD160 900a8c55d7a7d2f6312594769aaf941bf9e99c7f SHA1 c8e604d56dae898258b5254d78cfeac0b981e288 SHA256 9f01104d3484792496faff4805eed0ecea2352a897151f3397d49a13800037b4 diff --git a/dev-python/routes/routes-1.11.ebuild b/dev-python/routes/routes-1.11.ebuild new file mode 100644 index 000000000000..a16a30818412 --- /dev/null +++ b/dev-python/routes/routes-1.11.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/routes/routes-1.11.ebuild,v 1.1 2009/09/29 02:24:28 arfrever Exp $ + +EAPI="2" +SUPPORT_PYTHON_ABIS="1" + +inherit distutils + +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://pypi.python.org/packages/source/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test" + +DEPEND="dev-python/setuptools + doc? ( dev-python/buildutils dev-python/pudge ) + test? ( dev-python/coverage dev-python/nose )" +RDEPEND="" +RESTRICT_PYTHON_ABIS="3.*" + +S="${WORKDIR}/${MY_P}" + +src_compile() { + distutils_src_compile + + if use doc; then + PYTHONPATH=. "${python}" setup.py pudge || die "Generation of documentation failed" + fi +} + +src_test() { + testing() { + PYTHONPATH="build-${PYTHON_ABI}" nosetests-${PYTHON_ABI} + } + python_execute_function testing +} + +src_install() { + distutils_src_install + use doc && dohtml -r docs/html/* +} |