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/cerberus/
Date: Tue, 17 May 2022 06:54:40
Message-Id: 1652770465.5496732e10e5f17908f70f7cae3d217c43d99d6c.mgorny@gentoo
1 commit: 5496732e10e5f17908f70f7cae3d217c43d99d6c
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 17 05:55:18 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Tue May 17 06:54:25 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5496732e
7
8 dev-python/cerberus: Use PEP517 build
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/cerberus/cerberus-1.3.4-r1.ebuild | 35 ++++++++++++++++++++++++++++
13 1 file changed, 35 insertions(+)
14
15 diff --git a/dev-python/cerberus/cerberus-1.3.4-r1.ebuild b/dev-python/cerberus/cerberus-1.3.4-r1.ebuild
16 new file mode 100644
17 index 000000000000..995bff25596f
18 --- /dev/null
19 +++ b/dev-python/cerberus/cerberus-1.3.4-r1.ebuild
20 @@ -0,0 +1,35 @@
21 +# Copyright 1999-2022 Gentoo Authors
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=8
25 +
26 +DISTUTILS_USE_PEP517=setuptools
27 +PYTHON_COMPAT=( python3_{8..10} pypy3 )
28 +
29 +inherit distutils-r1
30 +
31 +DESCRIPTION="A lightweight and extensible data-validation library for Python"
32 +HOMEPAGE="
33 + https://docs.python-cerberus.org/
34 + https://github.com/pyeve/cerberus/
35 + https://pypi.org/project/Cerberus/
36 +"
37 +SRC_URI="
38 + https://github.com/pyeve/cerberus/archive/${PV}.tar.gz -> ${P}.tar.gz
39 +"
40 +
41 +LICENSE="ISC"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~riscv ~x86"
44 +
45 +PATCHES=(
46 + "${FILESDIR}"/${PN}-1.3.2_no-pytest-runner.patch
47 + "${FILESDIR}"/${PN}-1.3.4-raw_docstrings.patch
48 +)
49 +
50 +# Require currently unpackaged pytest-benchmark, more useful to developers than to end users.
51 +EPYTEST_DESELECT=(
52 + cerberus/benchmarks/
53 +)
54 +
55 +distutils_enable_tests pytest