1 |
commit: edc89d9fdd9f0b3a7ef7ed59932d8c1495755467 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Nov 6 11:08:18 2021 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Nov 6 12:41:01 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edc89d9f |
7 |
|
8 |
dev-python/jschema_to_python: New cfn-lint dep, v1.2.3 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/jschema_to_python/Manifest | 1 + |
13 |
.../jschema_to_python-1.2.3.ebuild | 26 ++++++++++++++++++++++ |
14 |
dev-python/jschema_to_python/metadata.xml | 12 ++++++++++ |
15 |
3 files changed, 39 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/jschema_to_python/Manifest b/dev-python/jschema_to_python/Manifest |
18 |
new file mode 100644 |
19 |
index 00000000000..da7796f56a7 |
20 |
--- /dev/null |
21 |
+++ b/dev-python/jschema_to_python/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST jschema_to_python-1.2.3.tar.gz 10061 BLAKE2B e6d16ce5950cf787bc2073c5470c304f8d10bf97fdcc53f4ec2dd00f7cc5d6ec1308ef0813ef3eaf5b98a5cd018b43f3ca30abba441c5b1cb9a02783aa596f22 SHA512 e7e37612573e2f5cf96df6fe7206ecf31c83993e40877b0587df2a42ef2f2ae192e4f8442d40cdfb728c27fca880ae5bb427935fa7b0bbd9fadbb9a643c3c1f0 |
24 |
|
25 |
diff --git a/dev-python/jschema_to_python/jschema_to_python-1.2.3.ebuild b/dev-python/jschema_to_python/jschema_to_python-1.2.3.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..84ee27121ee |
28 |
--- /dev/null |
29 |
+++ b/dev-python/jschema_to_python/jschema_to_python-1.2.3.ebuild |
30 |
@@ -0,0 +1,26 @@ |
31 |
+# Copyright 2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python3_{8..10} ) |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Generate source code for Python classes from a JSON schema" |
40 |
+HOMEPAGE=" |
41 |
+ https://pypi.org/project/jschema-to-python/ |
42 |
+ https://github.com/microsoft/jschema-to-python/" |
43 |
+SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="MIT" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ dev-python/attrs[${PYTHON_USEDEP}] |
51 |
+ dev-python/jsonpickle[${PYTHON_USEDEP}] |
52 |
+ dev-python/pbr[${PYTHON_USEDEP}]" |
53 |
+BDEPEND=" |
54 |
+ dev-python/pbr[${PYTHON_USEDEP}]" |
55 |
+ |
56 |
+distutils_enable_tests pytest |
57 |
|
58 |
diff --git a/dev-python/jschema_to_python/metadata.xml b/dev-python/jschema_to_python/metadata.xml |
59 |
new file mode 100644 |
60 |
index 00000000000..99ae902efe2 |
61 |
--- /dev/null |
62 |
+++ b/dev-python/jschema_to_python/metadata.xml |
63 |
@@ -0,0 +1,12 @@ |
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 |
+ <stabilize-allarches/> |
71 |
+ <upstream> |
72 |
+ <remote-id type="pypi">jschema-to-python</remote-id> |
73 |
+ <remote-id type="github">microsoft/jschema-to-python</remote-id> |
74 |
+ </upstream> |
75 |
+</pkgmetadata> |