[gentoo-commits] repo/gentoo:master commit in: sci-libs/cminpack/, sci-libs/cminpack/files/

2021-03-06 Thread Andreas Sturmlechner
commit: 6cb06ba04d085ecad02fff0cb95a276f50a1166f
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Mar  6 10:55:25 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Mar  6 11:09:47 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6cb06ba0

sci-libs/cminpack: Drop 1.3.5

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sci-libs/cminpack/Manifest |  1 -
 sci-libs/cminpack/cminpack-1.3.5.ebuild| 34 --
 .../files/cminpack-1.3.5-underlinking.patch| 10 ---
 3 files changed, 45 deletions(-)

diff --git a/sci-libs/cminpack/Manifest b/sci-libs/cminpack/Manifest
index 1ddad5001fe..f678b6a6025 100644
--- a/sci-libs/cminpack/Manifest
+++ b/sci-libs/cminpack/Manifest
@@ -1,2 +1 @@
-DIST cminpack-1.3.5.tar.gz 312932 BLAKE2B 
52ab91490f7c569e3931346510e08db55166322399736ceb9cc090a3be3624e8db6de12ed33ee8f97f6c5358dc2488f8aa7c7aab81365316f1dbb8948e669a2e
 SHA512 
bb6f1764d90ccc7cbbb114a509f5416567246a730e4329617671e01b535b3a69f6a6df0483810ad1ad28228a1061a3595a15d437647b94a8a2013203905c6fed
 DIST cminpack-1.3.8.tar.gz 341494 BLAKE2B 
5aebb220f9d5d1b314331a621d3717e4568eea6c37d0a70b935eda1fc0bec11d81b07c8951c8a8bfe5edd81e7878e138f8921d96a96c40230bfc423991e766be
 SHA512 
0cab275074a31af69dbaf3ef6d41b20184c7cf9f33c78014a69ae7a022246fa79e7b4851341c6934ca1e749955b7e1096a40b4300a109ad64ebb1b2ea5d1d8ae

