summaryrefslogtreecommitdiff
path: root/dev-python/iminuit
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-05-06 11:33:44 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-05-06 11:33:44 +0100
commit0e52cbae2c719c3ef794ebeb0f4374fb96efcff3 (patch)
tree7e5732a7869c402a96586eca1ff1b574e59a328f /dev-python/iminuit
parent0922e7f160098c343e6e41a5e167a69b9e035db6 (diff)
gentoo auto-resync : 06:05:2023 - 11:33:44
Diffstat (limited to 'dev-python/iminuit')
-rw-r--r--dev-python/iminuit/Manifest5
-rw-r--r--dev-python/iminuit/files/iminuit-2.21.3-gcc-13.patch21
-rw-r--r--dev-python/iminuit/iminuit-2.19.0.ebuild41
-rw-r--r--dev-python/iminuit/iminuit-2.21.3.ebuild2
4 files changed, 25 insertions, 44 deletions
diff --git a/dev-python/iminuit/Manifest b/dev-python/iminuit/Manifest
index f42eda9dd729..6233a6756fb3 100644
--- a/dev-python/iminuit/Manifest
+++ b/dev-python/iminuit/Manifest
@@ -1,5 +1,4 @@
-DIST iminuit-2.19.0.tar.gz 433221 BLAKE2B e7aac69f74410ff53597a0e6ae44597185fbf4199ee72b1b1b98676c929550e81e155ce8ba768daf672ec3617b833d08a32ec22996459a1dd02fefdab489ea78 SHA512 9f3f86d0717a4fe50d176b6cc6b6df879d4d7b7e43262535627925d8a61dc3e0bde74a41c662c051bc1b136552c5abdaebca800721c3934332212c4ccdf30d69
+AUX iminuit-2.21.3-gcc-13.patch 509 BLAKE2B 9c30f1f6eeb077c265e43e3de7137a9052ca1cdfd0aa788a4eef31986e57a2ff96f700295d11b544caa3a39a9843a208e53621a225f24c775ce0d82f6638b1ae SHA512 e4997feb9a981ce6980b7317a7ea8f8dd939b9fa2c06a1716251d9da96379a32cf9dce90f32b59d3956d7334de973a6ce8eba7cabef15b4fcbce1a90baa4903c
DIST iminuit-2.21.3.tar.gz 437827 BLAKE2B 5196e896769f6312bb6ba9af8d6f03bea6023a9459ccbe8553e4c10ba5dc2ed90e4e4b57bdd104f7b72e7514a50c0d4c717c76adf206d7eaddcd3c4c54c4d210 SHA512 5e48d4451caf56688143fa4590528fb4ed0660e144dbb3d1c409b84f793593478979728b4af9748b7bbdb7063e2ef7e05476a2ecd52af089f351522aadfc9ba4
-EBUILD iminuit-2.19.0.ebuild 900 BLAKE2B af3843f3a479c90778836d0ef728e421889d547ee9e9f8f9f690f2b189ebf9c8f53a247fd4cf9fb79089f38f0741eb6222e48955bacb1e2a54bb0c0199082984 SHA512 9100e92cd1ecd9266c6ed863720499b4ea1f7dd4060886d433d8c028aaefe33df8d15b343f5ca5ae07d4e46f95fee0212b69dcc900f3b10ba6ecde09a42a0f99
-EBUILD iminuit-2.21.3.ebuild 935 BLAKE2B f816242e6533fdfb0c49d391457ea02a0e87c6c767fdd62c855ef13d75f68856ca1a52ad75cfbc6e8449c837b7482ff7df35afd727d3c6f2a7ab1d43b5fb70dc SHA512 e7c8bee44780c3f479b87a88ed2d0e956327d5980d33cf78f8c07a25763cd709073ce713b90bdbd71249d06b9b1699eb181e5512447b9570ad2ded2559af029a
+EBUILD iminuit-2.21.3.ebuild 980 BLAKE2B 2f95e35c5c19b7068b30aa5d5ee118f875fe7562d0d76243c46e51061ede83c6d254c048c652cb40ba48694e887e2353fd251be5090daf6ee3e0a58218f73d3f SHA512 3873a89561036f06478c92051d543345e6d6681d01a499754b3db8693adb2b277be83bcbe4eb38ef1e8fa61dd76add2bd1abba32f53e1a9a0b1d06bbc46f12b8
MISC metadata.xml 494 BLAKE2B c97d7fad530773c29b5e723843f13c8305aa1f011e678ad4e9625181ca633c1dfaa3847cb7b3aa09433b6ce665cbf4eb39fde7f80ead402292bc75bb8442beba SHA512 04413a2cbdc7f6843f89560a519ccdb00bcfcf0c9254e9fff7a8901ed992cd7121ba052191399fd60f76f35e495f84c2297acd0a9a1898d4fbcadb7a60841d99
diff --git a/dev-python/iminuit/files/iminuit-2.21.3-gcc-13.patch b/dev-python/iminuit/files/iminuit-2.21.3-gcc-13.patch
new file mode 100644
index 000000000000..765b2f555ac4
--- /dev/null
+++ b/dev-python/iminuit/files/iminuit-2.21.3-gcc-13.patch
@@ -0,0 +1,21 @@
+From c26e9b3882d68fbef471bd67c7ea0eeb5a26c481 Mon Sep 17 00:00:00 2001
+From: andriish <andriish@users.noreply.github.com>
+Date: Thu, 4 May 2023 19:08:37 +0200
+Subject: [PATCH] Update fcn.hpp
+
+---
+ src/fcn.hpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/fcn.hpp b/src/fcn.hpp
+index 3e2ff80c..0c53e1be 100644
+--- a/src/fcn.hpp
++++ b/src/fcn.hpp
+@@ -1,6 +1,7 @@
+ #include <Minuit2/FCNGradientBase.h>
+ #include <pybind11/pytypes.h>
+ #include <vector>
++#include <cstdint>
+
+ namespace py = pybind11;
+
diff --git a/dev-python/iminuit/iminuit-2.19.0.ebuild b/dev-python/iminuit/iminuit-2.19.0.ebuild
deleted file mode 100644
index d49837be498a..000000000000
--- a/dev-python/iminuit/iminuit-2.19.0.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# 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} )
-
-# forced implicitly
-CMAKE_MAKEFILE_GENERATOR=emake
-inherit cmake distutils-r1 virtualx pypi
-
-DESCRIPTION="Minuit numerical function minimization in Python"
-HOMEPAGE="https://github.com/scikit-hep/iminuit/"
-
-SLOT="0"
-LICENSE="MIT LGPL-2.1"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-
-RDEPEND="
- dev-python/numpy[${PYTHON_USEDEP}]
-"
-BDEPEND="
- dev-python/cython[${PYTHON_USEDEP}]
- test? (
- dev-python/ipython[${PYTHON_USEDEP}]
- dev-python/ipywidgets[${PYTHON_USEDEP}]
- dev-python/matplotlib[${PYTHON_USEDEP}]
- dev-python/scipy[${PYTHON_USEDEP}]
- )
-"
-
-distutils_enable_tests pytest
-
-src_test() {
- virtx distutils-r1_src_test
-}
-
-python_test() {
- epytest -p no:pytest-describe || die "Tests failed with ${EPYTHON}"
-}
diff --git a/dev-python/iminuit/iminuit-2.21.3.ebuild b/dev-python/iminuit/iminuit-2.21.3.ebuild
index 5b482e3c236b..19e4fd25024d 100644
--- a/dev-python/iminuit/iminuit-2.21.3.ebuild
+++ b/dev-python/iminuit/iminuit-2.21.3.ebuild
@@ -31,6 +31,8 @@ BDEPEND="
)
"
+PATCHES=( "${FILESDIR}"/${P}-gcc-13.patch )
+
distutils_enable_tests pytest
src_test() {