[gentoo-commits] proj/sci:master commit in: sci-mathematics/cipi/files/, sci-mathematics/cipi/
commit: 7f12297f2e52d640f48fba9ed03c923ad913b3b0 Author: Alexander Puck Neuwirth neuwirth-informatik de> AuthorDate: Fri Feb 16 20:41:53 2024 + Commit: Alexander Puck Neuwirth neuwirth-informatik de> CommitDate: Mon Feb 19 16:18:36 2024 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=7f12297f sci-mathematics/cipi: Fix boost linking Signed-off-by: Alexander Puck Neuwirth neuwirth-informatik.de> Co-authored-by: Andrew Nowa Ammerlaan gentoo.org> Closes: https://github.com/gentoo/sci/pull/1239 sci-mathematics/cipi/cipi-1.0-r1.ebuild | 51 + sci-mathematics/cipi/files/cipi-1.0-boost.patch | 11 ++ 2 files changed, 62 insertions(+) diff --git a/sci-mathematics/cipi/cipi-1.0-r1.ebuild b/sci-mathematics/cipi/cipi-1.0-r1.ebuild new file mode 100644 index 0..6cd189e33 --- /dev/null +++ b/sci-mathematics/cipi/cipi-1.0-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake flag-o-matic + +DESCRIPTION="Computing information projections iteratively" +HOMEPAGE="https://github.com/tom111/cipi"; +SRC_URI="https://github.com/tom111/cipi/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +IUSE="doc" + +DEPEND=" + dev-libs/boost:= + doc? ( virtual/latex-base )" +RDEPEND="${DEPEND}" + +DOCS="AUTHORS README" + +CMAKE_IN_SOURCE_BUILD="yes" + +PATCHES=( + "${FILESDIR}/${P}-boost.patch" +) + +src_prepare() { + cmake_src_prepare + append-ldflags -Wl,--copy-dt-needed-entries +} + +src_configure() { + mycmakeargs=( + -DENABLE_DOC=$(usex doc ON OFF) + ) + + cmake_src_configure +} + +pkg_postinst() { + elog + elog "The sample PARAM file has been installed to /usr/share/${PN}-${PV}" + elog + if use doc; then + elog "A pdf manual has been installed to /usr/share/${PN}-${PV}" + fi +} diff --git a/sci-mathematics/cipi/files/cipi-1.0-boost.patch b/sci-mathematics/cipi/files/cipi-1.0-boost.patch new file mode 100644 index 0..66aa9fd3f --- /dev/null +++ b/sci-mathematics/cipi/files/cipi-1.0-boost.patch @@ -0,0 +1,11 @@ +--- a/src/CMakeLists.txt 2024-02-16 21:36:58.808186061 +0100 b/src/CMakeLists.txt 2024-02-16 21:36:55.288131610 +0100 +@@ -8,7 +8,7 @@ + Message("Boost found" ${Boost_LIBRARY_DIR}) + INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIR}) + #MESSAGE("Boost was found" ${Boost_INCLUDE_DIR}) +- TARGET_LINK_LIBRARIES (cipi boost_thread-mt) ++ TARGET_LINK_LIBRARIES (cipi boost_thread) + ENDIF (Boost_FOUND) + + INSTALL(PROGRAMS cipi DESTINATION bin)
[gentoo-commits] proj/sci:master commit in: sci-mathematics/cipi/
commit: 106300b3c974a4526694541cc0ceb7c237fdca6e Author: Andrew Ammerlaan gentoo org> AuthorDate: Fri Feb 10 13:38:33 2023 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Fri Feb 10 13:38:33 2023 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=106300b3 sci-mathematics/cipi: fix static uri Signed-off-by: Andrew Ammerlaan gentoo.org> sci-mathematics/cipi/cipi-1.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sci-mathematics/cipi/cipi-1.0.ebuild b/sci-mathematics/cipi/cipi-1.0.ebuild index 2dae2c71a..33d744c7c 100644 --- a/sci-mathematics/cipi/cipi-1.0.ebuild +++ b/sci-mathematics/cipi/cipi-1.0.ebuild @@ -7,7 +7,7 @@ inherit cmake flag-o-matic DESCRIPTION="Computing information projections iteratively" HOMEPAGE="https://github.com/tom111/cipi"; -SRC_URI="https://github.com/tom111/cipi/archive/1.0.tar.gz -> ${P}.tar.gz" +SRC_URI="https://github.com/tom111/cipi/archive/${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3" SLOT="0"
[gentoo-commits] proj/sci:master commit in: sci-mathematics/cipi/
commit: 754ffafbd840e580a30c67163f5ac4b725bbf88c Author: Andrew Ammerlaan riseup net> AuthorDate: Thu Jan 28 16:41:04 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Thu Jan 28 16:41:04 2021 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=754ffafb sci-mathematics/cipi: EAPI bump, fix compile phase Package-Manager: Portage-3.0.14, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan riseup.net> sci-mathematics/cipi/cipi-1.0.ebuild | 16 +++- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/sci-mathematics/cipi/cipi-1.0.ebuild b/sci-mathematics/cipi/cipi-1.0.ebuild index 2665a6837..2dae2c71a 100644 --- a/sci-mathematics/cipi/cipi-1.0.ebuild +++ b/sci-mathematics/cipi/cipi-1.0.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=5 +EAPI=7 -inherit cmake-utils +inherit cmake flag-o-matic DESCRIPTION="Computing information projections iteratively" HOMEPAGE="https://github.com/tom111/cipi"; @@ -12,6 +12,7 @@ SRC_URI="https://github.com/tom111/cipi/archive/1.0.tar.gz -> ${P}.tar.gz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" + IUSE="doc" DEPEND=" @@ -23,12 +24,17 @@ DOCS="AUTHORS README" CMAKE_IN_SOURCE_BUILD="yes" +src_prepare() { + cmake_src_prepare + append-ldflags -Wl,--copy-dt-needed-entries +} + src_configure() { mycmakeargs=( - $(cmake-utils_use_enable doc) + $(use_enable doc) ) - cmake-utils_src_configure + cmake_src_configure } pkg_postinst() {
[gentoo-commits] proj/sci:master commit in: sci-mathematics/cipi/
commit: 1ab747c8ba92550d5903548e111edb8ff8791bb6 Author: Justin Lecher gentoo org> AuthorDate: Fri Jun 5 11:19:21 2015 + Commit: Justin Lecher gentoo org> CommitDate: Fri Jun 5 11:19:21 2015 + URL:https://gitweb.gentoo.org/proj/sci.git/commit/?id=1ab747c8 sci-mathematics/cipi: Add github to remote-id in metadata.xml Package-Manager: portage-2.2.20 sci-mathematics/cipi/ChangeLog| 6 -- sci-mathematics/cipi/metadata.xml | 3 +++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/sci-mathematics/cipi/ChangeLog b/sci-mathematics/cipi/ChangeLog index 523a1f1..5e2475d 100644 --- a/sci-mathematics/cipi/ChangeLog +++ b/sci-mathematics/cipi/ChangeLog @@ -1,7 +1,10 @@ # ChangeLog for sci-mathematics/cipi -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 05 Jun 2015; Justin Lecher metadata.xml: + sci-mathematics/cipi: Add github to remote-id in metadata.xml + 06 Jan 2014; Justin Lecher cipi-1.0.ebuild, metadata.xml: Use tarball instead of git pull @@ -15,4 +18,3 @@ 20 Jul 2010; Thomas Kahle +cipi-1.0.ebuild, +metadata.xml: initial upload for bug 329169 - diff --git a/sci-mathematics/cipi/metadata.xml b/sci-mathematics/cipi/metadata.xml index ff77aad..bc37ee7 100644 --- a/sci-mathematics/cipi/metadata.xml +++ b/sci-mathematics/cipi/metadata.xml @@ -10,4 +10,7 @@ cipi is a threaded implementation of iterative proportional fitting. It is used to compute information projections iteratively. + +tom111/cipi +