From: "Alexey Shvetsov" <alexxy@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jinja/
Date: Tue, 11 Feb 2020 11:42:45 +0000 (UTC) [thread overview]
Message-ID: <1581421290.117dd7902e9e72a9164d3c855c9a2b7c4c4e3a57.alexxy@gentoo> (raw)
commit: 117dd7902e9e72a9164d3c855c9a2b7c4c4e3a57
Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 11 09:45:46 2020 +0000
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org>
CommitDate: Tue Feb 11 11:41:30 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=117dd790
dev-python/jinja: resurect 2.8.1
This is dep for www-apps/octoprint
Package-Manager: Portage-2.3.86, Repoman-2.3.20
Signed-off-by: Alexey Shvetsov <alexxy <AT> gentoo.org>
dev-python/jinja/Manifest | 1 +
dev-python/jinja/jinja-2.8.1.ebuild | 81 +++++++++++++++++++++++++++++++++++++
2 files changed, 82 insertions(+)
diff --git a/dev-python/jinja/Manifest b/dev-python/jinja/Manifest
index 853323e2673..7e4a1154e45 100644
--- a/dev-python/jinja/Manifest
+++ b/dev-python/jinja/Manifest
@@ -1,2 +1,3 @@
DIST jinja-2.10.1.tar.gz 267828 BLAKE2B 0cd7e2880f1d41f3a6aafa0878343c2ff017099de6b2ad607baa3c9cba9d58c9241e1ba65cc23ea16244a1b3ea8720933f45f1061811e5f1abdcd881c4017bce SHA512 71c90be0b2aeefaa80279cba55f7827b5a42455f9dc55de9ca7e9e3e363678caa357426955267542f3c8a9b775e61aca55e439af192ed0a67f592be4ef91aff6
DIST jinja-2.10.3.tar.gz 266316 BLAKE2B 0d8c10bb866eb887fd1c88ca5c5304f46d27930d8426587185ea72c0b79b512919bd5fa75987c26e433be049fd5764fb4ec08d42a4ec5ed00510fe8051e10f5e SHA512 566b781218b533c16b107b57e0252da5947fad262fd8d3fbb134b5916939c5e5d31c95e34bd6b14eec333d2ba3b4a6faa4168497a1ac774e7044f8220ac1b06e
+DIST jinja-2.8.1.tar.gz 397144 BLAKE2B 78e4903da05ab3e8961b6bb6047116941b4bbf59d08b8283582972590409f98b5dc1f468a988525d96c552000279fcd0a31dae3ac1e5226f609a8854c8f9ca0b SHA512 f4655f1a43c06f7651fbd5251d0538788a3a6a3ffb93d9a8c239711cf043082c43d34706b6d71a18679d957faa6590e7e0259ffb8f7cc5e3300749526417a987
diff --git a/dev-python/jinja/jinja-2.8.1.ebuild b/dev-python/jinja/jinja-2.8.1.ebuild
new file mode 100644
index 00000000000..c23ba3eda25
--- /dev/null
+++ b/dev-python/jinja/jinja-2.8.1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris"
+IUSE="examples test"
+RESTRICT="!test? ( test )"
+
+CDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ !dev-python/jinja:compat"
+RDEPEND="${CDEPEND}
+ dev-python/markupsafe[${PYTHON_USEDEP}]"
+BDEPEND="${CDEPEND}"
+
+distutils_enable_sphinx docs \
+ dev-python/sphinx-issues \
+ dev-python/pallets-sphinx-themes
+distutils_enable_tests pytest
+
+# XXX: handle Babel better?
+
+wrap_opts() {
+ local mydistutilsargs=()
+
+ if [[ ${EPYTHON} == python* ]]; then
+ mydistutilargs+=( --with-debugsupport )
+ fi
+
+ "${@}"
+}
+
+src_prepare() {
+ # avoid unnecessary dep on extra sphinxcontrib modules
+ sed -i '/sphinxcontrib.log_cabinet/ d' docs/conf.py || die
+ printf "############################# SED ###############################\n"
+
+ distutils-r1_src_prepare
+}
+
+python_prepare() {
+ # async is not supported on python2
+ if ! python_is_python3; then
+ rm -f jinja2/async*.py || die "Failed to remove async from python2"
+ fi
+}
+
+python_compile() {
+ wrap_opts distutils-r1_python_compile
+}
+
+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
+}
next reply other threads:[~2020-02-11 11:42 UTC|newest]
Thread overview: 99+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-11 11:42 Alexey Shvetsov [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-01 8:09 [gentoo-commits] repo/gentoo:master commit in: dev-python/jinja/ Michał Górny
2024-06-01 7:25 Arthur Zamarin
2024-05-06 4:39 Michał Górny
2024-01-11 11:46 Michał Górny
2024-01-11 9:38 Sam James
2024-01-11 4:40 Michał Górny
2023-05-23 16:15 Michał Górny
2023-03-16 18:13 Michał Górny
2022-05-31 7:22 Michał Górny
2022-05-31 7:13 Sam James
2022-05-11 12:10 Michał Górny
2022-04-28 18:48 Michał Górny
2022-04-26 16:56 Michał Górny
2022-04-26 16:43 Arthur Zamarin
2022-03-27 16:32 Michał Górny
2022-03-25 23:21 Michał Górny
2022-03-25 0:02 Michał Górny
2022-02-04 18:45 Michał Górny
2021-12-10 17:39 Michał Górny
2021-12-10 11:27 Arthur Zamarin
2021-11-10 7:32 Michał Górny
2021-11-05 8:54 Michał Górny
2021-11-05 2:12 Sam James
2021-10-05 8:27 Michał Górny
2021-06-25 20:06 Michał Górny
2021-06-25 19:36 Sam James
2021-06-16 15:40 Sergei Trofimovich
2021-06-16 10:36 Sam James
2021-06-16 10:34 Sam James
2021-06-16 10:34 Sam James
2021-06-16 6:53 Agostino Sarubbo
2021-06-15 7:06 Agostino Sarubbo
2021-06-15 7:06 Agostino Sarubbo
2021-05-18 21:43 Michał Górny
2021-05-12 8:37 Michał Górny
2021-02-03 1:00 Michał Górny
2021-02-03 0:02 Sam James
2021-01-31 18:31 Michał Górny
2020-09-20 14:19 Michał Górny
2020-08-09 14:57 Mikle Kolyada
2020-07-27 20:06 Aaron Bauman
2020-07-09 10:39 Michał Górny
2020-07-09 8:41 Agostino Sarubbo
2020-07-09 8:27 Agostino Sarubbo
2020-05-26 10:35 Michał Górny
2020-05-11 19:33 Michał Górny
2020-04-14 5:33 Michał Górny
2020-03-27 19:09 Michał Górny
2020-03-27 19:09 Michał Górny
2020-03-27 19:09 Michał Górny
2020-03-04 12:33 Michał Górny
2020-03-04 5:01 Michał Górny
2020-03-02 11:49 Sergei Trofimovich
2020-02-24 12:49 Agostino Sarubbo
2020-02-24 11:43 Agostino Sarubbo
2020-02-24 11:31 Agostino Sarubbo
2020-02-24 11:28 Agostino Sarubbo
2020-02-24 10:07 Agostino Sarubbo
2020-02-24 10:04 Agostino Sarubbo
2020-02-24 9:02 Agostino Sarubbo
2020-02-23 12:17 Mikle Kolyada
2020-02-21 17:28 Michał Górny
2020-02-21 17:28 Michał Górny
2019-11-16 18:55 Patrick McLean
2019-11-15 23:01 Patrick McLean
2019-06-06 11:55 Virgil Dupras
2019-06-06 6:46 Agostino Sarubbo
2019-06-04 18:51 Agostino Sarubbo
2019-05-26 7:04 Sergei Trofimovich
2019-05-22 7:36 Sergei Trofimovich
2019-05-16 23:56 Thomas Deutschmann
2019-05-15 15:05 Mikle Kolyada
2019-05-14 8:08 Sergei Trofimovich
2019-05-13 20:31 Aaron Bauman
2019-04-25 23:50 Patrick McLean
2018-12-08 17:41 Mikle Kolyada
2018-02-19 21:07 Michał Górny
2018-01-04 21:50 Michał Górny
2017-11-20 19:16 Manuel Rüger
2017-09-12 9:13 Fabian Groffen
2017-06-15 18:19 Markus Meier
2017-05-22 16:48 Tobias Klausmann
2017-05-22 11:40 Agostino Sarubbo
2017-05-19 21:44 Michael Weber
2017-05-06 11:13 Jeroen Roovers
2017-05-03 11:41 Michał Górny
2017-04-06 23:56 Manuel Rüger
2017-03-26 4:16 Matt Thode
2017-02-09 16:39 Lars Wendler
2017-02-09 16:39 Lars Wendler
2017-01-18 16:22 Manuel Rüger
2017-01-09 2:34 Mike Gilbert
2017-01-09 2:17 Mike Gilbert
2017-01-08 8:37 Dirkjan Ochtman
2016-12-29 20:26 Dirkjan Ochtman
2016-10-01 13:59 Jeroen Roovers
2016-06-01 10:00 Tobias Klausmann
2016-05-28 11:10 Markus Meier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1581421290.117dd7902e9e72a9164d3c855c9a2b7c4c4e3a57.alexxy@gentoo \
--to=alexxy@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox