From 974e8437a0bd87768c1957e0cb1d9dd10de4bca1 Mon Sep 17 00:00:00 2001 From: Flatcar Buildbot Date: Mon, 13 Jan 2025 07:06:32 +0000 Subject: [PATCH] dev-python/msgpack: Sync with Gentoo It's from Gentoo commit 12a9a68f2df675f6526bcec46f65fc6347211134. --- .../dev-python/msgpack/Manifest | 1 - .../dev-python/msgpack/msgpack-1.0.8.ebuild | 51 ------------------- .../dev-python/msgpack/msgpack-1.1.0.ebuild | 4 +- 3 files changed, 2 insertions(+), 54 deletions(-) delete mode 100644 sdk_container/src/third_party/portage-stable/dev-python/msgpack/msgpack-1.0.8.ebuild diff --git a/sdk_container/src/third_party/portage-stable/dev-python/msgpack/Manifest b/sdk_container/src/third_party/portage-stable/dev-python/msgpack/Manifest index 3bd4a08cf0..a473d0b0ab 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/msgpack/Manifest +++ b/sdk_container/src/third_party/portage-stable/dev-python/msgpack/Manifest @@ -1,2 +1 @@ -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/sdk_container/src/third_party/portage-stable/dev-python/msgpack/msgpack-1.0.8.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/msgpack/msgpack-1.0.8.ebuild deleted file mode 100644 index 5b71941535..0000000000 --- a/sdk_container/src/third_party/portage-stable/dev-python/msgpack/msgpack-1.0.8.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# 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 ~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.cpp || 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_test() { - rm -rf msgpack || die - epytest -} diff --git a/sdk_container/src/third_party/portage-stable/dev-python/msgpack/msgpack-1.1.0.ebuild b/sdk_container/src/third_party/portage-stable/dev-python/msgpack/msgpack-1.1.0.ebuild index e2222cf1ca..be029b87a6 100644 --- a/sdk_container/src/third_party/portage-stable/dev-python/msgpack/msgpack-1.1.0.ebuild +++ b/sdk_container/src/third_party/portage-stable/dev-python/msgpack/msgpack-1.1.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -18,7 +18,7 @@ HOMEPAGE=" LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ~ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" +KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos" IUSE="+native-extensions" # extension code is relying on CPython implementation details