diff options
Diffstat (limited to 'dev-python/cloudpickle')
-rw-r--r-- | dev-python/cloudpickle/Manifest | 2 | ||||
-rw-r--r-- | dev-python/cloudpickle/cloudpickle-2.2.1.ebuild | 36 |
2 files changed, 38 insertions, 0 deletions
diff --git a/dev-python/cloudpickle/Manifest b/dev-python/cloudpickle/Manifest index 6ac9ad004c3c..bdad716da9cf 100644 --- a/dev-python/cloudpickle/Manifest +++ b/dev-python/cloudpickle/Manifest @@ -1,3 +1,5 @@ DIST cloudpickle-2.2.0.tar.gz 59630 BLAKE2B f1a7b1c8fca6978701354fd1c72273de3591e7ada08ebee04cbaf59d6b20ef4503342a52a521c9c4d86e023694df3e87b7f8f19170fd8e6c2adef2f0526dfdc8 SHA512 c3f7860bb6cb3ff2acb5657fad96dcc9e26870b8728333e0099086e27907009cff95069581df42e7cff6b05929d91341bb87c307bf6aa23bd54e6fe7d66ef657 +DIST cloudpickle-2.2.1.tar.gz 60800 BLAKE2B a89fb7b53665ddb328235d00f6b7a311815d740eedfef65552c6b782bc8339ed96bcca98eb28ff1dd6205270a44c90de22acd47df9304c11644bbf0956ff3e25 SHA512 a0174a382d531180704a90a4da4f83e1d1c90ebf4ad181778bed073763bf43104b7049ced12abc360948343d105a4390cb514585a1b493217a53a5b2c45cfde6 EBUILD cloudpickle-2.2.0.ebuild 855 BLAKE2B 18c01563fc9f2e1f1c0a530efd4c42d17788825373b9991e3f61730bc887ac5ea0fe85e3d17b830dd5c1df096d2739fedaccf7badbb6d7265340036d3522bd19 SHA512 bbf3e76a76bc1e57f6c70a56114f7eff12a3442e2356f36b8d7ea82916b5de17ce47c9075f8f34617ebe9877c5d4592f454d31bf49e737cf96ec21ed52d69e35 +EBUILD cloudpickle-2.2.1.ebuild 863 BLAKE2B 537769b2eb736276a417f28b835fbbf932033032347cdfa79eb718e4d6687f8dd8b3de9c41c32c497fd54ae2ce8c2344f89279b34c8cbd1896fbd80ed84b0f6d SHA512 21361d5b332640a2690dac712c76e4dda94a9ea4f3672b03f87ae34395de9ea1dca394dc2c6c34a80062376834eee4e9f3473433149c8998edc3a755464ddde0 MISC metadata.xml 400 BLAKE2B 6b8036e6fee459cd45ff48884ade7ba9471d948ff06e46062584e5953fdaea8197525ec02e2dc44d4daa6326c7a1859680340e616f27d72ea1d98fe5c011a5cd SHA512 70c88c748d18923d3205c9f2ebc683e6b73240d4f8215f1bf3c3c91bb5eaac259066dc735f10806c43375432df581545831c616ab3aa7218981193956e6c0450 diff --git a/dev-python/cloudpickle/cloudpickle-2.2.1.ebuild b/dev-python/cloudpickle/cloudpickle-2.2.1.ebuild new file mode 100644 index 000000000000..09d4e4f83e85 --- /dev/null +++ b/dev-python/cloudpickle/cloudpickle-2.2.1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 + +DESCRIPTION="Extended pickling support for Python objects" +HOMEPAGE=" + https://github.com/cloudpipe/cloudpickle/ + https://pypi.org/project/cloudpickle/ +" +SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +BDEPEND=" + test? ( + dev-python/mock[${PYTHON_USEDEP}] + dev-python/psutil[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_test() { + local -x PYTHONPATH=${PYTHONPATH}:tests/cloudpickle_testpkg + # -s unbreaks some tests + # https://github.com/cloudpipe/cloudpickle/issues/252 + epytest -s +} |