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/coreschema/
Date: Sat, 26 Feb 2022 18:00:04
Message-Id: 1645898389.dc6adf00a835d279221d46087d73a3661777f324.mgorny@gentoo
1 commit: dc6adf00a835d279221d46087d73a3661777f324
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 26 17:48:51 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 26 17:59:49 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc6adf00
7
8 dev-python/coreschema: Migrate to PEP517 build
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/coreschema/coreschema-0.0.4-r1.ebuild | 28 ++++++++++++++++++++++++
13 1 file changed, 28 insertions(+)
14
15 diff --git a/dev-python/coreschema/coreschema-0.0.4-r1.ebuild b/dev-python/coreschema/coreschema-0.0.4-r1.ebuild
16 new file mode 100644
17 index 000000000000..f839f7e41981
18 --- /dev/null
19 +++ b/dev-python/coreschema/coreschema-0.0.4-r1.ebuild
20 @@ -0,0 +1,28 @@
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} )
28 +
29 +inherit distutils-r1
30 +
31 +MY_P=python-${P}
32 +DESCRIPTION="Core Schema"
33 +HOMEPAGE="https://github.com/core-api/python-coreschema"
34 +SRC_URI="
35 + https://github.com/core-api/python-coreschema/archive/${PV}.tar.gz
36 + -> ${MY_P}.tar.gz
37 +"
38 +S=${WORKDIR}/${MY_P}
39 +
40 +LICENSE="BSD"
41 +SLOT="0"
42 +KEYWORDS="~amd64"
43 +
44 +RDEPEND="
45 + dev-python/jinja[${PYTHON_USEDEP}]
46 +"
47 +
48 +distutils_enable_tests pytest