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/jsonref/
Date: Sat, 29 Jan 2022 15:43:52
Message-Id: 1643471020.7350e98965b55102e8b9a0059618eff787f9e52a.mgorny@gentoo
1 commit: 7350e98965b55102e8b9a0059618eff787f9e52a
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 29 15:16:43 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 29 15:43:40 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7350e989
7
8 dev-python/jsonref: Switch to PEP 517 build
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/jsonref/jsonref-0.1-r1.ebuild | 23 +++++++++++++++++++++++
13 1 file changed, 23 insertions(+)
14
15 diff --git a/dev-python/jsonref/jsonref-0.1-r1.ebuild b/dev-python/jsonref/jsonref-0.1-r1.ebuild
16 new file mode 100644
17 index 000000000000..a5ab5203605d
18 --- /dev/null
19 +++ b/dev-python/jsonref/jsonref-0.1-r1.ebuild
20 @@ -0,0 +1,23 @@
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 +DESCRIPTION="An implementation of JSON Reference for Python"
32 +HOMEPAGE="https://github.com/gazpachoking/jsonref https://pypi.org/project/jsonref/"
33 +SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
34 +
35 +LICENSE="MIT"
36 +SLOT="0"
37 +KEYWORDS="~amd64"
38 +
39 +distutils_enable_tests pytest
40 +
41 +python_test() {
42 + epytest tests.py
43 +}