summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-12-19 20:52:17 +0000
committerArfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>2010-12-19 20:52:17 +0000
commita6282ffb40cb149ddcb6ea45a121e11ebacb1309 (patch)
treea528a22da0e4f711aa4d1040343058ad372dec6a /dev-python/cheetah
parentBump for #349112 (diff)
downloadhistorical-a6282ffb40cb149ddcb6ea45a121e11ebacb1309.tar.gz
historical-a6282ffb40cb149ddcb6ea45a121e11ebacb1309.tar.bz2
historical-a6282ffb40cb149ddcb6ea45a121e11ebacb1309.zip
Version bump. Fixed tests with Python 2.7 (bug #293974).
Package-Manager: portage-2.2.0_alpha9_p4/cvs/Linux x86_64
Diffstat (limited to 'dev-python/cheetah')
-rw-r--r--dev-python/cheetah/ChangeLog8
-rw-r--r--dev-python/cheetah/Manifest4
-rw-r--r--dev-python/cheetah/cheetah-2.4.4.ebuild58
3 files changed, 68 insertions, 2 deletions
diff --git a/dev-python/cheetah/ChangeLog b/dev-python/cheetah/ChangeLog
index 7619ab23252b..29ecd42fe1c9 100644
--- a/dev-python/cheetah/ChangeLog
+++ b/dev-python/cheetah/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-python/cheetah
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/cheetah/ChangeLog,v 1.74 2010/11/14 14:56:20 arfrever Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/cheetah/ChangeLog,v 1.75 2010/12/19 20:52:17 arfrever Exp $
+
+*cheetah-2.4.4 (19 Dec 2010)
+
+ 19 Dec 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
+ +cheetah-2.4.4.ebuild:
+ Version bump. Fixed tests with Python 2.7 (bug #293974).
14 Nov 2010; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org>
-cheetah-2.4.2.1.ebuild:
diff --git a/dev-python/cheetah/Manifest b/dev-python/cheetah/Manifest
index ba463ff9c9c0..a3339bfc2e8f 100644
--- a/dev-python/cheetah/Manifest
+++ b/dev-python/cheetah/Manifest
@@ -1,4 +1,6 @@
DIST Cheetah-2.4.3.tar.gz 190867 RMD160 9ae656f411a776a75785666b3164abb214b9eacc SHA1 2e84daca803f19c4d69f2db7120af03b602394c8 SHA256 1b450a05807fb497ba7b52ed814db95f91c6d6f56f4908bab707a0bcaf36f9b5
+DIST Cheetah-2.4.4.tar.gz 190989 RMD160 ae516e090313864f03dbfe131dada3fec9f60243 SHA1 c218f5d8bc97b39497680f6be9b7bd093f696e89 SHA256 be308229f0c1e5e5af4f27d7ee06d90bb19e6af3059794e5fd536a6f29a9b550
EBUILD cheetah-2.4.3.ebuild 1458 RMD160 b7e446e0148e2e4fdcc526e71bbf05a603d7b161 SHA1 a16afe9bac241a77364153d4c11de46729f6bbe8 SHA256 d115c6f913eb499a4e32e5fb8e519c7df4dfae5bc4079f3c0636bde1c5b00cd3
-MISC ChangeLog 10725 RMD160 4d5ed7a48dc2ff7f8c8dc280c2e19174c211c0e0 SHA1 937d946f52f2b96e603510de0aa55faf72d6c4d8 SHA256 af5ff530b0fafe7923c928f13c826395b066a0af74291985b8ce144665f24f7f
+EBUILD cheetah-2.4.4.ebuild 1466 RMD160 9b9475f53f5d48443905e81ff7a876efef4cfa98 SHA1 ee449441d07cb88c4ec87cc603c978cabebc9e17 SHA256 963403925fa29897beb897d073426ac566ce16bee4f15c93e2237dcce75ae818
+MISC ChangeLog 10913 RMD160 fcbabf05def09cf4f11e3b4b0d3de3a9ab4d3206 SHA1 1c4e5df018de422e745c3abb05e76a0fbea12f63 SHA256 6abe1cdd99680a8f316c72d9e78f3b8965397a2e0500299c8fe929bc871c826a
MISC metadata.xml 511 RMD160 848dfb25d7e09596c6b2e1e1e9655298bfad05a4 SHA1 67878b57ed0ddb00268c7f16ada335350466dfe7 SHA256 39f6f995b4f17bc77c039967c900cd431f4cfd771ce89c300df470dd9eaa679e
diff --git a/dev-python/cheetah/cheetah-2.4.4.ebuild b/dev-python/cheetah/cheetah-2.4.4.ebuild
new file mode 100644
index 000000000000..81bc522016b8
--- /dev/null
+++ b/dev-python/cheetah/cheetah-2.4.4.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2010 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.ebuild,v 1.1 2010/12/19 20:52:17 arfrever Exp $
+
+EAPI="3"
+PYTHON_DEPEND="2"
+SUPPORT_PYTHON_ABIS="1"
+RESTRICT_PYTHON_ABIS="3.*"
+
+inherit distutils
+
+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="PSF-2.2"
+IUSE=""
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+SLOT="0"
+
+RDEPEND="dev-python/markdown"
+DEPEND="${RDEPEND}
+ dev-python/setuptools"
+
+S="${WORKDIR}/${MY_P}"
+
+DOCS="CHANGES README.markdown TODO"
+PYTHON_MODNAME="Cheetah"
+
+src_prepare() {
+ distutils_src_prepare
+
+ # 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"
+}
+
+src_test() {
+ testing() {
+ PYTHONPATH="$(ls -d build-${PYTHON_ABI}/lib.*)" "$(PYTHON)" cheetah/Tests/Test.py
+ }
+ python_execute_function testing
+}
+
+src_install() {
+ distutils_src_install
+
+ delete_tests() {
+ rm -fr "${ED}$(python_get_sitedir)/Cheetah/Tests"
+ }
+ python_execute_function -q delete_tests
+}