public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/jsonrpclib/
Date: Mon, 25 Apr 2022 12:11:05 +0000 (UTC)	[thread overview]
Message-ID: <1650888534.d4acc6e0a7dfe29fc0f64ebd2216da2d8c7bedaf.mgorny@gentoo> (raw)

commit:     d4acc6e0a7dfe29fc0f64ebd2216da2d8c7bedaf
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 25 11:54:40 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Apr 25 12:08:54 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4acc6e0

dev-python/jsonrpclib: Bump to 0.4.3.2

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/jsonrpclib/Manifest                  |  1 +
 dev-python/jsonrpclib/jsonrpclib-0.4.3.2.ebuild | 49 +++++++++++++++++++++++++
 2 files changed, 50 insertions(+)

diff --git a/dev-python/jsonrpclib/Manifest b/dev-python/jsonrpclib/Manifest
index ce059b105bec..cda3cfd16183 100644
--- a/dev-python/jsonrpclib/Manifest
+++ b/dev-python/jsonrpclib/Manifest
@@ -1 +1,2 @@
 DIST jsonrpclib-0.4.2.tar.gz 59590 BLAKE2B 4201d62c9be469d7016943acfc84dca56606f17383ac26e86f574c34927ee6131c5c1a9bc5c3934b8324049ac35b1ff5e4e49ca7ef850251ebdf9a42a53e59a4 SHA512 8d9e5ebe8de960272a1ea0a194544d41851f96c5bc16b9eb6984ac4e48ec1aeaee8e4c3846cfe747a737612934d43a3df72bb1267f0608b1cd2d6faba2acc7b2
+DIST jsonrpclib-0.4.3.2.gh.tar.gz 63127 BLAKE2B 4301f23a981f00e78f88f78a8f5e8d776985fcd5d268373430b308cd9e2b07d5e1aaae9fa514640275439f4269ecf9ac5a2e42d5c96b870b72e37e4faea7c790 SHA512 718b9a8a49b6f936635ea8e500d16b8d3f42a28e44c4d0bb2bf1e648063ab1107edca93b4f178600a0b36d2e0584cf531f6e9721f5ed6967ea9a160c923103f3

diff --git a/dev-python/jsonrpclib/jsonrpclib-0.4.3.2.ebuild b/dev-python/jsonrpclib/jsonrpclib-0.4.3.2.ebuild
new file mode 100644
index 000000000000..afe4f32dda97
--- /dev/null
+++ b/dev-python/jsonrpclib/jsonrpclib-0.4.3.2.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+if [[ ${PV} == "9999" ]] ; then
+	EGIT_REPO_URI="https://github.com/tcalmant/jsonrpclib.git"
+	inherit git-r3
+else
+	SRC_URI="
+		https://github.com/tcalmant/jsonrpclib/archive/v${PV}.tar.gz
+			-> ${P}.gh.tar.gz
+	"
+	KEYWORDS="~amd64 ~arm ~arm64 ~mips ~x86"
+fi
+
+DESCRIPTION="python implementation of the JSON-RPC spec (1.0 and 2.0)"
+HOMEPAGE="
+	https://github.com/tcalmant/jsonrpclib/
+	https://pypi.org/project/jsonrpclib/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+
+BDEPEND="
+	test? (
+		dev-python/simplejson[${PYTHON_USEDEP}]
+		dev-python/ujson[${PYTHON_USEDEP}]
+	)
+"
+
+distutils_enable_tests pytest
+
+python_test() {
+	epytest
+
+	# NB: we need to run this test separately as it breaks
+	# tests/test_server.py::PooledServerTests
+	# see jsonlib.py, get_handler()
+	# the most preferred (first) lib that's in test deps
+	local -x JSONRPCLIB_TEST_EXPECTED_LIB=ujson
+	epytest tests/test_jsonlib.py::TestJsonLibLoading
+}


             reply	other threads:[~2022-04-25 12:11 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-25 12:11 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-06-03  8:50 [gentoo-commits] repo/gentoo:master commit in: dev-python/jsonrpclib/ Michał Górny
2023-02-17  8:52 Sam James
2022-06-22  7:57 Michał Górny
2022-06-22  6:53 Agostino Sarubbo
2022-05-25 18:42 Arthur Zamarin
2021-06-05 14:17 Michał Górny
2021-01-30 15:17 Conrad Kostecki
2020-12-06 17:42 Michał Górny
2020-12-06 17:37 Sam James
2020-11-17 17:43 Michał Górny
2020-11-09 21:29 Michał Górny
2020-07-09 10:55 Michał Górny
2020-07-09 10:55 Michał Górny
2020-04-13 10:32 Michał Górny
2020-03-25 13:00 Michał Górny
2020-03-25 13:00 Michał Górny
2020-02-05 15:29 Michał Górny
2019-12-03  3:02 Aaron Bauman
2019-07-30  7:24 Michał Górny
2019-07-30  7:24 Michał Górny
2019-07-30  7:24 Michał Górny
2018-03-15 16:20 Mikle Kolyada
2018-01-04 21:50 Michał Górny
2017-12-31 15:38 Anthony G. Basile
2017-12-31 11:08 Anthony G. Basile
2017-12-17  4:57 Anthony G. Basile
2017-12-17  4:47 Anthony G. Basile
2017-12-17  4:33 Anthony G. Basile
2017-12-17  3:28 Zac Medico
2017-07-30  9:15 Michał Górny
2016-03-26 19:09 Mike Gilbert
2016-03-26 18:07 Mike Frysinger

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=1650888534.d4acc6e0a7dfe29fc0f64ebd2216da2d8c7bedaf.mgorny@gentoo \
    --to=mgorny@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