diff options
author | 2013-06-08 18:54:54 +0000 | |
---|---|---|
committer | 2013-06-08 18:54:54 +0000 | |
commit | 99abf77903d9e9f8b3abddb02a30a6ba9343d8de (patch) | |
tree | 33bc936bdba6c578e05999d6416649e16bb6d759 /dev-python/cheetah | |
parent | Add PYTHON_DEPS. (diff) | |
download | gentoo-2-99abf77903d9e9f8b3abddb02a30a6ba9343d8de.tar.gz gentoo-2-99abf77903d9e9f8b3abddb02a30a6ba9343d8de.tar.bz2 gentoo-2-99abf77903d9e9f8b3abddb02a30a6ba9343d8de.zip |
Convert to distutils-r1.
(Portage version: 2.2.0_alpha177/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4)
Diffstat (limited to 'dev-python/cheetah')
-rw-r--r-- | dev-python/cheetah/ChangeLog | 7 | ||||
-rw-r--r-- | dev-python/cheetah/cheetah-2.4.4-r1.ebuild | 44 |
2 files changed, 50 insertions, 1 deletions
diff --git a/dev-python/cheetah/ChangeLog b/dev-python/cheetah/ChangeLog index eded977bf49f..279f2376fba1 100644 --- a/dev-python/cheetah/ChangeLog +++ b/dev-python/cheetah/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-python/cheetah # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/cheetah/ChangeLog,v 1.83 2013/06/05 02:47:39 zerochaos Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-python/cheetah/ChangeLog,v 1.84 2013/06/08 18:54:54 floppym Exp $ + +*cheetah-2.4.4-r1 (08 Jun 2013) + + 08 Jun 2013; Mike Gilbert <floppym@gentoo.org> +cheetah-2.4.4-r1.ebuild: + Convert to distutils-r1. 05 Jun 2013; Rick Farina <zerochaos@gentoo.org> cheetah-2.4.4.ebuild: adding ~arm keyword diff --git a/dev-python/cheetah/cheetah-2.4.4-r1.ebuild b/dev-python/cheetah/cheetah-2.4.4-r1.ebuild new file mode 100644 index 000000000000..cf8e2fcd97ae --- /dev/null +++ b/dev-python/cheetah/cheetah-2.4.4-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-python/cheetah/cheetah-2.4.4-r1.ebuild,v 1.1 2013/06/08 18:54:54 floppym Exp $ + +EAPI="5" +PYTHON_COMPAT=( python{2_6,2_7} ) + +inherit distutils-r1 + +MY_PN="Cheetah" +MY_P="${MY_PN}-${PV/_}" + +DESCRIPTION="Python-powered template engine and code generator." +HOMEPAGE="http://www.cheetahtemplate.org/ http://rtyler.github.com/cheetah/ http://pypi.python.org/pypi/Cheetah" +SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz" + +LICENSE="MIT" +IUSE="" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" +SLOT="0" + +RDEPEND="dev-python/markdown[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}]" + +S="${WORKDIR}/${MY_P}" + +DOCS=( CHANGES README.markdown TODO ) +DISTUTILS_IN_SOURCE_BUILD=1 + +python_prepare_all() { + # Disable broken tests. + sed \ + -e "/Unicode/d" \ + -e "s/if not sys.platform.startswith('java'):/if False:/" \ + -e "/results =/a\\ sys.exit(not results.wasSuccessful())" \ + -i cheetah/Tests/Test.py || die "sed failed" + + distutils-r1_python_prepare_all +} + +python_test() { + "${PYTHON}" cheetah/Tests/Test.py || die "Testing failed with ${EPYTHON}" +} |