diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-08-22 09:10:53 +0200 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2021-08-22 10:01:34 +0200 |
commit | 786f813c19d6982a730dc3acc0b283a1e41e8c51 (patch) | |
tree | 887f311b73cec3fa533eef99ef5a6754caf9a9b0 /dev-python/aiohttp-jinja2/aiohttp-jinja2-1.5.ebuild | |
parent | dev-python/ruamel-yaml: Bump to 0.17.13 (diff) | |
download | gentoo-786f813c19d6982a730dc3acc0b283a1e41e8c51.tar.gz gentoo-786f813c19d6982a730dc3acc0b283a1e41e8c51.tar.bz2 gentoo-786f813c19d6982a730dc3acc0b283a1e41e8c51.zip |
dev-python/aiohttp-jinja2: Bump to 1.5
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/aiohttp-jinja2/aiohttp-jinja2-1.5.ebuild')
-rw-r--r-- | dev-python/aiohttp-jinja2/aiohttp-jinja2-1.5.ebuild | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/aiohttp-jinja2/aiohttp-jinja2-1.5.ebuild b/dev-python/aiohttp-jinja2/aiohttp-jinja2-1.5.ebuild new file mode 100644 index 000000000000..81fd748378fe --- /dev/null +++ b/dev-python/aiohttp-jinja2/aiohttp-jinja2-1.5.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} pypy3 ) +inherit distutils-r1 + +DESCRIPTION="jinja2 template renderer for aiohttp.web" +HOMEPAGE="https://github.com/aio-libs/aiohttp-jinja2" +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=" + >=dev-python/aiohttp-2.3.9[${PYTHON_USEDEP}] + >=dev-python/jinja-3[${PYTHON_USEDEP}] +" +BDEPEND=" + test? ( >=dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}] ) +" + +DOCS=( README.rst ) + +distutils_enable_tests pytest +distutils_enable_sphinx docs dev-python/alabaster + +src_prepare() { + default + + sed -i \ + -e 's:--cov=aiohttp_jinja2 --cov-report xml --cov-report html --cov-report term::' \ + setup.cfg || die + + distutils-r1_src_prepare +} |