From 7a3eefaa2a75ebc81fd96083ae5ba4e57893fd95 Mon Sep 17 00:00:00 2001 From: "Liguros - Gitlab CI/CD [develop]" Date: Tue, 9 Jul 2024 17:46:56 +0000 Subject: Adding metadata --- dev-python/dill/dill-0.3.8-r1.ebuild | 28 ++++++++++++++++++++++++++++ dev-python/dill/dill-0.3.8-r2.ebuild | 33 +++++++++++++++++++++++++++++++++ dev-python/dill/dill-0.3.8.ebuild | 24 ------------------------ 3 files changed, 61 insertions(+), 24 deletions(-) create mode 100644 dev-python/dill/dill-0.3.8-r1.ebuild create mode 100644 dev-python/dill/dill-0.3.8-r2.ebuild delete mode 100644 dev-python/dill/dill-0.3.8.ebuild (limited to 'dev-python/dill') diff --git a/dev-python/dill/dill-0.3.8-r1.ebuild b/dev-python/dill/dill-0.3.8-r1.ebuild new file mode 100644 index 000000000000..d73dbafb19b5 --- /dev/null +++ b/dev-python/dill/dill-0.3.8-r1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +# py3.13: https://github.com/uqfoundation/dill/issues/654 +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Serialize all of Python (almost)" +HOMEPAGE=" + https://github.com/uqfoundation/dill/ + https://pypi.org/project/dill/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + !!>=dev-python/numpy-2[${PYTHON_USEDEP}] +" + +python_test() { + "${EPYTHON}" -m dill.tests || die +} diff --git a/dev-python/dill/dill-0.3.8-r2.ebuild b/dev-python/dill/dill-0.3.8-r2.ebuild new file mode 100644 index 000000000000..605d29ca269c --- /dev/null +++ b/dev-python/dill/dill-0.3.8-r2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) + +inherit distutils-r1 pypi + +DESCRIPTION="Serialize all of Python (almost)" +HOMEPAGE=" + https://github.com/uqfoundation/dill/ + https://pypi.org/project/dill/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +src_prepare() { + distutils-r1_src_prepare + + # numpy support broken: https://github.com/uqfoundation/dill/issues/667 + sed -i -e 's:import numpy:raise ImportError:' dill/__diff.py || die +} + +python_test() { + # disables a test broken under Python 3.13 + # https://github.com/uqfoundation/dill/issues/668 + local -x COVERAGE=1 + "${EPYTHON}" -m dill.tests || die +} diff --git a/dev-python/dill/dill-0.3.8.ebuild b/dev-python/dill/dill-0.3.8.ebuild deleted file mode 100644 index cb69f6cd402c..000000000000 --- a/dev-python/dill/dill-0.3.8.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DISTUTILS_USE_PEP517=setuptools -# py3.13: https://github.com/uqfoundation/dill/issues/654 -PYTHON_COMPAT=( python3_{8,9,10,11,12} pypy3 ) - -inherit distutils-r1 pypi - -DESCRIPTION="Serialize all of Python (almost)" -HOMEPAGE=" - https://github.com/uqfoundation/dill/ - https://pypi.org/project/dill/ -" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux" - -python_test() { - "${EPYTHON}" -m dill.tests || die -} -- cgit v1.3.1