[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/plfit/
commit: 073727d891ddcb1aba5d01d95f147f22c3fccd9a Author: Michael Orlitzky gentoo org> AuthorDate: Mon Dec 9 16:33:18 2024 + Commit: Michael Orlitzky gentoo org> CommitDate: Mon Dec 9 16:51:48 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=073727d8 sci-mathematics/plfit: drop 0.9.3 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/plfit/Manifest | 1 - sci-mathematics/plfit/plfit-0.9.3.ebuild | 33 2 files changed, 34 deletions(-) diff --git a/sci-mathematics/plfit/Manifest b/sci-mathematics/plfit/Manifest index 00c19f2b5014..ee6914fc2101 100644 --- a/sci-mathematics/plfit/Manifest +++ b/sci-mathematics/plfit/Manifest @@ -1,2 +1 @@ -DIST plfit-0.9.3.tar.gz 178880 BLAKE2B 611c4d30fa39cb05f8324670c484fd504abf2b1638602f5fede31438bf831f8aa3d7f3a5c6f2edbab377c99bf5f67763149f288581778fdd2fe9a1596a0d4a23 SHA512 6ca0fab75f607b27801576ff6752002079e11c736d0c3f6a669f20bb2869a254aa3ba124a5f6df1ad1daed25c59c8b0952838478cd42570e6d399958f0796e84 DIST plfit-0.9.5.tar.gz 181657 BLAKE2B c766ab3f309fc5c00a14e76d4ed40b1bd5722d56a16440065c52f0e63e56e70632d89ea606e83090f19d4201e53e8622ef3ad4af9487e5f1081d3c8ce6192b0e SHA512 8f20b649277e1e386815a0d9074dbc58e8ae30f3b23fb878f48ab52bb7983cab05e7adb9c4343490418054b7d902158f7387c9eda21bcb007b4903f6517af93c diff --git a/sci-mathematics/plfit/plfit-0.9.3.ebuild b/sci-mathematics/plfit/plfit-0.9.3.ebuild deleted file mode 100644 index a4ef6de3a1b7.. --- a/sci-mathematics/plfit/plfit-0.9.3.ebuild +++ /dev/null @@ -1,33 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake - -DESCRIPTION="Fit power-law distributions to empirical data" -HOMEPAGE="https://github.com/ntamas/plfit"; -SRC_URI="https://github.com/ntamas/${PN}/archive/refs/tags/${PV}.tar.gz - -> ${P}.tar.gz" -# plfit is gpl-2 and its source headers say "or later." The upstream -# doc/ directory contains MIT and BSD licenses for two components. -LICENSE="BSD GPL-2+ MIT" -SLOT="0" -KEYWORDS="amd64 x86" -IUSE="cpu_flags_x86_sse cpu_flags_x86_sse2" - -DOCS=( CHANGELOG.md README.rst doc/THANKS ) - -src_configure() { - local mycmakeargs=( - -DPLFIT_COMPILE_PYTHON_MODULE=OFF - -DPLFIT_USE_SSE=OFF - -DPLFIT_USE_OPENMP=OFF - ) - if use cpu_flags_x86_sse || use cpu_flags_x86_sse2; then - # plfit chooses which to use at compile time based on the - # constants __SSE__ and __SSE2__. - mycmakeargs+=( -DPLFIT_USE_SSE=ON ) - fi - cmake_src_configure -}
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/plfit/
commit: 0026baed32fbbaba32249bb1253c0b1f7a61a721 Author: Sam James gentoo org> AuthorDate: Thu Dec 5 19:33:28 2024 + Commit: Sam James gentoo org> CommitDate: Thu Dec 5 19:33:28 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0026baed sci-mathematics/plfit: Stabilize 0.9.5 amd64, #945558 Signed-off-by: Sam James gentoo.org> sci-mathematics/plfit/plfit-0.9.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/plfit/plfit-0.9.5.ebuild b/sci-mathematics/plfit/plfit-0.9.5.ebuild index a8ca6a7da71a..7c7d75d49f22 100644 --- a/sci-mathematics/plfit/plfit-0.9.5.ebuild +++ b/sci-mathematics/plfit/plfit-0.9.5.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/ntamas/${PN}/archive/refs/tags/${PV}.tar.gz # doc/ directory contains MIT and BSD licenses for two components. LICENSE="BSD GPL-2+ MIT" SLOT="0" -KEYWORDS="~amd64 x86" +KEYWORDS="amd64 x86" IUSE="cpu_flags_x86_sse cpu_flags_x86_sse2" DOCS=( CHANGELOG.md README.rst doc/THANKS )
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/plfit/
commit: 32523deb0be0d08a823150cd7c3b7365b6ae2c4f Author: Jakov Smolić gentoo org> AuthorDate: Sun Dec 1 22:35:51 2024 + Commit: Jakov Smolić gentoo org> CommitDate: Sun Dec 1 22:35:51 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32523deb sci-mathematics/plfit: Stabilize 0.9.5 x86, #945558 Signed-off-by: Jakov Smolić gentoo.org> sci-mathematics/plfit/plfit-0.9.5.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/plfit/plfit-0.9.5.ebuild b/sci-mathematics/plfit/plfit-0.9.5.ebuild index d06d8bc8afa8..a8ca6a7da71a 100644 --- a/sci-mathematics/plfit/plfit-0.9.5.ebuild +++ b/sci-mathematics/plfit/plfit-0.9.5.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/ntamas/${PN}/archive/refs/tags/${PV}.tar.gz # doc/ directory contains MIT and BSD licenses for two components. LICENSE="BSD GPL-2+ MIT" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~amd64 x86" IUSE="cpu_flags_x86_sse cpu_flags_x86_sse2" DOCS=( CHANGELOG.md README.rst doc/THANKS )
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/plfit/files/, sci-mathematics/plfit/
commit: 22beeff6eee35e5333587eb2a71f978435ce56b6 Author: Michael Orlitzky gentoo org> AuthorDate: Sat Mar 9 12:00:09 2024 + Commit: Michael Orlitzky gentoo org> CommitDate: Sat Mar 9 12:00:22 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22beeff6 sci-mathematics/plfit: add 0.9.5, drop 0.9.4 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/plfit/Manifest | 2 +- .../plfit/files/plfit-0.9.4-underlinking.patch | 37 -- .../{plfit-0.9.4.ebuild => plfit-0.9.5.ebuild} | 4 --- 3 files changed, 1 insertion(+), 42 deletions(-) diff --git a/sci-mathematics/plfit/Manifest b/sci-mathematics/plfit/Manifest index 25316f83bbe3..00c19f2b5014 100644 --- a/sci-mathematics/plfit/Manifest +++ b/sci-mathematics/plfit/Manifest @@ -1,2 +1,2 @@ DIST plfit-0.9.3.tar.gz 178880 BLAKE2B 611c4d30fa39cb05f8324670c484fd504abf2b1638602f5fede31438bf831f8aa3d7f3a5c6f2edbab377c99bf5f67763149f288581778fdd2fe9a1596a0d4a23 SHA512 6ca0fab75f607b27801576ff6752002079e11c736d0c3f6a669f20bb2869a254aa3ba124a5f6df1ad1daed25c59c8b0952838478cd42570e6d399958f0796e84 -DIST plfit-0.9.4.tar.gz 180432 BLAKE2B 9e7c7f6c4aaf014d9fbe7e2319e4294ec96753c10d9463436a191e7c17910b7bfd7a701b13c179b6125cb7f398f73951277272a4e40ca2ed841aed07c30b8cc1 SHA512 39cb644de20645b35b8ce6f95bb074276314f5fdc755e0d7eba8e69d1f0d65b784cd755b7a4481e933f8863c30f6b2957e7dba45fc9a695cef14ad4fef729885 +DIST plfit-0.9.5.tar.gz 181657 BLAKE2B c766ab3f309fc5c00a14e76d4ed40b1bd5722d56a16440065c52f0e63e56e70632d89ea606e83090f19d4201e53e8622ef3ad4af9487e5f1081d3c8ce6192b0e SHA512 8f20b649277e1e386815a0d9074dbc58e8ae30f3b23fb878f48ab52bb7983cab05e7adb9c4343490418054b7d902158f7387c9eda21bcb007b4903f6517af93c diff --git a/sci-mathematics/plfit/files/plfit-0.9.4-underlinking.patch b/sci-mathematics/plfit/files/plfit-0.9.4-underlinking.patch deleted file mode 100644 index 5574756e35f4.. --- a/sci-mathematics/plfit/files/plfit-0.9.4-underlinking.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 0559e4683ec72d7608560414d8d6797f83c74ea7 Mon Sep 17 00:00:00 2001 -From: Michael Orlitzky -Date: Fri, 8 Mar 2024 17:17:45 -0500 -Subject: [PATCH] src/CMakeLists.txt: link libplfit against $MATH_LIBRARY - -The libplfit library makes use of several math functions (exp, log, -...) , and so should be linked to libm directly when libm is required -for those functions. If it is not, then compilation may succeed -leaving the resulting library underlinked. This can lead to errors -like, - - test_discrete: symbol lookup error: .../src/libplfit.so.0: undefined - symbol: log - -when linking with lld and LDFLAGS="Wl,--as-needed". (The error above -comes from plfit's own test suite.) - -Gentoo-bug: https://bugs.gentoo.org/926433 - src/CMakeLists.txt | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index fbfb3e8..3dd50fb 100644 a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -13,6 +13,7 @@ set(PLFIT_CORE_SRCS error.c gss.c kolmogorov.c lbfgs.c mt.c platform.c plfit.c o - add_library(plfit ${PLFIT_CORE_SRCS}) - target_include_directories(plfit PUBLIC ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}) - set_target_properties(plfit PROPERTIES SOVERSION 0) -+target_link_libraries(plfit ${MATH_LIBRARY}) - - if(PLFIT_USE_OPENMP AND OPENMP_FOUND) - target_link_libraries(plfit OpenMP::OpenMP_C) --- -2.43.0 - diff --git a/sci-mathematics/plfit/plfit-0.9.4.ebuild b/sci-mathematics/plfit/plfit-0.9.5.ebuild similarity index 94% rename from sci-mathematics/plfit/plfit-0.9.4.ebuild rename to sci-mathematics/plfit/plfit-0.9.5.ebuild index a01a4159554a..d06d8bc8afa8 100644 --- a/sci-mathematics/plfit/plfit-0.9.4.ebuild +++ b/sci-mathematics/plfit/plfit-0.9.5.ebuild @@ -16,10 +16,6 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="cpu_flags_x86_sse cpu_flags_x86_sse2" -PATCHES=( - "${FILESDIR}/${P}-underlinking.patch" -) - DOCS=( CHANGELOG.md README.rst doc/THANKS ) src_configure() {
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/plfit/files/, sci-mathematics/plfit/
commit: da7bb1db5f5363a8688798e854f4dd181d6b4fa2 Author: Michael Orlitzky gentoo org> AuthorDate: Fri Mar 8 22:25:13 2024 + Commit: Michael Orlitzky gentoo org> CommitDate: Fri Mar 8 22:26:17 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da7bb1db sci-mathematics/plfit: add 0.9.4 to fix underlinking issue Closes: https://bugs.gentoo.org/926433 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/plfit/Manifest | 1 + .../plfit/files/plfit-0.9.4-underlinking.patch | 37 ++ sci-mathematics/plfit/plfit-0.9.4.ebuild | 37 ++ 3 files changed, 75 insertions(+) diff --git a/sci-mathematics/plfit/Manifest b/sci-mathematics/plfit/Manifest index 03611001ad5e..25316f83bbe3 100644 --- a/sci-mathematics/plfit/Manifest +++ b/sci-mathematics/plfit/Manifest @@ -1 +1,2 @@ DIST plfit-0.9.3.tar.gz 178880 BLAKE2B 611c4d30fa39cb05f8324670c484fd504abf2b1638602f5fede31438bf831f8aa3d7f3a5c6f2edbab377c99bf5f67763149f288581778fdd2fe9a1596a0d4a23 SHA512 6ca0fab75f607b27801576ff6752002079e11c736d0c3f6a669f20bb2869a254aa3ba124a5f6df1ad1daed25c59c8b0952838478cd42570e6d399958f0796e84 +DIST plfit-0.9.4.tar.gz 180432 BLAKE2B 9e7c7f6c4aaf014d9fbe7e2319e4294ec96753c10d9463436a191e7c17910b7bfd7a701b13c179b6125cb7f398f73951277272a4e40ca2ed841aed07c30b8cc1 SHA512 39cb644de20645b35b8ce6f95bb074276314f5fdc755e0d7eba8e69d1f0d65b784cd755b7a4481e933f8863c30f6b2957e7dba45fc9a695cef14ad4fef729885 diff --git a/sci-mathematics/plfit/files/plfit-0.9.4-underlinking.patch b/sci-mathematics/plfit/files/plfit-0.9.4-underlinking.patch new file mode 100644 index ..5574756e35f4 --- /dev/null +++ b/sci-mathematics/plfit/files/plfit-0.9.4-underlinking.patch @@ -0,0 +1,37 @@ +From 0559e4683ec72d7608560414d8d6797f83c74ea7 Mon Sep 17 00:00:00 2001 +From: Michael Orlitzky +Date: Fri, 8 Mar 2024 17:17:45 -0500 +Subject: [PATCH] src/CMakeLists.txt: link libplfit against $MATH_LIBRARY + +The libplfit library makes use of several math functions (exp, log, +...) , and so should be linked to libm directly when libm is required +for those functions. If it is not, then compilation may succeed +leaving the resulting library underlinked. This can lead to errors +like, + + test_discrete: symbol lookup error: .../src/libplfit.so.0: undefined + symbol: log + +when linking with lld and LDFLAGS="Wl,--as-needed". (The error above +comes from plfit's own test suite.) + +Gentoo-bug: https://bugs.gentoo.org/926433 +--- + src/CMakeLists.txt | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt +index fbfb3e8..3dd50fb 100644 +--- a/src/CMakeLists.txt b/src/CMakeLists.txt +@@ -13,6 +13,7 @@ set(PLFIT_CORE_SRCS error.c gss.c kolmogorov.c lbfgs.c mt.c platform.c plfit.c o + add_library(plfit ${PLFIT_CORE_SRCS}) + target_include_directories(plfit PUBLIC ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR}) + set_target_properties(plfit PROPERTIES SOVERSION 0) ++target_link_libraries(plfit ${MATH_LIBRARY}) + + if(PLFIT_USE_OPENMP AND OPENMP_FOUND) + target_link_libraries(plfit OpenMP::OpenMP_C) +-- +2.43.0 + diff --git a/sci-mathematics/plfit/plfit-0.9.4.ebuild b/sci-mathematics/plfit/plfit-0.9.4.ebuild new file mode 100644 index ..a01a4159554a --- /dev/null +++ b/sci-mathematics/plfit/plfit-0.9.4.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Fit power-law distributions to empirical data" +HOMEPAGE="https://github.com/ntamas/plfit"; +SRC_URI="https://github.com/ntamas/${PN}/archive/refs/tags/${PV}.tar.gz + -> ${P}.tar.gz" +# plfit is gpl-2 and its source headers say "or later." The upstream +# doc/ directory contains MIT and BSD licenses for two components. +LICENSE="BSD GPL-2+ MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cpu_flags_x86_sse cpu_flags_x86_sse2" + +PATCHES=( + "${FILESDIR}/${P}-underlinking.patch" +) + +DOCS=( CHANGELOG.md README.rst doc/THANKS ) + +src_configure() { + local mycmakeargs=( + -DPLFIT_COMPILE_PYTHON_MODULE=OFF + -DPLFIT_USE_SSE=OFF + -DPLFIT_USE_OPENMP=OFF + ) + if use cpu_flags_x86_sse || use cpu_flags_x86_sse2; then + # plfit chooses which to use at compile time based on the + # constants __SSE__ and __SSE2__. + mycmakeargs+=( -DPLFIT_USE_SSE=ON ) + fi + cmake_src_configure +}
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/plfit/
commit: aac12495af29b63ab28375c8b4581ccb4d4b3e19 Author: Arthur Zamarin gentoo org> AuthorDate: Sat Dec 16 16:17:01 2023 + Commit: Arthur Zamarin gentoo org> CommitDate: Sat Dec 16 16:17:01 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aac12495 sci-mathematics/plfit: Stabilize 0.9.3 amd64, #920125 Signed-off-by: Arthur Zamarin gentoo.org> sci-mathematics/plfit/plfit-0.9.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/plfit/plfit-0.9.3.ebuild b/sci-mathematics/plfit/plfit-0.9.3.ebuild index 2d9d2abfc172..a4ef6de3a1b7 100644 --- a/sci-mathematics/plfit/plfit-0.9.3.ebuild +++ b/sci-mathematics/plfit/plfit-0.9.3.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/ntamas/${PN}/archive/refs/tags/${PV}.tar.gz # doc/ directory contains MIT and BSD licenses for two components. LICENSE="BSD GPL-2+ MIT" SLOT="0" -KEYWORDS="~amd64 x86" +KEYWORDS="amd64 x86" IUSE="cpu_flags_x86_sse cpu_flags_x86_sse2" DOCS=( CHANGELOG.md README.rst doc/THANKS )
[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/plfit/
commit: 7b1b2bdcbdb28ec852606196f6acde8731ce6387 Author: Michael Orlitzky gentoo org> AuthorDate: Mon May 22 19:36:38 2023 + Commit: Michael Orlitzky gentoo org> CommitDate: Mon May 22 20:05:15 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b1b2bdc sci-mathematics/plfit: new package, add 0.9.3 Signed-off-by: Michael Orlitzky gentoo.org> sci-mathematics/plfit/Manifest | 1 + sci-mathematics/plfit/metadata.xml | 13 + sci-mathematics/plfit/plfit-0.9.3.ebuild | 33 3 files changed, 47 insertions(+) diff --git a/sci-mathematics/plfit/Manifest b/sci-mathematics/plfit/Manifest new file mode 100644 index ..03611001ad5e --- /dev/null +++ b/sci-mathematics/plfit/Manifest @@ -0,0 +1 @@ +DIST plfit-0.9.3.tar.gz 178880 BLAKE2B 611c4d30fa39cb05f8324670c484fd504abf2b1638602f5fede31438bf831f8aa3d7f3a5c6f2edbab377c99bf5f67763149f288581778fdd2fe9a1596a0d4a23 SHA512 6ca0fab75f607b27801576ff6752002079e11c736d0c3f6a669f20bb2869a254aa3ba124a5f6df1ad1daed25c59c8b0952838478cd42570e6d399958f0796e84 diff --git a/sci-mathematics/plfit/metadata.xml b/sci-mathematics/plfit/metadata.xml new file mode 100644 index ..fad11365ac2d --- /dev/null +++ b/sci-mathematics/plfit/metadata.xml @@ -0,0 +1,13 @@ + +https://www.gentoo.org/dtd/metadata.dtd";> + + +m...@gentoo.org + + +sci-mathemat...@gentoo.org + + +ntamas/plfit + + diff --git a/sci-mathematics/plfit/plfit-0.9.3.ebuild b/sci-mathematics/plfit/plfit-0.9.3.ebuild new file mode 100644 index ..f5c15c46b845 --- /dev/null +++ b/sci-mathematics/plfit/plfit-0.9.3.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Fit power-law distributions to empirical data" +HOMEPAGE="https://github.com/ntamas/plfit"; +SRC_URI="https://github.com/ntamas/${PN}/archive/refs/tags/${PV}.tar.gz + -> ${P}.tar.gz" +# plfit is gpl-2 and its source headers say "or later." The upstream +# doc/ directory contains MIT and BSD licenses for two components. +LICENSE="BSD GPL-2+ MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="cpu_flags_x86_sse cpu_flags_x86_sse2" + +DOCS=( CHANGELOG.md README.rst doc/THANKS ) + +src_configure() { + local mycmakeargs=( + -DPLFIT_COMPILE_PYTHON_MODULE=OFF + -DPLFIT_USE_SSE=OFF + -DPLFIT_USE_OPENMP=OFF + ) + if use cpu_flags_x86_sse || use cpu_flags_x86_sse2; then + # plfit chooses which to use at compile time based on the + # constants __SSE__ and __SSE2__. + mycmakeargs+=( -DPLFIT_USE_SSE=ON ) + fi + cmake_src_configure +}