summaryrefslogtreecommitdiff
path: root/dev-python/dill
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-07-09 17:46:56 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2024-07-09 17:46:56 +0000
commit7a3eefaa2a75ebc81fd96083ae5ba4e57893fd95 (patch)
tree7c49bd50bc05f0f04f0c0084723577a56c11371c /dev-python/dill
parentcfc2626644c97a3525658bf1b560378f1ba03466 (diff)
downloadbaldeagleos-repo-7a3eefaa2a75ebc81fd96083ae5ba4e57893fd95.tar.gz
baldeagleos-repo-7a3eefaa2a75ebc81fd96083ae5ba4e57893fd95.tar.xz
baldeagleos-repo-7a3eefaa2a75ebc81fd96083ae5ba4e57893fd95.zip
Adding metadata
Diffstat (limited to 'dev-python/dill')
-rw-r--r--dev-python/dill/dill-0.3.8-r1.ebuild (renamed from dev-python/dill/dill-0.3.8.ebuild)4
-rw-r--r--dev-python/dill/dill-0.3.8-r2.ebuild33
2 files changed, 37 insertions, 0 deletions
diff --git a/dev-python/dill/dill-0.3.8.ebuild b/dev-python/dill/dill-0.3.8-r1.ebuild
index cb69f6cd402c..d73dbafb19b5 100644
--- a/dev-python/dill/dill-0.3.8.ebuild
+++ b/dev-python/dill/dill-0.3.8-r1.ebuild
@@ -19,6 +19,10 @@ 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
+}