Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jsonschema-spec/
Date: Fri, 02 Sep 2022 15:18:08
Message-Id: 1662131828.e3c331fefc0ffd90be24de6d9f33aede5346a7ff.arthurzam@gentoo
1 commit: e3c331fefc0ffd90be24de6d9f33aede5346a7ff
2 Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 2 14:53:40 2022 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 2 15:17:08 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3c331fe
7
8 dev-python/jsonschema-spec: new package, add 0.1.1
9
10 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
11
12 dev-python/jsonschema-spec/Manifest | 1 +
13 .../jsonschema-spec/jsonschema-spec-0.1.1.ebuild | 36 ++++++++++++++++++++++
14 dev-python/jsonschema-spec/metadata.xml | 13 ++++++++
15 3 files changed, 50 insertions(+)
16
17 diff --git a/dev-python/jsonschema-spec/Manifest b/dev-python/jsonschema-spec/Manifest
18 new file mode 100644
19 index 000000000000..738a8b87f272
20 --- /dev/null
21 +++ b/dev-python/jsonschema-spec/Manifest
22 @@ -0,0 +1 @@
23 +DIST jsonschema-spec-0.1.1.gh.tar.gz 21747 BLAKE2B 441f34c62da2d22699379035e20f2ed78a974413ea9c2f80b753cc2b41d978351c69aaa50750139e622d075c4c3979dc43b888bea111a0f4b31fa9d37822a1fa SHA512 b1bdd03c6fc022877d0801d859abe0dd19e066afe2a1eab6c650a8741a50473e74945ddde429508e5dccf379a84b25fbd60c49fdc310aa770bed52b63e60e397
24
25 diff --git a/dev-python/jsonschema-spec/jsonschema-spec-0.1.1.ebuild b/dev-python/jsonschema-spec/jsonschema-spec-0.1.1.ebuild
26 new file mode 100644
27 index 000000000000..fd24a7a9a068
28 --- /dev/null
29 +++ b/dev-python/jsonschema-spec/jsonschema-spec-0.1.1.ebuild
30 @@ -0,0 +1,36 @@
31 +# Copyright 2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
35 +
36 +DISTUTILS_USE_PEP517=poetry
37 +PYTHON_COMPAT=( pypy3 python3_{8..11} )
38 +inherit distutils-r1
39 +
40 +DESCRIPTION="JSONSchema Spec with object-oriented paths"
41 +HOMEPAGE="
42 + https://pypi.org/project/jsonschema-spec/
43 + https://github.com/p1c2u/jsonschema-spec
44 +"
45 +SRC_URI="
46 + https://github.com/p1c2u/jsonschema-spec/archive/${PV}.tar.gz
47 + -> ${P}.gh.tar.gz
48 +"
49 +
50 +LICENSE="Apache-2.0"
51 +SLOT="0"
52 +KEYWORDS="~amd64"
53 +
54 +RDEPEND="
55 + >=dev-python/jsonschema-4.0.0[${PYTHON_USEDEP}]
56 + dev-python/pathable[${PYTHON_USEDEP}]
57 + >=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
58 + dev-python/pathable[${PYTHON_USEDEP}]
59 +"
60 +
61 +distutils_enable_tests pytest
62 +
63 +src_prepare() {
64 + sed -e '/--cov/d' -i pyproject.toml || die
65 + distutils-r1_src_prepare
66 +}
67
68 diff --git a/dev-python/jsonschema-spec/metadata.xml b/dev-python/jsonschema-spec/metadata.xml
69 new file mode 100644
70 index 000000000000..1559254c1a65
71 --- /dev/null
72 +++ b/dev-python/jsonschema-spec/metadata.xml
73 @@ -0,0 +1,13 @@
74 +<?xml version="1.0" encoding="UTF-8"?>
75 +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
76 +<pkgmetadata>
77 + <maintainer type="project">
78 + <email>python@g.o</email>
79 + <name>Python</name>
80 + </maintainer>
81 + <stabilize-allarches/>
82 + <upstream>
83 + <remote-id type="pypi">jsonschema-spec</remote-id>
84 + <remote-id type="github">p1c2u/jsonschema-spec</remote-id>
85 + </upstream>
86 +</pkgmetadata>