diff options
Diffstat (limited to 'dev-python/iminuit')
-rw-r--r-- | dev-python/iminuit/Manifest | 5 | ||||
-rw-r--r-- | dev-python/iminuit/iminuit-2.10.0.ebuild (renamed from dev-python/iminuit/iminuit-2.8.4.ebuild) | 17 | ||||
-rw-r--r-- | dev-python/iminuit/iminuit-2.9.0-r1.ebuild | 41 |
3 files changed, 57 insertions, 6 deletions
diff --git a/dev-python/iminuit/Manifest b/dev-python/iminuit/Manifest index f33f8334dbc4..799c6a3e6ebf 100644 --- a/dev-python/iminuit/Manifest +++ b/dev-python/iminuit/Manifest @@ -1,5 +1,6 @@ -DIST iminuit-2.8.4.tar.gz 391667 BLAKE2B 15d82db308ac361f45399debb342ba350c6ec83e111fca16baed99dc029010284b946292f4236e26ae5cdd60f7a130902bca53669b31e335d706ead77f6603db SHA512 564506921027d6addffb9df6f2ad2aec69981af49e2552f4d093d03fbf79f12a72e6dec58f159810d621a58ddd56dbf1258359d01d56d33a7c30b08eb5b333ed +DIST iminuit-2.10.0.tar.gz 408625 BLAKE2B 8876f4e94958a9154d517b91859d0c3a58ea919d53271f372eb4f648157567cf39e6639f5cdee7e137bb5a3011eadcfc28b52e3ba87333b2d7dafb0f8b58a7f1 SHA512 0f40a7f775ff814004d6fd5b331887eef2c9d389462b2c3585eca7568cd4babe5f83c85a002c6b47f047008a3ffc0a9e2c6f29cdc4acaf3d4c7208637a16d1e8 DIST iminuit-2.9.0.tar.gz 408294 BLAKE2B d924d5ca5bef0e5b2dbc1fcfc12daab196c6937feff1badd73f9f8f20601989b21673165e758df7dabe072cb4a14cbda12823cfaf30fa5687de4184238465c50 SHA512 55d1d855b23862a4205b6c12ff53ddc088739945523670f3959edfe859abdbd3600da78cc219af6ed792156e2da7d8ae844e76e49ac759af433af875eab26714 -EBUILD iminuit-2.8.4.ebuild 791 BLAKE2B 8f62074517fdf3c8a6db059d43351763b15cee8ef6dc17ea934f8c20540d2dbaa5eeae27d3288a0a4a1e908447b6bfaf0db7fd0b92d80f850681f3953b1b3a8a SHA512 d20369173c72bfe9b2f4038355819ee610e0a70b8918dd17a712b5759e3630230fd11d15c00fec6ff5ea53a7ba149bdc6edf9d67795eeecd579e2792ad7b867c +EBUILD iminuit-2.10.0.ebuild 905 BLAKE2B 2479a6ab793907917ba57ab1aab34e4701e53001450c1e2e3f3aa68eea555adb0650ecea26aa5ddb3ae12787ec6d32caba93af6dd44918f93353ba9029fb6fc1 SHA512 82e97833ccd58ca8675a2d6f06848d960c0797c0ec18e3a26880d473d49f0e99be1e6417888171178f4f0f9dc711eeede872b1294234be6bb5dfeb1bc9b7295a +EBUILD iminuit-2.9.0-r1.ebuild 905 BLAKE2B 2479a6ab793907917ba57ab1aab34e4701e53001450c1e2e3f3aa68eea555adb0650ecea26aa5ddb3ae12787ec6d32caba93af6dd44918f93353ba9029fb6fc1 SHA512 82e97833ccd58ca8675a2d6f06848d960c0797c0ec18e3a26880d473d49f0e99be1e6417888171178f4f0f9dc711eeede872b1294234be6bb5dfeb1bc9b7295a EBUILD iminuit-2.9.0.ebuild 791 BLAKE2B 4ad5fa85546390f0ba4d56492ae8e5862fe0c980374bbf5c03342ef5e715be1e30e5640c85d2fa1085a03c7db906aaa823a6ad6c3a2b369f7d04f0ab02731fb2 SHA512 471a3c46bc369b9b6bc9e88aa713e6feb6f3a0d84806448b8802cac7e3a7b34633fae8e95d45d49e03cdf62f990787b161299fb8b5305ef841488a5e7e2e5845 MISC metadata.xml 494 BLAKE2B c97d7fad530773c29b5e723843f13c8305aa1f011e678ad4e9625181ca633c1dfaa3847cb7b3aa09433b6ce665cbf4eb39fde7f80ead402292bc75bb8442beba SHA512 04413a2cbdc7f6843f89560a519ccdb00bcfcf0c9254e9fff7a8901ed992cd7121ba052191399fd60f76f35e495f84c2297acd0a9a1898d4fbcadb7a60841d99 diff --git a/dev-python/iminuit/iminuit-2.8.4.ebuild b/dev-python/iminuit/iminuit-2.10.0.ebuild index cb742073fae3..3a700725da54 100644 --- a/dev-python/iminuit/iminuit-2.8.4.ebuild +++ b/dev-python/iminuit/iminuit-2.10.0.ebuild @@ -1,7 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 + +DISTUTILS_USE_PEP517=setuptools PYTHON_COMPAT=( python3_{8..10} ) # forced implicitly @@ -16,17 +18,24 @@ SLOT="0" LICENSE="MIT LGPL-2.1" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -RDEPEND="dev-python/numpy[${PYTHON_USEDEP}]" +RDEPEND=" + dev-python/numpy[${PYTHON_USEDEP}] +" BDEPEND=" dev-python/cython[${PYTHON_USEDEP}] test? ( dev-python/ipython[${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() { - virtx epytest -p no:pytest-describe + epytest -p no:pytest-describe || die "Tests failed with ${EPYTHON}" } diff --git a/dev-python/iminuit/iminuit-2.9.0-r1.ebuild b/dev-python/iminuit/iminuit-2.9.0-r1.ebuild new file mode 100644 index 000000000000..3a700725da54 --- /dev/null +++ b/dev-python/iminuit/iminuit-2.9.0-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{8..10} ) + +# forced implicitly +CMAKE_MAKEFILE_GENERATOR=emake +inherit cmake distutils-r1 virtualx + +DESCRIPTION="Minuit numerical function minimization in Python" +HOMEPAGE="https://github.com/scikit-hep/iminuit/" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +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/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}" +} |