diff options
author | Michał Górny <mgorny@gentoo.org> | 2020-07-12 18:42:46 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2020-07-12 18:52:58 +0200 |
commit | 0e644c31e1ddd95b2a716929beb3b843e6827363 (patch) | |
tree | c3e90d3b46e93ed8e0cdad2c938a9313bf69e47f /dev-python/jinja | |
parent | dev-python/jellyfish: Remove redundant versions (diff) | |
download | gentoo-0e644c31e1ddd95b2a716929beb3b843e6827363.tar.gz gentoo-0e644c31e1ddd95b2a716929beb3b843e6827363.tar.bz2 gentoo-0e644c31e1ddd95b2a716929beb3b843e6827363.zip |
dev-python/jinja: Remove redundant versions
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/jinja')
-rw-r--r-- | dev-python/jinja/Manifest | 1 | ||||
-rw-r--r-- | dev-python/jinja/jinja-2.11.1.ebuild | 68 |
2 files changed, 0 insertions, 69 deletions
diff --git a/dev-python/jinja/Manifest b/dev-python/jinja/Manifest index ec620108cd80..0d57bd8955c1 100644 --- a/dev-python/jinja/Manifest +++ b/dev-python/jinja/Manifest @@ -1,2 +1 @@ -DIST jinja-2.11.1.tar.gz 258637 BLAKE2B 80826397ada553b2bd1452f72430589ddebbd55aecffe6c6d9161ddcb46d9caa35635abd0946e063efda856391843831d25a7de91250d0f066b12cbf8b4af988 SHA512 66d9b7923f4b78133489bc28525d83032d37d5409ac572c00ea1aa342b3291bf0505c1e9d62f7a553553e26f06885e3d5c71bdcd2b334064b610692681694d33 DIST jinja-2.11.2.tar.gz 258055 BLAKE2B 5cf12d6c79e7e659b16318cb3dc483a276511192903469629ec497c10ba6cd023f5a834961ac74cbda556177aaac46f5045c5aaca3068dcef87017760895851c SHA512 453e0c94c57065ab78f997726256bd2a31bb79124a2ee17b632cb124a3ccefded33d81b35cac73497f095b1cd5d8cd4420d6932a637fd7c4cdb786f1753e49ac diff --git a/dev-python/jinja/jinja-2.11.1.ebuild b/dev-python/jinja/jinja-2.11.1.ebuild deleted file mode 100644 index 5d8902f5f11b..000000000000 --- a/dev-python/jinja/jinja-2.11.1.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -DISTUTILS_USE_SETUPTOOLS=rdepend -PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="A full-featured template engine for Python" -HOMEPAGE="http://jinja.pocoo.org/ https://pypi.org/project/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 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris" -IUSE="examples" - -RDEPEND=" - dev-python/markupsafe[${PYTHON_USEDEP}] - !dev-python/jinja:compat" - -distutils_enable_sphinx docs \ - dev-python/sphinx-issues \ - dev-python/pallets-sphinx-themes -distutils_enable_tests pytest - -# XXX: handle Babel better? - -src_prepare() { - # avoid unnecessary dep on extra sphinxcontrib modules - sed -i '/sphinxcontrib.log_cabinet/ d' docs/conf.py || die - - distutils-r1_src_prepare -} - -python_compile() { - distutils-r1_python_compile - - if ! python_is_python3; then - rm "${BUILD_DIR}"/lib/jinja2/async*.py || die - fi -} - -python_install() { - distutils-r1_python_install --skip-build -} - -python_install_all() { - if use examples ; then - docinto examples - dodoc -r examples/. - fi - - 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 -} |