summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2010-02-10 08:51:42 +0000
committerDirkjan Ochtman <djc@gentoo.org>2010-02-10 08:51:42 +0000
commit17d96467c7baf2575b16fa20fe1054cfb747fc47 (patch)
tree622bb74f989b6dc2b635dadb8ad0164d726fdd17 /dev-python
parentold (diff)
downloadhistorical-17d96467c7baf2575b16fa20fe1054cfb747fc47.tar.gz
historical-17d96467c7baf2575b16fa20fe1054cfb747fc47.tar.bz2
historical-17d96467c7baf2575b16fa20fe1054cfb747fc47.zip
Version bump dev-python/jinja2 to 2.3.
Package-Manager: portage-2.1.7.16/cvs/Linux x86_64
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/jinja2/ChangeLog9
-rw-r--r--dev-python/jinja2/Manifest4
-rw-r--r--dev-python/jinja2/jinja2-2.3.ebuild64
3 files changed, 74 insertions, 3 deletions
diff --git a/dev-python/jinja2/ChangeLog b/dev-python/jinja2/ChangeLog
index 4b8f917ef6c6..478fe6d717ae 100644
--- a/dev-python/jinja2/ChangeLog
+++ b/dev-python/jinja2/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-python/jinja2
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/jinja2/ChangeLog,v 1.31 2009/11/14 16:41:52 armin76 Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/jinja2/ChangeLog,v 1.32 2010/02/10 08:51:42 djc Exp $
+
+*jinja2-2.3 (10 Feb 2010)
+
+ 10 Feb 2010; Dirkjan Ochtman <djc@gentoo.org> +jinja2-2.3.ebuild:
+ Version bump to 2.3.
14 Nov 2009; Raúl Porcel <armin76@gentoo.org> jinja2-2.2.1.ebuild:
ia64/s390/sh/sparc stable wrt #287618
diff --git a/dev-python/jinja2/Manifest b/dev-python/jinja2/Manifest
index f95ae368721b..c323f30a0cfd 100644
--- a/dev-python/jinja2/Manifest
+++ b/dev-python/jinja2/Manifest
@@ -1,4 +1,6 @@
DIST Jinja2-2.2.1.tar.gz 771552 RMD160 bdee3ef806bc25f9eef388af2529bebdd44c1cf4 SHA1 e6b6ef07ba2e1c463120db134cec477abc4b723b SHA256 b90e99f12c035f67bcf9f865c46bb7048d62fbcadd892f5ae7633a4e53e01df3
+DIST Jinja2-2.3.tar.gz 675996 RMD160 6988ecf0115dd7829eac7c2e4b5d5bd1a17b6c8e SHA1 556e9eacdf79961e6f2eb938b2c2299e342d49f5 SHA256 58a257e26a53919058a27eb9aa3d74e29d5983dba82290fc1c1898f4ea249535
EBUILD jinja2-2.2.1.ebuild 1731 RMD160 7502b7bc4b4a1f3fdec95be1059def656df5fba4 SHA1 fffc7c136f32b4e940cb134c1b6500a5cd3cf7ef SHA256 3664144512cb7dd48937e2d723ce583bac7dd9a2f6c2100128674fe96eff9d7b
-MISC ChangeLog 3686 RMD160 6f2a44f293ce577f9104a39c18c48e54b796996c SHA1 5b8cbf9cfdba04c93330c352f5c967895c20918c SHA256 6f95c63cd8dd2bfb241dc94798010431f9b81a9900da112d79f96d6d9ee616eb
+EBUILD jinja2-2.3.ebuild 1723 RMD160 15e4bd717f9620dc0be848b6ad7a82736254b078 SHA1 3d3fb7b070a48ed52647be64398cd25d2b46ca6e SHA256 2955afdc7b29c90aa8d4a1e6203e6af3cf45b2fbaebc45f3b7dff84d55cb91dd
+MISC ChangeLog 3801 RMD160 4c7f8d595081b6ce41dd3ef45e6703f883e2cb58 SHA1 6ac14836297cb88c621bec8e840105ac70ac7de1 SHA256 d9f898d58a4e6884369b763c69061fb05bddaba89042dc0c2f8633a90b3afaf2
MISC metadata.xml 260 RMD160 73b34094a529f5ab0dcf98717fe00e6759dfb397 SHA1 48e84c78c92d7b5cdadb9db94c7c5681158ab498 SHA256 02bf37f6abc119298b0af0cfc3ce295479e514b0c1b39465e2c4e8f1b1628f7c
diff --git a/dev-python/jinja2/jinja2-2.3.ebuild b/dev-python/jinja2/jinja2-2.3.ebuild
new file mode 100644
index 000000000000..e303f5d554db
--- /dev/null
+++ b/dev-python/jinja2/jinja2-2.3.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-python/jinja2/jinja2-2.3.ebuild,v 1.1 2010/02/10 08:51:42 djc Exp $
+
+EAPI="2"
+SUPPORT_PYTHON_ABIS="1"
+
+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/ http://pypi.python.org/pypi/Jinja2"
+SRC_URI="http://pypi.python.org/packages/source/J/${MY_PN}/${MY_P}.tar.gz"
+LICENSE="BSD"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos"
+SLOT="0"
+IUSE="doc examples i18n test"
+
+CDEPEND="dev-python/setuptools"
+DEPEND="${CDEPEND}
+ doc? ( >=dev-python/sphinx-0.6 )
+ test? ( dev-python/nose )"
+RDEPEND="${CDEPEND}
+ i18n? ( >=dev-python/Babel-0.9.3 )"
+RESTRICT_PYTHON_ABIS="3.*" # test suite doesn't work on 3.x
+
+S="${WORKDIR}/${MY_P}"
+
+DISTUTILS_GLOBAL_OPTIONS=("--with-speedups")
+DOCS="CHANGES"
+
+src_compile(){
+ distutils_src_compile
+
+ if use doc; then
+ cd "${S}/docs"
+ PYTHONPATH=.. emake html || die "Building of documentation failed"
+ fi
+}
+
+src_test(){
+ testing() {
+ PYTHONPATH="$(ls -d ../build-${PYTHON_ABI}/lib.*)" nosetests-${PYTHON_ABI} -v || return 1
+ }
+ python_execute_function testing
+}
+
+src_install(){
+ distutils_src_install
+
+ if use doc; then
+ dohtml -r docs/_build/html/* || die "Installation of documentation failed"
+ fi
+
+ if use examples; then
+ # Eliminate .pyc files going into /usr/share
+ find examples -name "*.pyc" -print0 | xargs -0 rm -fr
+
+ insinto "/usr/share/doc/${PF}"
+ doins -r examples || die "Failed to install examples"
+ fi
+}