Diff msgpack-1.0.5 with a msgpack-1.0.5-r1
/usr/portage/dev-python/msgpack/msgpack-1.0.5-r1.ebuild 2023-10-09 14:52:30.312368371 +0300 | ||
---|---|---|
18 | 18 | |
19 | 19 |
LICENSE="Apache-2.0" |
20 | 20 |
SLOT="0" |
21 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ppc ppc64 ~riscv ~s390 ~sparc x86 ~x64-macos" |
|
21 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos" |
|
22 | 22 |
IUSE="+native-extensions" |
23 | 23 | |
24 | 24 |
# extension code is relying on CPython implementation details |
... | ... | |
36 | 36 |
# Remove pre-generated cython files |
37 | 37 |
rm msgpack/_cmsgpack.cpp || die |
38 | 38 | |
39 |
# native-extensions are always disabled on PyPy |
|
40 |
# https://github.com/msgpack/msgpack-python/blob/main/setup.py#L76 |
|
39 | 41 |
if ! use native-extensions ; then |
40 |
sed -i -e "/have_cython/s:True:False:" setup.py || die |
|
42 |
export MSGPACK_PUREPYTHON=1 |
|
41 | 43 |
fi |
42 | 44 | |
43 | 45 |
distutils-r1_python_prepare_all |