1 |
commit: b818a920eac465e713ad8a53ca9cef84bf5abb51 |
2 |
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
3 |
AuthorDate: Tue Jun 29 03:24:42 2021 +0000 |
4 |
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> |
5 |
CommitDate: Tue Jun 29 03:25:00 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b818a920 |
7 |
|
8 |
dev-python/ujson: initial import |
9 |
|
10 |
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> |
11 |
|
12 |
dev-python/ujson/Manifest | 1 + |
13 |
dev-python/ujson/metadata.xml | 14 ++++++++++++++ |
14 |
dev-python/ujson/ujson-4.0.2.ebuild | 28 ++++++++++++++++++++++++++++ |
15 |
3 files changed, 43 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/ujson/Manifest b/dev-python/ujson/Manifest |
18 |
new file mode 100644 |
19 |
index 000000000..90f2344aa |
20 |
--- /dev/null |
21 |
+++ b/dev-python/ujson/Manifest |
22 |
@@ -0,0 +1 @@ |
23 |
+DIST ujson-4.0.2.tar.gz 7129106 BLAKE2B 8ebf68c6bac65100baeee4f95f175ada09ba48b9efe1876b7b1ff2c3cf87d1a50d8300a981fd97eac73e4c5a70af1b7fddcd468aa6067aac8a2e44133f397057 SHA512 ece12d4407cb7cdb647597ff7fc32e4390fc4c790c59e764da5c5644e5dec470c48cb6a6aaa18429cb713643e5205c5d26b2d2d2195bc90f3a171615d3dbd80d |
24 |
|
25 |
diff --git a/dev-python/ujson/metadata.xml b/dev-python/ujson/metadata.xml |
26 |
new file mode 100644 |
27 |
index 000000000..788f3192d |
28 |
--- /dev/null |
29 |
+++ b/dev-python/ujson/metadata.xml |
30 |
@@ -0,0 +1,14 @@ |
31 |
+<?xml version="1.0" encoding="UTF-8"?> |
32 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
33 |
+<pkgmetadata> |
34 |
+ <maintainer type="person"> |
35 |
+ <description>co-maintainers welcome</description> |
36 |
+ <email>lssndrbarbieri@×××××.com</email> |
37 |
+ <name>Alessandro Barbieri</name> |
38 |
+ </maintainer> |
39 |
+ <upstream> |
40 |
+ <bugs-to>https://github.com/ultrajson/ultrajson/issues</bugs-to> |
41 |
+ <remote-id type="github">ultrajson/ultrajson</remote-id> |
42 |
+ <remote-id type="pypi">ujson</remote-id> |
43 |
+ </upstream> |
44 |
+</pkgmetadata> |
45 |
|
46 |
diff --git a/dev-python/ujson/ujson-4.0.2.ebuild b/dev-python/ujson/ujson-4.0.2.ebuild |
47 |
new file mode 100644 |
48 |
index 000000000..fafc085a4 |
49 |
--- /dev/null |
50 |
+++ b/dev-python/ujson/ujson-4.0.2.ebuild |
51 |
@@ -0,0 +1,28 @@ |
52 |
+# Copyright 1999-2021 Gentoo Authors |
53 |
+# Distributed under the terms of the GNU General Public License v2 |
54 |
+ |
55 |
+EAPI=7 |
56 |
+ |
57 |
+PYTHON_COMPAT=( python3_{8..10} pypy3 ) |
58 |
+ |
59 |
+inherit distutils-r1 |
60 |
+ |
61 |
+DESCRIPTION="Ultra fast JSON encoder and decoder for Python" |
62 |
+HOMEPAGE="https://pypi.org/project/ujson" |
63 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
64 |
+ |
65 |
+LICENSE="BSD" |
66 |
+SLOT="0" |
67 |
+KEYWORDS="~amd64" |
68 |
+ |
69 |
+IUSE="test" |
70 |
+RESTRICT="!test? ( test )" |
71 |
+ |
72 |
+DEPEND=" |
73 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
74 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
75 |
+" |
76 |
+ |
77 |
+python_test() { |
78 |
+ "${EPYTHON}" tests/test_ujson.py || die |
79 |
+} |