diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /dev-python/cheetah | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'dev-python/cheetah')
-rw-r--r-- | dev-python/cheetah/Manifest | 1 | ||||
-rw-r--r-- | dev-python/cheetah/cheetah-2.4.4-r1.ebuild | 45 | ||||
-rw-r--r-- | dev-python/cheetah/metadata.xml | 12 |
3 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/cheetah/Manifest b/dev-python/cheetah/Manifest new file mode 100644 index 000000000000..a7fda49e7948 --- /dev/null +++ b/dev-python/cheetah/Manifest @@ -0,0 +1 @@ +DIST Cheetah-2.4.4.tar.gz 190989 SHA256 be308229f0c1e5e5af4f27d7ee06d90bb19e6af3059794e5fd536a6f29a9b550 SHA512 11b8cbf7d71789d6ae83596b133ddbe0bf1ccf2bca4c59562e7cd1d9bb75fa9d3208c0021d7d77edafdb03fd399cf1a26c003267fbffb94f27bf4457b0f9234c WHIRLPOOL 41261459eb8063344a27f2f26c28c97f79e06c002efaff437b6a0810954aaf4ed0ae7cbb08fa21cd3e79ef22e30c00888cbd9056e85cce2b13abb185df63e2c9 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..f2c46dc3c522 --- /dev/null +++ b/dev-python/cheetah/cheetah-2.4.4-r1.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +PYTHON_COMPAT=( python2_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 ~x64-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 ) +# Race in the test suite +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}" +} diff --git a/dev-python/cheetah/metadata.xml b/dev-python/cheetah/metadata.xml new file mode 100644 index 000000000000..311eecfcd216 --- /dev/null +++ b/dev-python/cheetah/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>python</herd> + <longdescription>Cheetah is a Python-powered template engine and code generator. It can be used +as a standalone utility or it can be combined with other tools. Web developers +are its principle user group, but it has many potential uses and is also being +used to generate C++ game code, Java, SQL, form emails, and even Python code.</longdescription> + <upstream> + <remote-id type="pypi">Cheetah</remote-id> + </upstream> +</pkgmetadata> |