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/msgpack/
Date: Tue, 10 Sep 2024 07:06:16 +0000 (UTC)	[thread overview]
Message-ID: <1725951960.fc7e9d9aa3aed858998420698b11f1f35063b458.mgorny@gentoo> (raw)

commit:     fc7e9d9aa3aed858998420698b11f1f35063b458
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 10 06:30:10 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Sep 10 07:06:00 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc7e9d9a

dev-python/msgpack: Bump to 1.1.0

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

 dev-python/msgpack/Manifest             |  1 +
 dev-python/msgpack/msgpack-1.1.0.ebuild | 59 +++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/dev-python/msgpack/Manifest b/dev-python/msgpack/Manifest
index 9568215623f3..9ee781cdfb6e 100644
--- a/dev-python/msgpack/Manifest
+++ b/dev-python/msgpack/Manifest
@@ -1,2 +1,3 @@
 DIST msgpack-1.0.7.tar.gz 166311 BLAKE2B 8ddf2acf6bf81498d981c3ec83cbdffde1b1611f8ac23d3377f3f1541e679eda288b40b949bd586ca24a7059da3a0f73fa797a661375135ec092f408521c8527 SHA512 0ebd36f45b73106a4272588b55d55e72b6b8441be652b16f63f5547ae7ff1bc517a6b4549ef999ee63deb2856354a71ef37fd8d8829e516232518b046cf589c5
 DIST msgpack-1.0.8.tar.gz 167014 BLAKE2B 714b0355941104e791c5a3b8ee2bd4f40b11484631a3bde63e7c0bdbb925a603c4704b037ab437c2330dc0d2e466d41ccfd50c6a45ef798e5cd34a87e4e3863f SHA512 b739667d4384ba0e18a4e55de6033933822180eb5d28bd7f5ecd7e7da112a214f400740feb45de6f0873d12c8b062b1a8b9b9e5939c2961a8c9585f282645c5b
+DIST msgpack-1.1.0.tar.gz 167260 BLAKE2B fd6497ce248fabae481de41cb27bccf001e75425564f16caff9f5dceb52d82949481589a92635f4c25178f03002daf604073fc2bb07c8133e81a8ee2f1ccb7c4 SHA512 2af3a6ae9a68a0261bf1cbb5ca6925004b421241c445d17023976fe38738049458937a578828cdf3c1f2fd19dfbbcceb21762957bfd459d6862adb110cad3faa

