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/typeguard/
Date: Tue, 23 Nov 2021 08:12:20
Message-Id: 1637655133.3148a9b2620b6155a0b6bbfdfd44ab92e3f5852d.mgorny@gentoo
1 commit: 3148a9b2620b6155a0b6bbfdfd44ab92e3f5852d
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 23 07:48:15 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 23 08:12:13 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3148a9b2
7
8 dev-python/typeguard: Bump to 2.13.2
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/typeguard/Manifest | 1 +
13 dev-python/typeguard/typeguard-2.13.2.ebuild | 39 ++++++++++++++++++++++++++++
14 2 files changed, 40 insertions(+)
15
16 diff --git a/dev-python/typeguard/Manifest b/dev-python/typeguard/Manifest
17 index 8494b7e8fe25..baa4b0e55eee 100644
18 --- a/dev-python/typeguard/Manifest
19 +++ b/dev-python/typeguard/Manifest
20 @@ -1 +1,2 @@
21 DIST typeguard-2.13.0.gh.tar.gz 36849 BLAKE2B ef9b724bdd5ef127b6ede4ff4cb1d4f4794b0e921512d2cbf474145bf64de0cae85b7f5283dfc7f0b750e79e1c44c03ce6b4c0f24a33ae961c428aa57f3b6ae5 SHA512 48df7a9d6ee2cc11b5118432afcda5e0939712ff66d67f3945e26047c0880a05c133b505869ebcef59ce438260b9f6d1806121d0d4828853bc3b9c3468769f39
22 +DIST typeguard-2.13.2.gh.tar.gz 37142 BLAKE2B 0aa3f53bc0d1aa485d071cd52d2458ab83c4d5eba88708240c100a3205a2714f39465cb48d82118eb6bcf1e30579e50bb5dffb31b3f2b673573481772d650a23 SHA512 a11c1b9ee417a99a8bd09f4b5b05c7cdf319748b8221a49d1ff76854e2f432768224437f82a41c0166e5b148a550b58afbabfa1935cdc2a049cda3010edd052a
23
24 diff --git a/dev-python/typeguard/typeguard-2.13.2.ebuild b/dev-python/typeguard/typeguard-2.13.2.ebuild
25 new file mode 100644
26 index 000000000000..9ea46fa44506
27 --- /dev/null
28 +++ b/dev-python/typeguard/typeguard-2.13.2.ebuild
29 @@ -0,0 +1,39 @@
30 +# Copyright 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} )
36 +inherit distutils-r1
37 +
38 +DESCRIPTION="Run-time type checker for Python"
39 +HOMEPAGE="
40 + https://pypi.org/project/typeguard/
41 + https://github.com/agronholm/typeguard/"
42 +SRC_URI="
43 + https://github.com/agronholm/typeguard/archive/${PV}.tar.gz
44 + -> ${P}.gh.tar.gz"
45 +
46 +LICENSE="MIT"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~x86"
49 +
50 +BDEPEND="
51 + dev-python/setuptools_scm[${PYTHON_USEDEP}]
52 + test? (
53 + dev-python/typing-extensions[${PYTHON_USEDEP}]
54 + )"
55 +
56 +distutils_enable_tests pytest
57 +
58 +export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
59 +
60 +python_test() {
61 + local EPYTEST_IGNORE=(
62 + # mypy changes results from version to version
63 + tests/mypy
64 + )
65 +
66 + local -x PYTHONDONTWRITEBYTECODE=
67 + epytest
68 +}