diff --git a/sci-libs/cminpack/cminpack-1.3.5.ebuild 
b/sci-libs/cminpack/cminpack-1.3.5.ebuild
deleted file mode 100644
index 6314fdf3354..000
--- a/sci-libs/cminpack/cminpack-1.3.5.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-DESCRIPTION="C implementation of the MINPACK nonlinear optimization library"
-HOMEPAGE="http://devernay.free.fr/hacks/cminpack/;
-SRC_URI="https://github.com/devernay/cminpack/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="minpack"
-SLOT="0/1"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc test"
-RESTRICT="!test? ( test )"
-
-PATCHES=( "${FILESDIR}"/${P}-underlinking.patch )
-
-src_configure() {
-   local mycmakeargs=(
-   -DCMINPACK_LIB_INSTALL_DIR=$(get_libdir)
-   -DBUILD_SHARED_LIBS=ON
-   -DBUILD_EXAMPLES=$(usex test)
-   )
-   cmake-utils_src_configure
-   use test && export LD_LIBRARY_PATH="${BUILD_DIR}:${LD_LIBRARY_PATH}"
-}
-
-src_install() {
-   cmake-utils_src_install
-   dodoc readme*
-   use doc && dodoc -r doc/*
-}

diff --git a/sci-libs/cminpack/files/cminpack-1.3.5-underlinking.patch 
b/sci-libs/cminpack/files/cminpack-1.3.5-underlinking.patch
deleted file mode 100644
index 5133f5fcd4a..000
--- a/sci-libs/cminpack/files/cminpack-1.3.5-underlinking.patch
+++ /dev/null
@@ -1,10 +0,0 @@
 a/CMakeLists.txt   2016-12-29 03:57:50.652989816 +
-+++ b/CMakeLists.txt   2016-12-29 03:58:33.882632282 +
-@@ -59,6 +59,7 @@
- cminpack.h minpack.h)
- 
- add_library (cminpack ${cminpack_srcs})
-+target_link_libraries (cminpack m)
- 
- install (TARGETS cminpack 
-LIBRARY DESTINATION ${CMINPACK_LIB_INSTALL_DIR} COMPONENT library



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cminpack/, sci-libs/cminpack/files/

2021-03-06 Thread Andreas Sturmlechner
commit: 71c501b2822cffd4da67aa754925f7ce6d002288
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sat Mar  6 10:54:50 2021 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sat Mar  6 11:09:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71c501b2

sci-libs/cminpack: 1.3.8 version bump, EAPI-7, cmake.eclass

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sci-libs/cminpack/Manifest |  1 +
 sci-libs/cminpack/cminpack-1.3.8.ebuild| 35 ++
 sci-libs/cminpack/files/cminpack-1.3.8-cmake.patch | 10 +++
 3 files changed, 46 insertions(+)

diff --git a/sci-libs/cminpack/Manifest b/sci-libs/cminpack/Manifest
index cee1edd10f4..1ddad5001fe 100644
--- a/sci-libs/cminpack/Manifest
+++ b/sci-libs/cminpack/Manifest
@@ -1 +1,2 @@
 DIST cminpack-1.3.5.tar.gz 312932 BLAKE2B 
52ab91490f7c569e3931346510e08db55166322399736ceb9cc090a3be3624e8db6de12ed33ee8f97f6c5358dc2488f8aa7c7aab81365316f1dbb8948e669a2e
 SHA512 
bb6f1764d90ccc7cbbb114a509f5416567246a730e4329617671e01b535b3a69f6a6df0483810ad1ad28228a1061a3595a15d437647b94a8a2013203905c6fed
+DIST cminpack-1.3.8.tar.gz 341494 BLAKE2B 
5aebb220f9d5d1b314331a621d3717e4568eea6c37d0a70b935eda1fc0bec11d81b07c8951c8a8bfe5edd81e7878e138f8921d96a96c40230bfc423991e766be
 SHA512 
0cab275074a31af69dbaf3ef6d41b20184c7cf9f33c78014a69ae7a022246fa79e7b4851341c6934ca1e749955b7e1096a40b4300a109ad64ebb1b2ea5d1d8ae

diff --git a/sci-libs/cminpack/cminpack-1.3.8.ebuild 
b/sci-libs/cminpack/cminpack-1.3.8.ebuild
new file mode 100644
index 000..a32daf6c951
--- /dev/null
+++ b/sci-libs/cminpack/cminpack-1.3.8.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="C implementation of the MINPACK nonlinear optimization library"
+HOMEPAGE="http://devernay.free.fr/hacks/cminpack/;
+SRC_URI="https://github.com/devernay/cminpack/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="minpack"
+SLOT="0/1"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc test"
+
+RESTRICT="!test? ( test )"
+
+DOCS=( README.md readme.txt )
+
+PATCHES=( "${FILESDIR}"/${P}-cmake.patch )
+
+src_configure() {
+   local mycmakeargs=(
+   -DUSE_BLAS=OFF # TODO: pick it up if you want to
+   -DCMINPACK_LIB_INSTALL_DIR=$(get_libdir)
+   -DBUILD_EXAMPLES=$(usex test)
+   )
+   cmake_src_configure
+}
+
+src_install() {
+   use doc && local HTML_DOCS=( docs/. )
+   cmake_src_install
+}

diff --git a/sci-libs/cminpack/files/cminpack-1.3.8-cmake.patch 
b/sci-libs/cminpack/files/cminpack-1.3.8-cmake.patch
new file mode 100644
index 000..92a9e777bbe
--- /dev/null
+++ b/sci-libs/cminpack/files/cminpack-1.3.8-cmake.patch
@@ -0,0 +1,10 @@
+--- a/CMakeLists.txt   2021-02-10 06:05:42.0 +0100
 b/CMakeLists.txt   2021-03-06 11:51:15.594882519 +0100
+@@ -175,6 +175,6 @@
+ 
+ endforeach ()
+ 
+-install (EXPORT CMinpackConfig DESTINATION share/cminpack NAMESPACE 
cminpack::)
++install (EXPORT CMinpackConfig DESTINATION 
${CMINPACK_LIB_INSTALL_DIR}/cmake/cminpack NAMESPACE cminpack::)
+ 
+ add_subdirectory (examples)



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cminpack/, sci-libs/cminpack/files/

2018-06-06 Thread Andreas Sturmlechner
commit: dfae3f1ff757cb05fe4b412d105851cf020b0b46
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Jun  3 12:39:59 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed Jun  6 14:54:43 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfae3f1f

sci-libs/cminpack: Drop old

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sci-libs/cminpack/Manifest |  1 -
 sci-libs/cminpack/cminpack-1.3.4.ebuild| 34 --
 .../files/cminpack-1.2.2-underlinking.patch| 15 --
 3 files changed, 50 deletions(-)

diff --git a/sci-libs/cminpack/Manifest b/sci-libs/cminpack/Manifest
index 4480ec95402..cee1edd10f4 100644
--- a/sci-libs/cminpack/Manifest
+++ b/sci-libs/cminpack/Manifest
@@ -1,2 +1 @@
-DIST cminpack-1.3.4.tar.gz 311147 BLAKE2B 
031739d6932326d2b11ccda6317afd17cd610bfd394106720f1b5e18d8311f19e99ff36a3b362fd2ee37e997630a267be9bdab208add61597c23198dda4d6363
 SHA512 
2221dd710285e4d043ec51b296979686645ee48dad2e4bcbfef3e78ff6e8e02c09575af17edc3e9879cb9b7d4b431f0effe24640a2bdc437e32d0d0710545d7a
 DIST cminpack-1.3.5.tar.gz 312932 BLAKE2B 
52ab91490f7c569e3931346510e08db55166322399736ceb9cc090a3be3624e8db6de12ed33ee8f97f6c5358dc2488f8aa7c7aab81365316f1dbb8948e669a2e
 SHA512 
bb6f1764d90ccc7cbbb114a509f5416567246a730e4329617671e01b535b3a69f6a6df0483810ad1ad28228a1061a3595a15d437647b94a8a2013203905c6fed

diff --git a/sci-libs/cminpack/cminpack-1.3.4.ebuild 
b/sci-libs/cminpack/cminpack-1.3.4.ebuild
deleted file mode 100644
index e4845a26287..000
--- a/sci-libs/cminpack/cminpack-1.3.4.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit cmake-utils multilib
-
-DESCRIPTION="C implementation of the MINPACK nonlinear optimization library"
-HOMEPAGE="http://devernay.free.fr/hacks/cminpack/;
-SRC_URI="${HOMEPAGE}/${P}.tar.gz"
-
-LICENSE="minpack"
-SLOT="0/1"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc test"
-
-PATCHES=( "${FILESDIR}"/${PN}-1.2.2-underlinking.patch )
-
-src_configure() {
-   sed -i \
-   -e "/CMINPACK_LIB_INSTALL_DIR/s:lib\(\|64\):$(get_libdir):g" \
-   cmake/cminpack_utils.cmake || die
-   local mycmakeargs+=(
-   -DSHARED_LIBS=ON
-   $(cmake-utils_use_build test examples)
-   )
-   cmake-utils_src_configure
-}
-
-src_install() {
-   cmake-utils_src_install
-   dodoc readme*
-   use doc && dohtml -A .txt doc/*
-}

diff --git a/sci-libs/cminpack/files/cminpack-1.2.2-underlinking.patch 
b/sci-libs/cminpack/files/cminpack-1.2.2-underlinking.patch
deleted file mode 100644
index a042d4c2f72..000
--- a/sci-libs/cminpack/files/cminpack-1.2.2-underlinking.patch
+++ /dev/null
@@ -1,15 +0,0 @@
- CMakeLists.txt |1 +
- 1 files changed, 1 insertions(+), 0 deletions(-)
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 57394af..5a46a75 100644
 a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -56,6 +56,7 @@ set (cminpack_hdrs
- cminpack.h minpack.h)
- 
- add_library (cminpack ${LIB_TYPE} ${cminpack_srcs})
-+target_link_libraries (cminpack m)
- 
- install (TARGETS cminpack 
-LIBRARY DESTINATION ${CMINPACK_LIB_INSTALL_DIR} COMPONENT library



[gentoo-commits] repo/gentoo:master commit in: sci-libs/cminpack/, sci-libs/cminpack/files/

2016-12-28 Thread Sebastien Fabbro
commit: 562a051a9a1921760fe10fe25662510bf211d5bb
Author: Sébastien Fabbro  gentoo  org>
AuthorDate: Thu Dec 29 04:01:16 2016 +
Commit: Sebastien Fabbro  gentoo  org>
CommitDate: Thu Dec 29 07:01:28 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=562a051a

sci-libs/cminpack: version bump
Added github upstream

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 sci-libs/cminpack/Manifest |  2 +-
 sci-libs/cminpack/cminpack-1.3.2.ebuild| 35 --
 sci-libs/cminpack/cminpack-1.3.5.ebuild| 34 +
 .../files/cminpack-1.3.5-underlinking.patch| 10 +++
 sci-libs/cminpack/metadata.xml |  3 ++
 5 files changed, 48 insertions(+), 36 deletions(-)

diff --git a/sci-libs/cminpack/Manifest b/sci-libs/cminpack/Manifest
index 572530c..8dd7ebe 100644
--- a/sci-libs/cminpack/Manifest
+++ b/sci-libs/cminpack/Manifest
@@ -1,2 +1,2 @@
-DIST cminpack-1.3.2.tar.gz 299376 SHA256 
a0a7f9b2e97c4f6dc8fe39675aed8423b27c7e839ba6c1745bcc2acc09c97825 SHA512 
ec7cf2bdb58148b7664cca78cb2f5f2501c8d2df46a723285832a4e1fbe69457d1b5f67d2cdc7904900597a1af7bb22008e13f260e4672c32944cdadd856fd82
 WHIRLPOOL 
530d047bc56d536e2bec32d99845202ff9a664e70df1c2f6a1bd2023f6efd098338d2101a077365109c177a65b57be7c3d23aca7b2c5023e0fff63d660ca6848
 DIST cminpack-1.3.4.tar.gz 311147 SHA256 
3b517bf7dca68cc9a882883db96dac0a0d37d72aba6dfb0c9c7e78e67af503ca SHA512 
2221dd710285e4d043ec51b296979686645ee48dad2e4bcbfef3e78ff6e8e02c09575af17edc3e9879cb9b7d4b431f0effe24640a2bdc437e32d0d0710545d7a
 WHIRLPOOL 
460b56dcdac171daf9fda1c43b05654b549f1349babe8dfe5190f2aea98c3c42953ceda12e6dfff49d93958c6aaa0dc8b124477d1a22346e4d0a557dcae692a4
+DIST cminpack-1.3.5.tar.gz 312932 SHA256 
a3ab4be6c8a8bab36c6ac7d4322fb0b9c4347a8096fd6c96d1686dc30e4b1afe SHA512 
bb6f1764d90ccc7cbbb114a509f5416567246a730e4329617671e01b535b3a69f6a6df0483810ad1ad28228a1061a3595a15d437647b94a8a2013203905c6fed
 WHIRLPOOL 
018b4877d2bbd602503b0055f7570f10b12183ac3a2c4f42cf4aea2ac7bb21556621214b83c4f620b1dc6abd6c79645d6fd5702ef079e1fa79a268616c1190fe

diff --git a/sci-libs/cminpack/cminpack-1.3.2.ebuild 
b/sci-libs/cminpack/cminpack-1.3.2.ebuild
deleted file mode 100644
index 236b20a..
--- a/sci-libs/cminpack/cminpack-1.3.2.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit cmake-utils multilib
-
-DESCRIPTION="C implementation of the MINPACK nonlinear optimization library"
-HOMEPAGE="http://devernay.free.fr/hacks/cminpack/;
-SRC_URI="${HOMEPAGE}/${P}.tar.gz"
-
-LICENSE="minpack"
-SLOT="0/${PV}"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-IUSE="doc test"
-
-PATCHES=( "${FILESDIR}"/${PN}-1.2.2-underlinking.patch )
-
-src_configure() {
-   sed -i \
-   -e "/CMINPACK_LIB_INSTALL_DIR/s:lib\(\|64\):$(get_libdir):g" \
-   cmake/cminpack_utils.cmake || die
-   local mycmakeargs+=(
-   -DSHARED_LIBS=ON
-   $(cmake-utils_use_build test examples)
-   )
-   cmake-utils_src_configure
-}
-
-src_install() {
-   cmake-utils_src_install
-   dodoc readme*
-   use doc && dohtml -A .txt doc/*
-}

diff --git a/sci-libs/cminpack/cminpack-1.3.5.ebuild 
b/sci-libs/cminpack/cminpack-1.3.5.ebuild
new file mode 100644
index ..1a46678
--- /dev/null
+++ b/sci-libs/cminpack/cminpack-1.3.5.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="C implementation of the MINPACK nonlinear optimization library"
+HOMEPAGE="http://devernay.free.fr/hacks/cminpack/;
+SRC_URI="https://github.com/devernay/cminpack/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="minpack"
+SLOT="0/1"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc test"
+
+PATCHES=( "${FILESDIR}"/${P}-underlinking.patch )
+
+src_configure() {
+   local mycmakeargs=(
+   -DCMINPACK_LIB_INSTALL_DIR=$(get_libdir)
+   -DBUILD_SHARED_LIBS=ON
+   -DBUILD_EXAMPLES=$(usex test)
+   )
+   cmake-utils_src_configure
+   use test && export LD_LIBRARY_PATH="${BUILD_DIR}:${LD_LIBRARY_PATH}"
+}
+
+src_install() {
+   cmake-utils_src_install
+   dodoc readme*
+   use doc && dodoc -r doc/*
+}

diff --git a/sci-libs/cminpack/files/cminpack-1.3.5-underlinking.patch 
b/sci-libs/cminpack/files/cminpack-1.3.5-underlinking.patch
new file mode 100644
index ..5133f5f
--- /dev/null
+++ b/sci-libs/cminpack/files/cminpack-1.3.5-underlinking.patch
@@ -0,0 +1,10 @@
+--- a/CMakeLists.txt   2016-12-29 03:57:50.652989816 +
 b/CMakeLists.txt   2016-12-29 03:58:33.882632282 +
+@@ -59,6 +59,7 @@
+ cminpack.h minpack.h)
+ 
+ add_library (cminpack ${cminpack_srcs})
++target_link_libraries (cminpack m)
+ 
+ install