rm jinja
This commit is contained in:
parent
c6da244a90
commit
9b1b6b5c46
|
@ -1,3 +0,0 @@
|
|||
DIST jinja-2.10.3.tar.gz 266316 BLAKE2B 0d8c10bb866eb887fd1c88ca5c5304f46d27930d8426587185ea72c0b79b512919bd5fa75987c26e433be049fd5764fb4ec08d42a4ec5ed00510fe8051e10f5e SHA512 566b781218b533c16b107b57e0252da5947fad262fd8d3fbb134b5916939c5e5d31c95e34bd6b14eec333d2ba3b4a6faa4168497a1ac774e7044f8220ac1b06e
|
||||
EBUILD jinja-2.10.3-r2.ebuild 1621 BLAKE2B ade305796c0b1aa502aaf7e9125ba32cef014ec577a191dd7e4954abbdf04fea81e5e6e09f38d982416b48665e8354aa76b108d5354ee9d0ab9077891997071d SHA512 0aa26c8ff77926e1581d06e74e8a92e674dc4a0220201ffb142f0d5340bbf02e4deaa837ec5a76c8bc3f50a963dfe0310fb4e7ce1083428af13bef1e1ef8df62
|
||||
MISC metadata.xml 374 BLAKE2B 7d6caffa81473cac206ff3ad29cc5be6ebc22d82bd3a7eb0befec7cd65a859aa9208851237c629d0c019307986eafda5a93d2977d62f847d68dfe5d415139daf SHA512 5c3b1f608d45786b27c3bf31f04816f6a85e2cfaa44eec5a9aa21029a2e8ab26264e87f9a6faa4c44a44d718aa8186110fb4d0878655dd76d880a7173b6e5d59
|
|
@ -1,72 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy pypy3 )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit eutils distutils-r1
|
||||
|
||||
DESCRIPTION="A full-featured template engine for Python"
|
||||
HOMEPAGE="https://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="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
|
||||
}
|
||||
|
||||
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/. )
|
||||
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
|
||||
}
|
|
@ -1,12 +0,0 @@
|
|||
<?xml version='1.0' encoding='UTF-8'?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="pypi">Jinja2</remote-id>
|
||||
<remote-id type="github">pallets/jinja</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
Loading…
Reference in New Issue