From 8b4ace9c50842c5b83401ea7b179dcab940387e1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 23 Sep 2020 10:22:15 +0100 Subject: gentoo resync : 23.09.2020 --- dev-python/jinja/Manifest | 2 +- dev-python/jinja/jinja-2.11.2-r1.ebuild | 68 +++++++++++++++++++++++++++++++++ dev-python/jinja/jinja-2.11.2.ebuild | 68 --------------------------------- 3 files changed, 69 insertions(+), 69 deletions(-) create mode 100644 dev-python/jinja/jinja-2.11.2-r1.ebuild delete mode 100644 dev-python/jinja/jinja-2.11.2.ebuild (limited to 'dev-python/jinja') diff --git a/dev-python/jinja/Manifest b/dev-python/jinja/Manifest index d91eb59460e2..beac2c87c973 100644 --- a/dev-python/jinja/Manifest +++ b/dev-python/jinja/Manifest @@ -1,3 +1,3 @@ DIST jinja-2.11.2.tar.gz 258055 BLAKE2B 5cf12d6c79e7e659b16318cb3dc483a276511192903469629ec497c10ba6cd023f5a834961ac74cbda556177aaac46f5045c5aaca3068dcef87017760895851c SHA512 453e0c94c57065ab78f997726256bd2a31bb79124a2ee17b632cb124a3ccefded33d81b35cac73497f095b1cd5d8cd4420d6932a637fd7c4cdb786f1753e49ac -EBUILD jinja-2.11.2.ebuild 1613 BLAKE2B e8eb16f10a1708153e0583e60d5d346ec8d1e8665808a6f8f092b92b0ec7a006ce3ddd3dc9ecd3abd95aafd078bef502b0cb3925801179ece4c8a71257b36bb9 SHA512 d26bf525e36e7264af821422403b13e90b73a2fe05b3fb0b2a7aed651d94236ceaab8fc8c8870882e1b622e6bc5d23114545f538187a839dcdd3f86eb0d2921c +EBUILD jinja-2.11.2-r1.ebuild 1603 BLAKE2B 47d6e259b1b0b3d04441b41e75d9c1e8850629b560caef5da8b51ae81bc7db76c32571892b7957faffe7126caa02eab5a3403be7c63baa5cb83584f8da8557f1 SHA512 074b8b93ab7a64f8539a9af7262294cc6bee1a847d81b29cdaaac1cf717d62ec9fdc13d7a60767646aace8bc2968735640e1302da57e1d83d22d78275671d450 MISC metadata.xml 466 BLAKE2B 89bbd7d238c94528f0ad8cca2fb358456f88403f06f517e71ca36ae63b01e8309a7ddda5c9063a01b90e8321445013ab5bc93ab33a1219e48b36a02f5ca23d60 SHA512 81af66b462fed2f8e9bfc8c3120e2e70dec933d0300a3d32264c73ce7606b6b3b375c4d4ed0c9f92ccb91c046c20ccfef17f1ed50a95844eccc3ee5baa0b56d0 diff --git a/dev-python/jinja/jinja-2.11.2-r1.ebuild b/dev-python/jinja/jinja-2.11.2-r1.ebuild new file mode 100644 index 000000000000..516615257774 --- /dev/null +++ b/dev-python/jinja/jinja-2.11.2-r1.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DISTUTILS_USE_SETUPTOOLS=rdepend +PYTHON_COMPAT=( python3_{6,7,8,9} pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="A full-featured template engine for Python" +HOMEPAGE="https://jinja.palletsprojects.com/ 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 ~riscv 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 +} diff --git a/dev-python/jinja/jinja-2.11.2.ebuild b/dev-python/jinja/jinja-2.11.2.ebuild deleted file mode 100644 index 4bf0c01a6ecd..000000000000 --- a/dev-python/jinja/jinja-2.11.2.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,9} pypy3 ) -PYTHON_REQ_USE="threads(+)" - -inherit distutils-r1 - -DESCRIPTION="A full-featured template engine for Python" -HOMEPAGE="https://jinja.palletsprojects.com/ 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 ~riscv 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 -} -- cgit v1.2.3