Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jinja/
Date: Mon, 11 May 2020 19:33:41
Message-Id: 1589225606.475ba8f640d223867defe0153849b2082dc5b3ae.mgorny@gentoo
1 commit: 475ba8f640d223867defe0153849b2082dc5b3ae
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 11 19:33:03 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon May 11 19:33:26 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=475ba8f6
7
8 dev-python/jinja: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/jinja/Manifest | 1 -
13 dev-python/jinja/jinja-2.8.1.ebuild | 81 -------------------------------------
14 2 files changed, 82 deletions(-)
15
16 diff --git a/dev-python/jinja/Manifest b/dev-python/jinja/Manifest
17 index 162f85477e8..ec620108cd8 100644
18 --- a/dev-python/jinja/Manifest
19 +++ b/dev-python/jinja/Manifest
20 @@ -1,3 +1,2 @@
21 DIST jinja-2.11.1.tar.gz 258637 BLAKE2B 80826397ada553b2bd1452f72430589ddebbd55aecffe6c6d9161ddcb46d9caa35635abd0946e063efda856391843831d25a7de91250d0f066b12cbf8b4af988 SHA512 66d9b7923f4b78133489bc28525d83032d37d5409ac572c00ea1aa342b3291bf0505c1e9d62f7a553553e26f06885e3d5c71bdcd2b334064b610692681694d33
22 DIST jinja-2.11.2.tar.gz 258055 BLAKE2B 5cf12d6c79e7e659b16318cb3dc483a276511192903469629ec497c10ba6cd023f5a834961ac74cbda556177aaac46f5045c5aaca3068dcef87017760895851c SHA512 453e0c94c57065ab78f997726256bd2a31bb79124a2ee17b632cb124a3ccefded33d81b35cac73497f095b1cd5d8cd4420d6932a637fd7c4cdb786f1753e49ac
23 -DIST jinja-2.8.1.tar.gz 397144 BLAKE2B 78e4903da05ab3e8961b6bb6047116941b4bbf59d08b8283582972590409f98b5dc1f468a988525d96c552000279fcd0a31dae3ac1e5226f609a8854c8f9ca0b SHA512 f4655f1a43c06f7651fbd5251d0538788a3a6a3ffb93d9a8c239711cf043082c43d34706b6d71a18679d957faa6590e7e0259ffb8f7cc5e3300749526417a987
24
25 diff --git a/dev-python/jinja/jinja-2.8.1.ebuild b/dev-python/jinja/jinja-2.8.1.ebuild
26 deleted file mode 100644
27 index cf1ca69bbed..00000000000
28 --- a/dev-python/jinja/jinja-2.8.1.ebuild
29 +++ /dev/null
30 @@ -1,81 +0,0 @@
31 -# Copyright 1999-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -PYTHON_COMPAT=( python2_7 python3_{6,7,8} pypy3 )
37 -PYTHON_REQ_USE="threads(+)"
38 -
39 -inherit distutils-r1
40 -
41 -DESCRIPTION="A full-featured template engine for Python"
42 -HOMEPAGE="http://jinja.pocoo.org/ https://pypi.org/project/Jinja2/"
43 -
44 -# pypi tarball is missing tests
45 -SRC_URI="https://github.com/pallets/jinja/archive/${PV}.tar.gz -> ${P}.tar.gz"
46 -
47 -LICENSE="BSD"
48 -SLOT="0"
49 -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"
50 -IUSE="examples test"
51 -RESTRICT="!test? ( test )"
52 -
53 -CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
54 - !dev-python/jinja:compat"
55 -RDEPEND="${CDEPEND}
56 - dev-python/markupsafe[${PYTHON_USEDEP}]"
57 -BDEPEND="${CDEPEND}"
58 -
59 -distutils_enable_sphinx docs \
60 - dev-python/sphinx-issues \
61 - dev-python/pallets-sphinx-themes
62 -distutils_enable_tests pytest
63 -
64 -# XXX: handle Babel better?
65 -
66 -wrap_opts() {
67 - local mydistutilsargs=()
68 -
69 - if [[ ${EPYTHON} == python* ]]; then
70 - mydistutilargs+=( --with-debugsupport )
71 - fi
72 -
73 - "${@}"
74 -}
75 -
76 -src_prepare() {
77 - # avoid unnecessary dep on extra sphinxcontrib modules
78 - sed -i '/sphinxcontrib.log_cabinet/ d' docs/conf.py || die
79 - printf "############################# SED ###############################\n"
80 -
81 - distutils-r1_src_prepare
82 -}
83 -
84 -python_prepare() {
85 - # async is not supported on python2
86 - if ! python_is_python3; then
87 - rm -f jinja2/async*.py || die "Failed to remove async from python2"
88 - fi
89 -}
90 -
91 -python_compile() {
92 - wrap_opts distutils-r1_python_compile
93 -}
94 -
95 -python_install_all() {
96 - if use examples ; then
97 - docinto examples
98 - dodoc -r examples/.
99 - fi
100 -
101 - distutils-r1_python_install_all
102 -
103 - insinto /usr/share/vim/vimfiles/syntax
104 - doins ext/Vim/*
105 -}
106 -
107 -pkg_postinst() {
108 - if ! has_version dev-python/Babel; then
109 - elog "For i18n support, please emerge dev-python/Babel."
110 - fi
111 -}