diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-07-17 02:58:50 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-07-17 02:58:50 +0000 |
| commit | 4e3ec32c2336739b75a0f9bc43b33e0f1cbbd717 (patch) | |
| tree | 12d9d98277485353fbb06ed38e39009f8b0104bc /dev-python/msgpack/msgpack-1.1.1_rc1.ebuild | |
| parent | 41e0438955d0caa8757aa79e0e41040cada3fc18 (diff) | |
| download | baldeagleos-repo-4e3ec32c2336739b75a0f9bc43b33e0f1cbbd717.tar.gz baldeagleos-repo-4e3ec32c2336739b75a0f9bc43b33e0f1cbbd717.tar.xz baldeagleos-repo-4e3ec32c2336739b75a0f9bc43b33e0f1cbbd717.zip | |
Adding metadata
Diffstat (limited to 'dev-python/msgpack/msgpack-1.1.1_rc1.ebuild')
| -rw-r--r-- | dev-python/msgpack/msgpack-1.1.1_rc1.ebuild | 58 |
1 files changed, 0 insertions, 58 deletions
diff --git a/dev-python/msgpack/msgpack-1.1.1_rc1.ebuild b/dev-python/msgpack/msgpack-1.1.1_rc1.ebuild deleted file mode 100644 index 76fda2f9fda7..000000000000 --- a/dev-python/msgpack/msgpack-1.1.1_rc1.ebuild +++ /dev/null @@ -1,58 +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_{9,10,11,12,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" -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 -} |
