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: Sun, 11 Oct 2020 14:49:37
Message-Id: 1602427768.9b70f573cdc659e9112e677edb37320dbbea7f86.mgorny@gentoo
1 commit: 9b70f573cdc659e9112e677edb37320dbbea7f86
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 11 14:22:48 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 11 14:49:28 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b70f573
7
8 dev-python/fastjsonschema: New package, dep of nbformat
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/fastjsonschema/Manifest | 1 +
13 .../fastjsonschema/fastjsonschema-2.14.5.ebuild | 26 ++++++++++++++++++++++
14 dev-python/fastjsonschema/metadata.xml | 7 ++++++
15 3 files changed, 34 insertions(+)
16
17 diff --git a/dev-python/fastjsonschema/Manifest b/dev-python/fastjsonschema/Manifest
18 new file mode 100644
19 index 00000000000..8835172bcb4
20 --- /dev/null
21 +++ b/dev-python/fastjsonschema/Manifest
22 @@ -0,0 +1 @@
23 +DIST python-fastjsonschema-2.14.5.tar.gz 33488 BLAKE2B 4604ebd46851c8fe856909fa3943e053ac7359a9f360c189add2a46780fe045ca1952033174d008db7696bfc861a504c3aaa7389c33a2edbccd10cb14de8a097 SHA512 255db86d1d62845e512ca5669f3200360847d974710050ac53fe88536d6d9f943ccf41a8414702dad70fa1a38defe9859f2b608e13a54af11199c90d63cdf1d0
24
25 diff --git a/dev-python/fastjsonschema/fastjsonschema-2.14.5.ebuild b/dev-python/fastjsonschema/fastjsonschema-2.14.5.ebuild
26 new file mode 100644
27 index 00000000000..cb687ee9c33
28 --- /dev/null
29 +++ b/dev-python/fastjsonschema/fastjsonschema-2.14.5.ebuild
30 @@ -0,0 +1,26 @@
31 +# Copyright 2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +PYTHON_COMPAT=( python3_{7..9} )
37 +inherit distutils-r1
38 +
39 +MY_P=python-${P}
40 +DESCRIPTION="Fast JSON schema validator for Python"
41 +HOMEPAGE="https://github.com/horejsek/python-fastjsonschema/"
42 +SRC_URI="
43 + https://github.com/horejsek/python-fastjsonschema/archive/v${PV}.tar.gz
44 + -> ${MY_P}.tar.gz"
45 +S=${WORKDIR}/${MY_P}
46 +
47 +LICENSE="BSD"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~x86"
50 +
51 +distutils_enable_tests pytest
52 +
53 +src_prepare() {
54 + distutils-r1_src_prepare
55 + rm -r tests/benchmarks || die
56 +}
57
58 diff --git a/dev-python/fastjsonschema/metadata.xml b/dev-python/fastjsonschema/metadata.xml
59 new file mode 100644
60 index 00000000000..266e3f19ca5
61 --- /dev/null
62 +++ b/dev-python/fastjsonschema/metadata.xml
63 @@ -0,0 +1,7 @@
64 +<?xml version="1.0" encoding="UTF-8"?>
65 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
66 +<pkgmetadata>
67 + <maintainer type="project">
68 + <email>python@g.o</email>
69 + </maintainer>
70 +</pkgmetadata>