1 |
commit: 2c6657b5906908ab559020839c73cd5fd1f930c8 |
2 |
Author: Patrick McLean <patrick.mclean <AT> sony <DOT> com> |
3 |
AuthorDate: Tue Dec 3 03:00:50 2019 +0000 |
4 |
Commit: Patrick McLean <chutzpah <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Dec 3 03:00:58 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c6657b5 |
7 |
|
8 |
dev-python/ujson-1.35-r1: Revbump, EAPI=7, py38 |
9 |
|
10 |
Copyright: Sony Interactive Entertainment Inc. |
11 |
Package-Manager: Portage-2.3.80, Repoman-2.3.19 |
12 |
Signed-off-by: Patrick McLean <chutzpah <AT> gentoo.org> |
13 |
|
14 |
dev-python/ujson/ujson-1.35-r1.ebuild | 38 +++++++++++++++++++++++++++++++++++ |
15 |
1 file changed, 38 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/ujson/ujson-1.35-r1.ebuild b/dev-python/ujson/ujson-1.35-r1.ebuild |
18 |
new file mode 100644 |
19 |
index 00000000000..006979f5c98 |
20 |
--- /dev/null |
21 |
+++ b/dev-python/ujson/ujson-1.35-r1.ebuild |
22 |
@@ -0,0 +1,38 @@ |
23 |
+# Copyright 1999-2019 Gentoo Authors |
24 |
+# Distributed under the terms of the GNU General Public License v2 |
25 |
+ |
26 |
+EAPI=7 |
27 |
+PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} ) |
28 |
+ |
29 |
+inherit distutils-r1 |
30 |
+ |
31 |
+DESCRIPTION="Ultra fast JSON encoder and decoder for Python" |
32 |
+HOMEPAGE="https://pypi.org/project/ujson/" |
33 |
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" |
34 |
+ |
35 |
+LICENSE="BSD" |
36 |
+SLOT="0" |
37 |
+KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" |
38 |
+IUSE="test" |
39 |
+RESTRICT="!test? ( test )" |
40 |
+ |
41 |
+DEPEND=" |
42 |
+ dev-python/setuptools[${PYTHON_USEDEP}] |
43 |
+ test? ( |
44 |
+ $(python_gen_cond_dep 'dev-python/unittest2[${PYTHON_USEDEP}]' -2) |
45 |
+ dev-python/pytz[${PYTHON_USEDEP}] |
46 |
+ ) |
47 |
+" |
48 |
+ |
49 |
+PATCHES=( |
50 |
+ "${FILESDIR}/${P}-sort_keys-segfault.patch" |
51 |
+ "${FILESDIR}/${P}-use-static-where-possible.patch" |
52 |
+ "${FILESDIR}/${P}-fix-for-overflowing-long.patch" |
53 |
+ "${FILESDIR}/${P}-standard-handling-of-none.patch" |
54 |
+ "${FILESDIR}/${P}-fix-ordering-of-orderdict.patch" |
55 |
+ "${FILESDIR}/${P}-test-depricationwarning.patch" |
56 |
+) |
57 |
+ |
58 |
+python_test() { |
59 |
+ "${PYTHON}" tests/tests.py || die |
60 |
+} |