summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2008-12-06 23:25:55 +0000
committerPatrick Lauer <patrick@gentoo.org>2008-12-06 23:25:55 +0000
commitf34ee0b8757045ad59ba14b8971f74ac3eb90f92 (patch)
tree58bfeb4aa7f8d2cd35633190df2d062aeaa7f37c /dev-python/jinja2
parentBumping to 0.4, closing 249442 (diff)
downloadhistorical-f34ee0b8757045ad59ba14b8971f74ac3eb90f92.tar.gz
historical-f34ee0b8757045ad59ba14b8971f74ac3eb90f92.tar.bz2
historical-f34ee0b8757045ad59ba14b8971f74ac3eb90f92.zip
Bumping to 2.1, closing #248752
Package-Manager: portage-2.2_rc17/cvs/Linux 2.6.26.5 x86_64
Diffstat (limited to 'dev-python/jinja2')
-rw-r--r--dev-python/jinja2/ChangeLog7
-rw-r--r--dev-python/jinja2/Manifest4
-rw-r--r--dev-python/jinja2/jinja2-2.1.ebuild60
3 files changed, 69 insertions, 2 deletions
diff --git a/dev-python/jinja2/ChangeLog b/dev-python/jinja2/ChangeLog
index 4deb2eead231..e1473bc6be1b 100644
--- a/dev-python/jinja2/ChangeLog
+++ b/dev-python/jinja2/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/jinja2
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/jinja2/ChangeLog,v 1.2 2008/11/18 04:17:15 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/jinja2/ChangeLog,v 1.3 2008/12/06 23:25:55 patrick Exp $
+
+*jinja2-2.1 (06 Dec 2008)
+
+ 06 Dec 2008; Patrick Lauer <patrick@gentoo.org> +jinja2-2.1.ebuild:
+ Bumping to 2.1, closing #248752
18 Nov 2008; Jeremy Olexa <darkside@gentoo.org> jinja2-2.0.ebuild:
add ~amd64, bug #246605
diff --git a/dev-python/jinja2/Manifest b/dev-python/jinja2/Manifest
index 6daaa9496b80..e1fd838eb92c 100644
--- a/dev-python/jinja2/Manifest
+++ b/dev-python/jinja2/Manifest
@@ -1,5 +1,7 @@
AUX jinja2-2.0_no_docs.patch 958 RMD160 d492587d32d01540d9670d0b0c92191a3f51a8f8 SHA1 cb252f7602d6ef0c6ea77c10b6d5b0af97ed2586 SHA256 c16c3eb18bb28c60af83ec1564ccd8e2f901420ccae1e7155679b431f61c1854
DIST Jinja2-2.0.tar.gz 523360 RMD160 0d4cb29962db3d12a092c778f305256511a8b0e9 SHA1 c2723e7d79ee7ed1f7f3780bde92f2d6cd308cc4 SHA256 15b17b02d6042bbec2511b655b17561633c8cf5dad68c42356f3f82ec24e4c57
+DIST Jinja2-2.1.tar.gz 653267 RMD160 1b4bbb32afa888328c48c994cfc065cdff3ca07a SHA1 cec634c888545e18700949bd827c13572886f1ef SHA256 a9abe1cd68aa2f7bf4502456ebc00500570fdd878cfb19fd908f837f61b811ff
EBUILD jinja2-2.0.ebuild 1435 RMD160 70ee7e7001fa7581bdd8940914978725f18e6935 SHA1 ebe05328bc63d10fcd41562d836fb3ebc48e1c2f SHA256 310f0b111f628b23de337a333c7000faeb2d009f27cc2e0e5871929c4b23acf0
-MISC ChangeLog 484 RMD160 3130b227144f6dc558bee4166fcc170bfc704ceb SHA1 0a374728fc8d835df10160ff3f184eab9cd58d63 SHA256 cab4af77903cab63346eec2d5a1a3344f662f44b54b24217ee80a6223f6d85e5
+EBUILD jinja2-2.1.ebuild 1439 RMD160 f861782f2e38fac478f7c31c292eeb81c4fdd395 SHA1 bd98fba07b104cf9be1578451c49089dfb1d0656 SHA256 47a9e23ee3d1b46680eb03251ca372119e9a47b5c94d2b78ff5eb34741bc4c8c
+MISC ChangeLog 615 RMD160 84d72d03a6cd88e83be515d8bdcf8d8cad94a71e SHA1 8e4d6b769fcf4c4c8f154fb95936c03d57f93e03 SHA256 53247a1bee67e68daf0cdeace8ce1e60677bf07f916b427b7c4ce30d4a48e498
MISC metadata.xml 260 RMD160 73b34094a529f5ab0dcf98717fe00e6759dfb397 SHA1 48e84c78c92d7b5cdadb9db94c7c5681158ab498 SHA256 02bf37f6abc119298b0af0cfc3ce295479e514b0c1b39465e2c4e8f1b1628f7c
diff --git a/dev-python/jinja2/jinja2-2.1.ebuild b/dev-python/jinja2/jinja2-2.1.ebuild
new file mode 100644
index 000000000000..fb2cd02f25b9
--- /dev/null
+++ b/dev-python/jinja2/jinja2-2.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/jinja2/jinja2-2.1.ebuild,v 1.1 2008/12/06 23:25:55 patrick Exp $
+# Ebuild generated by g-pypi 0.2.2 (rev. 214)
+
+inherit distutils
+
+MY_PN="Jinja2"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="A small but fast and easy to use stand-alone template engine written in pure python."
+HOMEPAGE="http://jinja.pocoo.org/"
+SRC_URI="http://pypi.python.org/packages/source/J/${MY_PN}/${MY_P}.tar.gz"
+LICENSE="BSD"
+KEYWORDS="~amd64 ~x86"
+SLOT="0"
+IUSE="doc examples i18n test"
+
+CDEPEND="virtual/python
+ dev-python/setuptools"
+DEPEND="${CDEPEND}
+ doc? ( >=dev-python/docutils-0.4
+ >=dev-python/sphinx-0.3 )"
+RDEPEND="${CDEPEND}
+ i18n? ( >=dev-python/Babel-0.9.3 )"
+
+S="${WORKDIR}/${MY_P}"
+DOCS="CHANGES"
+
+src_compile(){
+ distutils_src_compile
+ epatch "${FILESDIR}/${PN}-2.0_no_docs.patch"
+
+ if use doc ; then
+ cd "${S}/docs"
+ PYTHONPATH=../ emake html || die "Error building docs"
+ fi
+}
+
+src_install(){
+ distutils_src_install
+
+ if use doc ; then
+ dohtml -r docs/_build/html/* ||
+ die "Failed to install docs"
+ fi
+
+ if use examples ; then
+ #Eliminate pyc files going into /usr/share
+ $(find examples -name '*.pyc' -exec rm -rf {} \;)
+
+ insinto "/usr/share/doc/${PF}"
+ doins -r examples ||
+ die "Failed to install examples"
+ fi
+}
+
+src_test(){
+ "${python}" setup.py test || die "Tests failed"
+}