diff --git a/dev-python/msgpack/msgpack-1.1.0.ebuild b/dev-python/msgpack/msgpack-1.1.0.ebuild
new file mode 100644
index 000000000000..774c70c44923
--- /dev/null
+++ b/dev-python/msgpack/msgpack-1.1.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_EXT=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="MessagePack (de)serializer for Python"
+HOMEPAGE="
+	https://msgpack.org/
+	https://github.com/msgpack/msgpack-python/
+	https://pypi.org/project/msgpack/
+"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
+IUSE="+native-extensions"
+
+# extension code is relying on CPython implementation details
+BDEPEND="
+	native-extensions? (
+		$(python_gen_cond_dep '
+			>=dev-python/cython-3.0.8[${PYTHON_USEDEP}]
+		' 'python*')
+	)
+"
+
+distutils_enable_tests pytest
+
+python_prepare_all() {
+	# Remove pre-generated cython files
+	rm msgpack/_cmsgpack.c || die
+
+	# native-extensions are always disabled on PyPy
+	# https://github.com/msgpack/msgpack-python/blob/main/setup.py#L76
+	if ! use native-extensions; then
+		export MSGPACK_PUREPYTHON=1
+	fi
+
+	distutils-r1_python_prepare_all
+}
+
+python_configure() {
+	if [[ ${EPYTHON} == python* && ! -f msgpack/_cmsgpack.c ]] &&
+		use native-extensions
+	then
+		cython -v msgpack/_cmsgpack.pyx || die
+	fi
+}
+
+python_test() {
+	rm -rf msgpack || die
+	epytest
+}


             reply	other threads:[~2024-09-10  7:06 UTC|newest]

Thread overview: 124+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-10  7:06 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-13 19:41 [gentoo-commits] repo/gentoo:master commit in: dev-python/msgpack/ Arthur Zamarin
2024-10-13 14:51 Sam James
2024-09-28 14:03 Arthur Zamarin
2024-09-28 13:26 Arthur Zamarin
2024-09-28 12:51 Arthur Zamarin
2024-09-28 12:40 Sam James
2024-09-28 12:32 Arthur Zamarin
2024-09-28 10:33 Michał Górny
2024-09-24 15:09 Arthur Zamarin
2024-07-11 20:55 James Le Cuirot
2024-06-19  5:24 Arthur Zamarin
2024-06-15  6:18 Viorel Munteanu
2024-05-17 10:51 Michał Górny
2024-03-16 18:14 Michał Górny
2024-03-16 17:34 Arthur Zamarin
2024-03-16 17:11 Arthur Zamarin
2024-03-16 17:06 Arthur Zamarin
2024-03-16 16:46 Arthur Zamarin
2024-03-16 11:24 Arthur Zamarin
2024-03-16  9:37 Arthur Zamarin
2024-03-02  6:43 Michał Górny
2023-10-08 17:48 Michał Górny
2023-10-08 15:29 Arthur Zamarin
2023-10-06 19:42 Sam James
2023-10-06 19:42 Sam James
2023-10-06 19:20 Arthur Zamarin
2023-10-06 19:20 Arthur Zamarin
2023-10-06 19:18 Sam James
2023-10-06 18:09 Sam James
2023-10-06 17:05 Arthur Zamarin
2023-10-06 17:05 Arthur Zamarin
2023-10-06 17:05 Arthur Zamarin
2023-10-06 14:30 Arthur Zamarin
2023-10-06 14:30 Arthur Zamarin
2023-09-28 17:08 Michał Górny
2023-09-22 11:34 Michał Górny
2023-09-01 12:16 Sam James
2023-08-13 16:07 Arthur Zamarin
2023-08-06  8:48 Michał Górny
2023-05-27 19:23 Arthur Zamarin
2023-05-20  7:15 Michał Górny
2023-04-08 10:47 Arthur Zamarin
2023-04-08 10:43 Arthur Zamarin
2023-04-08  9:57 Arthur Zamarin
2023-04-08  9:05 Arthur Zamarin
2023-04-08  8:22 Arthur Zamarin
2023-04-08  8:15 Arthur Zamarin
2023-03-09  5:58 Michał Górny
2022-11-18 15:14 Arthur Zamarin
2022-11-05  3:21 Michał Górny
2022-11-01  3:36 Michał Górny
2022-10-22 14:54 Michał Górny
2022-09-16 10:15 Arthur Zamarin
2022-09-10 18:28 Arthur Zamarin
2022-09-08  5:19 Sam James
2022-06-22 11:50 Michał Górny
2022-06-22 10:12 Agostino Sarubbo
2022-06-22  6:58 Agostino Sarubbo
2022-06-22  6:53 Agostino Sarubbo
2022-06-21 19:26 Arthur Zamarin
2022-06-21 19:18 Arthur Zamarin
2022-06-04  7:00 Michał Górny
2022-05-19  7:14 Michał Górny
2022-05-19  7:14 Michał Górny
2022-02-28  0:01 Piotr Karbowski
2021-12-26 20:39 Michał Górny
2021-12-26 19:05 Sam James
2021-12-26  0:23 Sam James
2021-12-25 19:09 Jakov Smolić
2021-12-25 17:55 Arthur Zamarin
2021-12-25 17:55 Arthur Zamarin
2021-11-25  8:11 Michał Górny
2021-05-20 20:16 Michał Górny
2021-01-24 10:15 Michał Górny
2021-01-20  0:04 Sam James
2021-01-19  2:45 Sam James
2021-01-18 17:43 Sam James
2021-01-18 14:10 Sam James
2020-12-22  9:00 Michał Górny
2020-12-19  8:59 Michał Górny
2020-12-14  2:49 Sam James
2020-12-14  2:49 Sam James
2020-11-02  9:47 Sam James
2020-10-20  6:57 Sergei Trofimovich
2020-10-19  0:13 Sam James
2020-10-18 23:55 Sam James
2020-10-18 18:51 Thomas Deutschmann
2020-09-12  4:09 Sam James
2020-09-12  1:56 Sam James
2020-09-12  1:56 Sam James
2020-07-20 11:45 Sam James
2020-03-22  5:37 Michał Górny
2020-03-21 16:26 Agostino Sarubbo
2020-03-20 11:28 Agostino Sarubbo
2020-03-20  9:04 Agostino Sarubbo
2020-03-20  8:59 Agostino Sarubbo
2020-03-19 17:49 Michał Górny
2019-11-28 20:08 Patrick McLean
2019-07-28 20:31 Mikle Kolyada
2019-06-05  7:12 Agostino Sarubbo
2019-05-27 18:35 Piotr Karbowski
2019-04-09 20:06 Matthew Thode
2019-01-28  0:25 Matthew Thode
2018-07-07 12:15 Jonas Stein
2018-03-31  0:59 Matt Thode
2018-03-17 10:51 Michał Górny
2018-03-10  8:21 Michał Górny
2018-03-09 19:35 Matt Thode
2018-03-09 19:05 Matt Thode
2018-03-05 22:08 Patrice Clement
2018-03-05 22:08 Patrice Clement
2018-02-16  6:08 Matt Thode
2017-12-28 14:03 Sergei Trofimovich
2017-08-20  2:17 Tim Harder
2017-08-20  2:17 Tim Harder
2017-05-02 19:15 Michał Górny
2017-04-01 10:35 Michael Weber
2017-04-01 10:35 Michael Weber
2017-02-27  5:35 Zac Medico
2016-08-22  4:00 Tim Harder
2016-02-28  7:25 Matt Thode
2016-02-18 21:21 Patrick Lauer
2016-02-09  9:33 Justin Lecher

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=1725951960.fc7e9d9aa3aed858998420698b11f1f35063b458.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