1 |
commit: 9f1cd717bfc4125f4bbc97fbf4b2b03960d99181 |
2 |
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Mar 7 16:55:27 2020 +0000 |
4 |
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 7 16:57:07 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9f1cd717 |
7 |
|
8 |
dev-python/ujson: 2.0.0 |
9 |
|
10 |
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org> |
11 |
Package-Manager: Portage-2.3.92, Repoman-2.3.20 |
12 |
|
13 |
dev-python/ujson/Manifest | 1 + |
14 |
dev-python/ujson/ujson-2.0.0.ebuild | 26 ++++++++++++++++++++++++++ |
15 |
2 files changed, 27 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/ujson/Manifest b/dev-python/ujson/Manifest |
18 |
index 6e3b3d1940d..ba206208b55 100644 |
19 |
--- a/dev-python/ujson/Manifest |
20 |
+++ b/dev-python/ujson/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST ujson-1.35.tar.gz 192027 BLAKE2B 320058e7142f2264bee8b02a411bedb3b32d1c2fc86157eb47272f75cb401e6c75ce7d9e3dba5092cd1db99dbded8804347d4c7be11eaedb47bc8b4b8125fbd3 SHA512 931d8f574fc4920c9ded48369774666060e951f40982606ce9f1d9de3420004042af7d797075a54d92a2b25c4f313572a5e1a30f3bc8ce387ef8f3881193eee7 |
23 |
+DIST ujson-2.0.0.tar.gz 7126998 BLAKE2B 10524a96af35524e2a4390cec4d974874e5f8f9e4a60e369b24861afbfc8208961100cca73a2ceab4c03729013cbacc795b7ce80b9e3beccf0ec674cb24e097a SHA512 c6b4845b3ce05bdae62d3b231f3bb14cd8efccedd7e5bda8c45e524e8c91b5284e7dea7f92175e6ef21437a32b1bfb87588342d7685877418fd76a92ecef8f57 |
24 |
|
25 |
diff --git a/dev-python/ujson/ujson-2.0.0.ebuild b/dev-python/ujson/ujson-2.0.0.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..343cf57ed7b |
28 |
--- /dev/null |
29 |
+++ b/dev-python/ujson/ujson-2.0.0.ebuild |
30 |
@@ -0,0 +1,26 @@ |
31 |
+# Copyright 1999-2020 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=7 |
35 |
+PYTHON_COMPAT=( python3_{6,7,8} pypy3 ) |
36 |
+ |
37 |
+inherit distutils-r1 |
38 |
+ |
39 |
+DESCRIPTION="Ultra fast JSON encoder and decoder for Python" |
40 |
+HOMEPAGE="https://pypi.org/project/ujson/" |
41 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="BSD" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" |
46 |
+IUSE="test" |
47 |
+RESTRICT="!test? ( test )" |
48 |
+ |
49 |
+DEPEND=" |
50 |
+ dev-python/setuptools_scm[${PYTHON_USEDEP}] |
51 |
+ test? ( dev-python/pytz[${PYTHON_USEDEP}] ) |
52 |
+" |
53 |
+ |
54 |
+python_test() { |
55 |
+ "${PYTHON}" tests/test_ujson.py || die |
56 |
+} |