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 | |
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')
-rw-r--r-- | dev-python/aiohttp-jinja2/Manifest | 1 | ||||
-rw-r--r-- | dev-python/aiohttp-jinja2/aiohttp-jinja2-1.5.ebuild | 38 |
2 files changed, 39 insertions, 0 deletions
diff --git a/dev-python/aiohttp-jinja2/Manifest b/dev-python/aiohttp-jinja2/Manifest index 9e7d5de99bf8..c06f16f2a842 100644 --- a/dev-python/aiohttp-jinja2/Manifest +++ b/dev-python/aiohttp-jinja2/Manifest @@ -1 +1,2 @@ DIST aiohttp-jinja2-1.4.2.tar.gz 54328 BLAKE2B 3d6aaeb03bbb89516a92fa877ee95a2fd27ab83666a03ca12e78f1744b82797faf2547bf55118618cbd979d80779a9571dfcfe9036bc84142563ede55cfbc1a1 SHA512 7bdaee97efe90a0009cd78a4e46dc80cfeb661c2d5561fdb1b1a1ff098abba8667260bb908e3227edd6601c2412812d0311461942568a8aabf07a164ea2f290e +DIST aiohttp-jinja2-1.5.tar.gz 54608 BLAKE2B 3271e159f1022023b3d9f96b0f534b04898e0774d6ceefa19bf8958a835d499a1598fd12cabab8206448a0e89a107816577d596bff0c45a4947fcb7289c35e5b SHA512 230fec6e54fa55e22be3bc09ae1896cd12834eda5721c1d698c8482f9529b443ccf13a4db24bd9ccd179c36b9cdc90abbb848f287e7ed79e621d6a2976b1fa32 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 +} |