public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jsonpickle/
Date: Fri, 14 Jan 2022 11:17:02 +0000 (UTC)	[thread overview]
Message-ID: <1642158994.edb134413dfc2959fe38055535f23320c44ef6a2.arthurzam@gentoo> (raw)

commit:     edb134413dfc2959fe38055535f23320c44ef6a2
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Fri Jan 14 11:16:16 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Jan 14 11:16:34 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edb13441

dev-python/jsonpickle: add 2.1.0

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-python/jsonpickle/Manifest                |  1 +
 dev-python/jsonpickle/jsonpickle-2.1.0.ebuild | 55 +++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/dev-python/jsonpickle/Manifest b/dev-python/jsonpickle/Manifest
index e3699d6f0989..a1400e3612e5 100644
--- a/dev-python/jsonpickle/Manifest
+++ b/dev-python/jsonpickle/Manifest
@@ -1 +1,2 @@
 DIST jsonpickle-2.0.0.tar.gz 110336 BLAKE2B 574dab58418c5225a9364836d04eaabf3384e9dab404d191846a4bb41e9c8bbb51243a6a231ec8baf05ff9be337e12b5c96c46b74a327e9f05653ca81bf6ccf2 SHA512 acba11e5dfce116b27edfe0fdccdd74755e299aa43f873dd1ce547d947b58f14c1059c21d04007b5be0857f7ce69fe5355fb2edc47a99cc2217fe00297ca78d3
+DIST jsonpickle-2.1.0.tar.gz 186799 BLAKE2B a9e82a046fc77e1a4d5e7b1f13fc34f07e0e42e34922258bb0bd5aa4557bfec2b5fc06e450a0391522ae27380306111001204eb4f5429c2ad1f908fc4dec40a0 SHA512 46e8bcc2e24616da43b87bf8371ec9b39de1e8e33380684c05b7d7c6695f17bcc21150848c3306d235f89c5d74c69b6fda79e93fc823665d72cc88d9d89d8484

diff --git a/dev-python/jsonpickle/jsonpickle-2.1.0.ebuild b/dev-python/jsonpickle/jsonpickle-2.1.0.ebuild
new file mode 100644
index 000000000000..49cc08ae65f5
--- /dev/null
+++ b/dev-python/jsonpickle/jsonpickle-2.1.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1 optfeature
+
+DESCRIPTION="Python library for serializing any arbitrary object graph into JSON"
+HOMEPAGE="https://github.com/jsonpickle/jsonpickle/ https://pypi.org/project/jsonpickle/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86 ~amd64-linux ~x86-linux"
+
+BDEPEND="
+	dev-python/setuptools_scm[${PYTHON_USEDEP}]
+	test? (
+		dev-python/numpy[${PYTHON_USEDEP}]
+		dev-python/pandas[${PYTHON_USEDEP}]
+		dev-python/simplejson[${PYTHON_USEDEP}]
+		dev-python/sqlalchemy[${PYTHON_USEDEP}]
+		dev-python/ujson[${PYTHON_USEDEP}]
+		dev-python/feedparser[${PYTHON_USEDEP}]
+	)"
+
+distutils_enable_sphinx docs \
+	dev-python/jaraco-packaging \
+	dev-python/rst-linker
+distutils_enable_tests pytest
+
+python_prepare_all() {
+	sed -i -e 's:--flake8 --black --cov::' pytest.ini || die
+	distutils-r1_python_prepare_all
+}
+
+python_test() {
+	local EPYTEST_IGNORE=(
+		# unpackaged bson dependency
+		tests/bson_test.py
+		# broken when gmpy is installed
+		# https://github.com/jsonpickle/jsonpickle/issues/328
+		# https://github.com/jsonpickle/jsonpickle/issues/316
+		tests/ecdsa_test.py
+	)
+	epytest
+}
+
+pkg_postinst() {
+	# Unpackaged optional backends: yajl, demjson
+	optfeature "encoding numpy-based data" dev-python/numpy
+	optfeature "encoding pandas objects" dev-python/pandas
+	optfeature "fast JSON backend" dev-python/simplejson
+}


             reply	other threads:[~2022-01-14 11:17 UTC|newest]

Thread overview: 68+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-14 11:17 Arthur Zamarin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-21 12:02 [gentoo-commits] repo/gentoo:master commit in: dev-python/jsonpickle/ Michał Górny
2024-09-21 11:54 Arthur Zamarin
2024-09-03  5:23 Michał Górny
2024-07-07 17:05 Michał Górny
2024-07-06  6:43 Arthur Zamarin
2024-06-21 16:59 Michał Górny
2024-06-10  1:52 Michał Górny
2024-05-22  8:03 Michał Górny
2024-05-01 17:44 Michał Górny
2024-05-01 17:01 Sam James
2024-04-13 16:08 Michał Górny
2024-04-12  3:35 Michał Górny
2024-03-07 19:48 Michał Górny
2024-03-07 18:12 Sam James
2024-02-20  6:13 Michał Górny
2023-11-24 15:02 Arthur Zamarin
2023-10-24  5:40 Michał Górny
2023-09-17 11:26 Michał Górny
2023-08-14  6:26 Michał Górny
2023-01-07 18:55 Arthur Zamarin
2022-12-17 12:34 Michał Górny
2022-12-02 15:39 Michał Górny
2022-12-02 14:03 Arthur Zamarin
2022-11-08  5:00 Michał Górny
2022-11-07 23:18 Sam James
2022-08-29 10:37 Michał Górny
2022-06-13 11:25 Michał Górny
2022-06-13  7:15 Agostino Sarubbo
2022-05-12  7:13 Michał Górny
2022-03-15 14:14 Michał Górny
2022-03-15 11:52 Jakov Smolić
2022-02-04 12:04 Michał Górny
2022-01-28 18:41 Arthur Zamarin
2021-12-13  3:09 Yixun Lan
2021-08-20 12:46 Arthur Zamarin
2021-08-20 12:46 Arthur Zamarin
2021-03-17  7:48 Michał Górny
2021-03-17  2:16 Sam James
2021-02-19  8:58 Michał Górny
2021-02-19  3:40 Sam James
2021-02-08 15:07 Michał Górny
2021-02-08  8:44 Michał Górny
2021-01-31  8:53 Michał Górny
2021-01-17  9:02 Michał Górny
2020-12-31  1:17 Sam James
2020-12-30  8:58 Michał Górny
2020-11-30  8:25 Michał Górny
2020-08-18  5:28 Sam James
2020-06-12 15:40 Michał Górny
2020-06-04  6:35 Agostino Sarubbo
2020-06-04  6:23 Agostino Sarubbo
2020-05-19 12:49 Michał Górny
2020-05-04 11:13 Michał Górny
2020-05-01 15:44 Michał Górny
2020-04-29  6:31 Patrick McLean
2020-04-29  5:57 Patrick McLean
2020-03-17  7:23 Michał Górny
2020-03-07 15:03 Michał Górny
2020-03-07 11:03 Agostino Sarubbo
2020-03-07  9:44 Agostino Sarubbo
2020-03-02 12:23 Sebastian Pipping
2020-02-05 15:29 Michał Górny
2019-06-24 20:57 Zac Medico
2018-06-24 15:24 Pacho Ramos
2017-01-18 11:57 Agostino Sarubbo
2017-01-18 11:28 Agostino Sarubbo
2016-03-13 19:04 Patrick Lauer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1642158994.edb134413dfc2959fe38055535f23320c44ef6a2.arthurzam@gentoo \
    --to=arthurzam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox