diff options
-rw-r--r-- | dev-python/jinja/Manifest | 2 | ||||
-rw-r--r-- | dev-python/jinja/files/jinja-2.7-docs.patch | 53 | ||||
-rw-r--r-- | dev-python/jinja/jinja-2.7.3.ebuild | 73 | ||||
-rw-r--r-- | dev-python/jinja/jinja-2.9.4.ebuild | 72 |
4 files changed, 0 insertions, 200 deletions
diff --git a/dev-python/jinja/Manifest b/dev-python/jinja/Manifest index 17d206e5cafb..2bb0f2a55475 100644 --- a/dev-python/jinja/Manifest +++ b/dev-python/jinja/Manifest @@ -1,6 +1,4 @@ -DIST Jinja2-2.7.3.tar.gz 378470 SHA256 2e24ac5d004db5714976a04ac0e80c6df6e47e98c354cb2c0d82f8879d4f8fdb SHA512 2810db2b52fe800e2a4a47ea41a07f997b1647a2b7ad05fe564f9d554d6a402283c84c4e2491e5dad8d22acd83d3ca420f0983ed2effc732f6d79600a846071b WHIRLPOOL ece9b68dff414739103eac202b5903d96802939f5742a2bf3ff421d87ef49043ed9a4b2a3a6bf0c2f3d9be0d8295b73c47b253553731b44912cb58add8f233c0 DIST Jinja2-2.8.1.tar.gz 358129 SHA256 35341f3a97b46327b3ef1eb624aadea87a535b8f50863036e085e7c426ac5891 SHA512 0a2e2aa94f5c2f04f79d59d34d5324d2a440385b71192e85e960c761b4a073400e4ab0458e57305650f696a474593d6fbf398fb1d9518be261bb2a5cb866e163 WHIRLPOOL 380636268f903d05afda9c41296986d1c83949dead6c78d3e3cb880137a6c6ec06f0e2297169fc0ea8fd1348c9928f5841d37f951dd941fe89a8ccc96080e191 DIST Jinja2-2.8.tar.gz 357055 SHA256 bc1ff2ff88dbfacefde4ddde471d1417d3b304e8df103a7a9437d47269201bf4 SHA512 2e80d6d9ad10dafcce1e6dd24493f5dffc43a17f71a30a650415638e12d3a3891738ebacc569701129214026d062d91a2b10e4f7a2c7b85d801dde26ded1bebb WHIRLPOOL 31adc38738848aa224cceb0d0afb2b85eb080d166ed84f145eb0576eeedfb91cf8d99d7c98b6a6cc6ab4fedf33fdbe3171c80fd559df48036a7441232702e749 -DIST jinja-2.9.4.tar.gz 416465 SHA256 7e7dc5aca0d4e39814a138e360284ad3d92647f480df4236e355acc542f5413b SHA512 60764e31878478c5b5adb60da8ddb8afd5d0982733728b87340f03abb5ad9092350ff8374d42cbd5be84d08904d06f0dbda2ef05f4dfbdc30110af9ab2472e5e WHIRLPOOL 8c0c34691f51373c64a158e043fd8ead01bd7454905ccf1a901901c52da80d35264023b7a65aa5878b87630b323d13d7cfae2470e472cb0204618ae9f607c99a DIST jinja-2.9.5.tar.gz 486763 SHA256 86baad86b1210856d784ddf0d243b8fa043f65b1e3cbc07e4fb24cd5b9725d89 SHA512 15c1b79981c4d6fcbb7fa947fe0fd7e43973433c03d6549a84deec8ad70881f7fd0d3a35160bf6371361994f838da7eb478c577de2612e004679ae51bd97b121 WHIRLPOOL 8ef540e81c40b72dbf652b73a63577e052813bc3d263340f55181c9a2320fa8e3f65c37ccaa6f4840d79b63c1c47f12070ae76d61be6fe0a93104e3916a7ff36 DIST jinja-2.9.6.tar.gz 487185 SHA256 fa4b0ac374a3502d4523673cfdff7a1f6cbd533a13c8050bef6dcd9168142638 SHA512 934e253d9d621fd6d19302ea5e73b571a806c0e31e10ac29b54700ad6649fabf321b00cdc513bb3fb551ee28e83de7f163ce9ef88d232a6c178f4ee5dc2e69b5 WHIRLPOOL f1f576ff18237ef1dddd76c806d4e9256734aeb289aa146c237803e8fc63984dd41e88e8cdb7f45ff9810d9f20c781f040cc04b2cdd02eacb2c35749e5e257ab diff --git a/dev-python/jinja/files/jinja-2.7-docs.patch b/dev-python/jinja/files/jinja-2.7-docs.patch deleted file mode 100644 index d543f54d6cd7..000000000000 --- a/dev-python/jinja/files/jinja-2.7-docs.patch +++ /dev/null @@ -1,53 +0,0 @@ -From da94a8b504d981cb5f877219811d169823a2095e Mon Sep 17 00:00:00 2001 -From: Armin Ronacher <armin.ronacher@active-4.com> -Date: Mon, 20 May 2013 14:06:59 +0100 -Subject: [PATCH] Fixed docs not building - ---- - docs/faq.rst | 2 +- - docs/jinjaext.py | 2 +- - docs/templates.rst | 2 +- - 3 files changed, 3 insertions(+), 3 deletions(-) - -diff --git a/docs/faq.rst b/docs/faq.rst -index 4db5079..00a4d0d 100644 ---- a/docs/faq.rst -+++ b/docs/faq.rst -@@ -157,7 +157,7 @@ Python 2.3 support you either have to use `Jinja 1`_ or other templating - engines that still support 2.3. - - My Macros are overridden by something -------------------------------------- -+------------------------------------- - - In some situations the Jinja scoping appears arbitrary: - -diff --git a/docs/jinjaext.py b/docs/jinjaext.py -index 8395a55..3c217f8 100644 ---- a/docs/jinjaext.py -+++ b/docs/jinjaext.py -@@ -23,7 +23,7 @@ - from pygments.token import Keyword, Name, Comment, String, Error, \ - Number, Operator, Generic - from jinja2 import Environment, FileSystemLoader --from jinja2.utils import next -+from jinja2._compat import next - - - def parse_rst(state, content_offset, doc): -diff --git a/docs/templates.rst b/docs/templates.rst -index e0a19fa..4a6a379 100644 ---- a/docs/templates.rst -+++ b/docs/templates.rst -@@ -579,7 +579,7 @@ Inside of a for-loop block you can access some special variables: - | `loop.depth` | Indicates how deep in deep in a recursive loop | - | | the rendering currently is. Starts at level 1 | - +-----------------------+---------------------------------------------------+ --| `loop.depth0 | Indicates how deep in deep in a recursive loop | -+| `loop.depth0` | Indicates how deep in deep in a recursive loop | - | | the rendering currently is. Starts at level 0 | - +-----------------------+---------------------------------------------------+ - --- -1.8.1.6 - diff --git a/dev-python/jinja/jinja-2.7.3.ebuild b/dev-python/jinja/jinja-2.7.3.ebuild deleted file mode 100644 index d64762575f6f..000000000000 --- a/dev-python/jinja/jinja-2.7.3.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python{2_7,3_4} pypy pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit eutils distutils-r1 - -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/ https://pypi.python.org/pypi/Jinja2" -SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris" -IUSE="doc examples" - -RDEPEND="dev-python/markupsafe[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - !dev-python/jinja:compat" -DEPEND="${RDEPEND} - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" - -# XXX: handle Babel better? - -S=${WORKDIR}/${MY_P} -PATCHES=( "${FILESDIR}/jinja-2.7-docs.patch" ) - -wrap_opts() { - local mydistutilsargs=() - - if [[ ${EPYTHON} == python* ]]; then - mydistutilargs+=( --with-debugsupport ) - fi - - "${@}" -} - -python_compile() { - wrap_opts distutils-r1_python_compile - if [[ ${EPYTHON} == python3.2 ]]; then - 2to3 --no-diffs -n -w -f unicode "${BUILD_DIR}/lib" || die - fi -} - -python_compile_all() { - use doc && emake -C docs html -} - -python_test() { - esetup.py test -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/_build/html/. ) - use examples && local EXAMPLES=( examples/. ) - - distutils-r1_python_install_all - - insinto /usr/share/vim/vimfiles/syntax - doins ext/Vim/* -} - -pkg_postinst() { - if ! has_version dev-python/Babel; then - elog "For i18n support, please emerge dev-python/Babel." - fi -} diff --git a/dev-python/jinja/jinja-2.9.4.ebuild b/dev-python/jinja/jinja-2.9.4.ebuild deleted file mode 100644 index 3edf9faf31f8..000000000000 --- a/dev-python/jinja/jinja-2.9.4.ebuild +++ /dev/null @@ -1,72 +0,0 @@ -# Copyright 1999-2017 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit eutils distutils-r1 - -DESCRIPTION="A full-featured template engine for Python" -HOMEPAGE="http://jinja.pocoo.org/ https://pypi.python.org/pypi/Jinja2" - -# pypi tarball is missing tests -SRC_URI="https://github.com/pallets/jinja/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris" -IUSE="doc examples test" -RESTRICT="!test? ( test )" - -RDEPEND=" - dev-python/markupsafe[${PYTHON_USEDEP}] - dev-python/setuptools[${PYTHON_USEDEP}] - !dev-python/jinja:compat" -DEPEND="${RDEPEND} - doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) - test? ( dev-python/pytest[${PYTHON_USEDEP}] )" - -# XXX: handle Babel better? - -wrap_opts() { - local mydistutilsargs=() - - if [[ ${EPYTHON} == python* ]]; then - mydistutilargs+=( --with-debugsupport ) - fi - - "${@}" -} - -python_compile() { - wrap_opts distutils-r1_python_compile - if [[ ${EPYTHON} == python3.2 ]]; then - 2to3 --no-diffs -n -w -f unicode "${BUILD_DIR}/lib" || die - fi -} - -python_compile_all() { - use doc && emake -C docs html -} - -python_test() { - py.test || die -} - -python_install_all() { - use doc && local HTML_DOCS=( docs/_build/html/. ) - use examples && local EXAMPLES=( examples/. ) - - distutils-r1_python_install_all - - insinto /usr/share/vim/vimfiles/syntax - doins ext/Vim/* -} - -pkg_postinst() { - if ! has_version dev-python/Babel; then - elog "For i18n support, please emerge dev-python/Babel." - fi -} |