Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/aiohttp-jinja2/
Date: Sun, 22 Aug 2021 08:01:48
Message-Id: 1629619294.786f813c19d6982a730dc3acc0b283a1e41e8c51.mgorny@gentoo
1 commit: 786f813c19d6982a730dc3acc0b283a1e41e8c51
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 22 07:10:53 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 22 08:01:34 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=786f813c
7
8 dev-python/aiohttp-jinja2: Bump to 1.5
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/aiohttp-jinja2/Manifest | 1 +
13 .../aiohttp-jinja2/aiohttp-jinja2-1.5.ebuild | 38 ++++++++++++++++++++++
14 2 files changed, 39 insertions(+)
15
16 diff --git a/dev-python/aiohttp-jinja2/Manifest b/dev-python/aiohttp-jinja2/Manifest
17 index 9e7d5de99bf..c06f16f2a84 100644
18 --- a/dev-python/aiohttp-jinja2/Manifest
19 +++ b/dev-python/aiohttp-jinja2/Manifest
20 @@ -1 +1,2 @@
21 DIST aiohttp-jinja2-1.4.2.tar.gz 54328 BLAKE2B 3d6aaeb03bbb89516a92fa877ee95a2fd27ab83666a03ca12e78f1744b82797faf2547bf55118618cbd979d80779a9571dfcfe9036bc84142563ede55cfbc1a1 SHA512 7bdaee97efe90a0009cd78a4e46dc80cfeb661c2d5561fdb1b1a1ff098abba8667260bb908e3227edd6601c2412812d0311461942568a8aabf07a164ea2f290e
22 +DIST aiohttp-jinja2-1.5.tar.gz 54608 BLAKE2B 3271e159f1022023b3d9f96b0f534b04898e0774d6ceefa19bf8958a835d499a1598fd12cabab8206448a0e89a107816577d596bff0c45a4947fcb7289c35e5b SHA512 230fec6e54fa55e22be3bc09ae1896cd12834eda5721c1d698c8482f9529b443ccf13a4db24bd9ccd179c36b9cdc90abbb848f287e7ed79e621d6a2976b1fa32
23
24 diff --git a/dev-python/aiohttp-jinja2/aiohttp-jinja2-1.5.ebuild b/dev-python/aiohttp-jinja2/aiohttp-jinja2-1.5.ebuild
25 new file mode 100644
26 index 00000000000..81fd748378f
27 --- /dev/null
28 +++ b/dev-python/aiohttp-jinja2/aiohttp-jinja2-1.5.ebuild
29 @@ -0,0 +1,38 @@
30 +# Copyright 1999-2021 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +
35 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
36 +inherit distutils-r1
37 +
38 +DESCRIPTION="jinja2 template renderer for aiohttp.web"
39 +HOMEPAGE="https://github.com/aio-libs/aiohttp-jinja2"
40 +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
41 +
42 +LICENSE="Apache-2.0"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +
46 +RDEPEND="
47 + >=dev-python/aiohttp-2.3.9[${PYTHON_USEDEP}]
48 + >=dev-python/jinja-3[${PYTHON_USEDEP}]
49 +"
50 +BDEPEND="
51 + test? ( >=dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}] )
52 +"
53 +
54 +DOCS=( README.rst )
55 +
56 +distutils_enable_tests pytest
57 +distutils_enable_sphinx docs dev-python/alabaster
58 +
59 +src_prepare() {
60 + default
61 +
62 + sed -i \
63 + -e 's:--cov=aiohttp_jinja2 --cov-report xml --cov-report html --cov-report term::' \
64 + setup.cfg || die
65 +
66 + distutils-r1_src_prepare
67 +}