mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/msgpack: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,7 +1,4 @@
|
||||
DIST msgpack-1.1.1.tar.gz 173555 BLAKE2B 972ea4174b8b7c91c529c2db55483441fc1fd6c2964b145b73784f877f8699cd26829fd0d77574fb52af50ed3f8a0ac1b815cb67b24f751079ca2a430cec0b45 SHA512 dbd1055dd4b22b43193d381e7e15ff6e8dbb49f04d111bef84555429accc2bd1609359f72604bf0c1859d0b5f2e275d16773a0f8efd50ccebb5984c8b9e84309
|
||||
DIST msgpack-1.1.2.tar.gz 173581 BLAKE2B f1631eef4699525d58f258194a9ca216294eb0c4966b264eb2bd0cc175400793d2228941d7035ec7b37a49a2b2a1cdc3478f677940b262275248963e1f811798 SHA512 75b1536e180f6cdd2cb7b525d7c4bd79ddbe8807a5276b2e119f499769497552b682a7ef76df9a82957832b7646853be8c6df5bf2881c61d716fa3de9042e4fd
|
||||
DIST msgpack-1.1.2.tar.gz.provenance 9256 BLAKE2B 0b8cb372ad31aae1a03e9c9467264b0eea53849a3d291c16426f91eaa8ee61eae69f313da9bad8cd64ed355e787553cfc7deed7aa709671e4296aa153c9c7988 SHA512 64eef61e138039043d7610d3718fb9374bb65704f1c2b7cccabf37c44f316f2cfa9b1695fd5918c1f2b6526332bb570293019a0e59c3aa5f2918905c904b8c53
|
||||
DIST msgpack-1.2.0.tar.gz 183017 BLAKE2B 7ee574414901552d50fd3ab870e7d84470890078b96ba42502746597f4f748d868858bf81376754d034366995299bc9d7151b87a159fbf1f56a26e612de756e6 SHA512 0a0c9a83d2348354ab7f4edfef009561bba4584c07e1523fc27cb0ab3890045c91984ef9ad14b20de63a05c27753fa8037c77e3d521f1f92f86d552e62b07163
|
||||
DIST msgpack-1.2.0.tar.gz.provenance 9905 BLAKE2B 99b29e47e13eeaa13874ca06e8a6ada16676992d1fe024d35e01fff7a0a69198fd76fa144c34d7b8c634adf45e82447913e4d5b18d359938e05b5d2e9d439bb5 SHA512 a58ed4e6ec4bf137165562602ef8970edf0607b43d0a14a6a641eba9fa0d7cf023471414c27052c11da5fa6ab2e6cbb93f582f270863bc526f348a7322f37d40
|
||||
DIST msgpack-1.2.1.tar.gz 183960 BLAKE2B 3fca10a89d0259ba6bcc26d9e98a69e64b82662f3bec852e26073d581c4df7f6d5f9655d94e23c172d9d8e57de5850da9df87de61fc7ffeae13a9870f21e1488 SHA512 3e018978b2b3ec04508c6b8a12a16daf23e95f7d7c1f846e09e27082197a92566e3c4c5a8a6db51c52b1c8ab66bb55d4d1498373bab99a7fd193efaba53834eb
|
||||
DIST msgpack-1.2.1.tar.gz.provenance 9819 BLAKE2B 2f03d8e995865b73eaf4cf51ba502082f44b16b13960163153e9dfc14019b42fc4678ff7af923642198c7a128afa4388640de4a626c825f82469216fce369cce SHA512 1b9f4202669c4ffa29ef6bb985d860a6b6f58f1b24fd46cc3720eb53beeea629db5d3b627386b2980cb4bcfae51e83d246e0eaceef20b5e92c231f7432d20fac
|
||||
|
||||
@@ -1,59 +0,0 @@
|
||||
# Copyright 1999-2025 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_{11..14} pypy3_11 )
|
||||
|
||||
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 ~mips 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
|
||||
}
|
||||
@@ -1,61 +0,0 @@
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_VERIFY_REPO=https://github.com/msgpack/msgpack-python
|
||||
PYTHON_COMPAT=( python3_{12..15} python3_{14..15}t )
|
||||
|
||||
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 ~mips ~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*')
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=()
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user