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/fastjsonschema/
Date: Sat, 26 Feb 2022 18:00:04
Message-Id: 1645898391.2aee556741c0ff201d0d11c8972c56cd7382b701.mgorny@gentoo
1 commit: 2aee556741c0ff201d0d11c8972c56cd7382b701
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 26 17:52:23 2022 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 26 17:59:51 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2aee5567
7
8 dev-python/fastjsonschema: EAPI 8, PEP517
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 .../fastjsonschema/fastjsonschema-2.15.3-r1.ebuild | 29 ++++++++++++++++++++++
13 1 file changed, 29 insertions(+)
14
15 diff --git a/dev-python/fastjsonschema/fastjsonschema-2.15.3-r1.ebuild b/dev-python/fastjsonschema/fastjsonschema-2.15.3-r1.ebuild
16 new file mode 100644
17 index 000000000000..b6d60681afad
18 --- /dev/null
19 +++ b/dev-python/fastjsonschema/fastjsonschema-2.15.3-r1.ebuild
20 @@ -0,0 +1,29 @@
21 +# Copyright 2020-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="Fast JSON schema validator for Python"
33 +HOMEPAGE="https://github.com/horejsek/python-fastjsonschema/"
34 +SRC_URI="
35 + https://github.com/horejsek/python-fastjsonschema/archive/v${PV}.tar.gz
36 + -> ${MY_P}.tar.gz
37 +"
38 +S=${WORKDIR}/${MY_P}
39 +
40 +LICENSE="BSD"
41 +SLOT="0"
42 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
43 +
44 +distutils_enable_tests pytest
45 +
46 +src_prepare() {
47 + distutils-r1_src_prepare
48 + rm -r tests/benchmarks || die
49 +}