summaryrefslogtreecommitdiff
path: root/dev-python/cheetah
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/cheetah
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/cheetah')
-rw-r--r--dev-python/cheetah/Manifest5
-rw-r--r--dev-python/cheetah/cheetah-2.4.4-r1.ebuild44
-rw-r--r--dev-python/cheetah/metadata.xml15
3 files changed, 64 insertions, 0 deletions
diff --git a/dev-python/cheetah/Manifest b/dev-python/cheetah/Manifest
new file mode 100644
index 000000000000..33d3b84a55cc
--- /dev/null
+++ b/dev-python/cheetah/Manifest
@@ -0,0 +1,5 @@
+DIST Cheetah-2.4.4.tar.gz 190989 SHA256 be308229f0c1e5e5af4f27d7ee06d90bb19e6af3059794e5fd536a6f29a9b550 SHA512 11b8cbf7d71789d6ae83596b133ddbe0bf1ccf2bca4c59562e7cd1d9bb75fa9d3208c0021d7d77edafdb03fd399cf1a26c003267fbffb94f27bf4457b0f9234c WHIRLPOOL 41261459eb8063344a27f2f26c28c97f79e06c002efaff437b6a0810954aaf4ed0ae7cbb08fa21cd3e79ef22e30c00888cbd9056e85cce2b13abb185df63e2c9
+EBUILD cheetah-2.4.4-r1.ebuild 1196 SHA256 ca34901876b1f4a8040760c36420bdfb6667de41a9706dacf4e02bff95e9c5b0 SHA512 f9194278d04d6d4c2cca54c39504629eaf76c28104aa7b8b8ed823d958eb53bfba6f797b2d139fdc841643d9a0fa07cc3b35d8fecbe7696065f086a8883bd0ed WHIRLPOOL a8860ab9e9cb9daa718dc5d6f595e6ebe44446b3252c804df2aabf1530c98da3fd1848525c97fd5975214208440c319be4881cbaf44f0b16f413fbe53ef92bdd
+MISC ChangeLog 2811 SHA256 1b17abebbbe686e391308c02d20477099d3866526ba9d5a371c756e7c91fa1b5 SHA512 d01f4fd96c2a3ddbf8351e0c4e7ba9457ec418262e5e52d4b9c85d040a95723dac4440e369a8ebce2ea90583f93c5b88f65c15b142be304d40ae685960aa1c70 WHIRLPOOL 89d8e72cdaf36ea13ae1050316725baf3769ce6f896fd1f15f3a503926e2565b7e1e34083e097cff3fbb90086c7102355d4f1ac0c89cc01248e87d90672e814f
+MISC ChangeLog-2015 13077 SHA256 0904d3a2ede9ab6b1e086488807f0495acaa3451ac0964fd77a2057824891fee SHA512 dedeb546211e53ddd7bc2339fa4e620c5c1f3090015e93da99e33ef2ac807607327f1ae6f4f493dabe5757c384c9db1f1f483bf62964d06ca77c9fbc87be067a WHIRLPOOL 4c4525b591571b01f0fa1b700cac783e00a04ff9c18d523d65e3c4dd2415d94fa1f0e91fb3e0e63725bb45114b5181ae0ce9b7f16e0046ae922354e66d013a53
+MISC metadata.xml 661 SHA256 169195455f099d632ea253d9268896267d37832e7be4987425c2efe07fc89a00 SHA512 7c0f9ab56f056a5b878572b16991039ef79e009a50afc44e7e9745051d58d99f4c3f7c3c427f8a165a9a54e76983cb9cc5cd16f0e3629d85e5288b71eb0f38b6 WHIRLPOOL 3b8172713009a5a06651f7475782815fadc72cc92229b40ba9a2391b9c14ec72158a6b3b862a00af82fc062a2a7d623b87ba77a4c9d8560c3eab6fc9a9d77134
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..f68e4546f575
--- /dev/null
+++ b/dev-python/cheetah/cheetah-2.4.4-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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/ https://rtyler.github.com/cheetah/ https://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 ppc64 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..af1e88f2ab32
--- /dev/null
+++ b/dev-python/cheetah/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+ <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>