[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/lpsolve/

2023-05-03 Thread Andreas Sturmlechner
commit: 9fe315eb2b0eb2675b0eb49185beaafa49d60665
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Wed May  3 17:36:06 2023 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Wed May  3 17:38:02 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fe315eb

sci-mathematics/lpsolve: drop 5.5.2.0-r1

Signed-off-by: Andreas Sturmlechner  gentoo.org>

 sci-mathematics/lpsolve/Manifest  |  1 -
 sci-mathematics/lpsolve/lpsolve-5.5.2.0-r1.ebuild | 20 
 2 files changed, 21 deletions(-)

diff --git a/sci-mathematics/lpsolve/Manifest b/sci-mathematics/lpsolve/Manifest
index 7b249e4dc266..6f4877b98ae7 100644
--- a/sci-mathematics/lpsolve/Manifest
+++ b/sci-mathematics/lpsolve/Manifest
@@ -1,2 +1 @@
 DIST lp_solve_5.5.2.11_source.tar.gz 556506 BLAKE2B 
4c5b53ddadc9db2cbfb78fee141505ced17719f6bd7c780720c6960cc902165c7c3cffbadd048ad5d61ba3951fd65fd6ac08b8d1874dd57c7ac41a168bccd260
 SHA512 
24f5a14d0c77a71e1ab3f46e08ea3f85f2f116ae2d3d2c54acddc5fb138251ba258240284060827e1b8b7ef15d580acecc242329ec775802fe5e8028407499bc
-DIST lpsolve-5.5.2.0.tar.xz 737000 BLAKE2B 
912690a7e4ed5fd5d475f322f5c168554fb3d47281545f42d2383ccbe72b3cb0036f72878c94899889972e266e9cf6ad73e59ac1e822deae753ae5b31a00c9b8
 SHA512 
341bff74dccf805cfd3aa4ee844a51f3c46ce875e88b1bf079a6ff0074f7cbd27420ec9c6a66a2530098a85c967457214543895651f4c570b956324a51bb9fe6

diff --git a/sci-mathematics/lpsolve/lpsolve-5.5.2.0-r1.ebuild 
b/sci-mathematics/lpsolve/lpsolve-5.5.2.0-r1.ebuild
deleted file mode 100644
index 00511e365804..
--- a/sci-mathematics/lpsolve/lpsolve-5.5.2.0-r1.ebuild
+++ /dev/null
@@ -1,20 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="Mixed Integer Linear Programming (MILP) solver"
-HOMEPAGE="https://sourceforge.net/projects/lpsolve/;
-SRC_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.xz;
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
-
-DEPEND="sci-libs/colamd"
-RDEPEND="${DEPEND}"
-
-src_install() {
-   default
-   find "${ED}" -name '*.la' -delete || die
-}



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/lpsolve/

2023-04-30 Thread Sam James
commit: c4d104ac956adcbd28af1eadc0cc1248e6f2286a
Author: Sam James  gentoo  org>
AuthorDate: Mon May  1 01:40:28 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May  1 01:40:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4d104ac

sci-mathematics/lpsolve: Stabilize 5.5.2.11-r2 amd64, #894400

Signed-off-by: Sam James  gentoo.org>

 sci-mathematics/lpsolve/lpsolve-5.5.2.11-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-mathematics/lpsolve/lpsolve-5.5.2.11-r2.ebuild 
b/sci-mathematics/lpsolve/lpsolve-5.5.2.11-r2.ebuild
index b38a62df7fbc..63989ca46f5f 100644
--- a/sci-mathematics/lpsolve/lpsolve-5.5.2.11-r2.ebuild
+++ b/sci-mathematics/lpsolve/lpsolve-5.5.2.11-r2.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}"/lp_solve_$(ver_cut 1-2)
 
 LICENSE="LGPL-2.1"
 SLOT="0/55"
-KEYWORDS="~amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv x86 ~amd64-linux 
~x86-linux"
 
 DEPEND="sci-libs/colamd"
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/lpsolve/

2023-04-29 Thread Arthur Zamarin
commit: 3e7548d798636c59d24080b547170ab2aa3b204c
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Apr 29 17:15:48 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Apr 29 17:15:48 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3e7548d7

sci-mathematics/lpsolve: Stabilize 5.5.2.11-r2 x86, #894400

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-mathematics/lpsolve/lpsolve-5.5.2.11-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-mathematics/lpsolve/lpsolve-5.5.2.11-r2.ebuild 
b/sci-mathematics/lpsolve/lpsolve-5.5.2.11-r2.ebuild
index a469c386dd5a..b38a62df7fbc 100644
--- a/sci-mathematics/lpsolve/lpsolve-5.5.2.11-r2.ebuild
+++ b/sci-mathematics/lpsolve/lpsolve-5.5.2.11-r2.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}"/lp_solve_$(ver_cut 1-2)
 
 LICENSE="LGPL-2.1"
 SLOT="0/55"
-KEYWORDS="~amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv x86 ~amd64-linux 
~x86-linux"
 
 DEPEND="sci-libs/colamd"
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/lpsolve/

2023-04-26 Thread Arthur Zamarin
commit: 71d2a735939e9b4d64cefd9d79e94342a0aa9155
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Wed Apr 26 13:34:30 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Wed Apr 26 13:34:30 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71d2a735

sci-mathematics/lpsolve: Stabilize 5.5.2.11-r2 arm64, #894400

Signed-off-by: Arthur Zamarin  gentoo.org>

 sci-mathematics/lpsolve/lpsolve-5.5.2.11-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-mathematics/lpsolve/lpsolve-5.5.2.11-r2.ebuild 
b/sci-mathematics/lpsolve/lpsolve-5.5.2.11-r2.ebuild
index 41d234407a62..a469c386dd5a 100644
--- a/sci-mathematics/lpsolve/lpsolve-5.5.2.11-r2.ebuild
+++ b/sci-mathematics/lpsolve/lpsolve-5.5.2.11-r2.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}"/lp_solve_$(ver_cut 1-2)
 
 LICENSE="LGPL-2.1"
 SLOT="0/55"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux 
~x86-linux"
+KEYWORDS="~amd64 ~arm arm64 ~loong ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux 
~x86-linux"
 
 DEPEND="sci-libs/colamd"
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/lpsolve/

2023-03-06 Thread Yixun Lan
commit: 3f62c20283c2f344e057f5a9459ec59765b4f38d
Author: Yixun Lan  gentoo  org>
AuthorDate: Mon Mar  6 11:37:56 2023 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Tue Mar  7 00:14:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f62c202

sci-mathematics/lpsolve: Keyword 5.5.2.11-r2 riscv, #881389

Signed-off-by: Yixun Lan  gentoo.org>

 sci-mathematics/lpsolve/lpsolve-5.5.2.11-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-mathematics/lpsolve/lpsolve-5.5.2.11-r2.ebuild 
b/sci-mathematics/lpsolve/lpsolve-5.5.2.11-r2.ebuild
index adb1c37d72e4..41d234407a62 100644
--- a/sci-mathematics/lpsolve/lpsolve-5.5.2.11-r2.ebuild
+++ b/sci-mathematics/lpsolve/lpsolve-5.5.2.11-r2.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}"/lp_solve_$(ver_cut 1-2)
 
 LICENSE="LGPL-2.1"
 SLOT="0/55"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux 
~x86-linux"
 
 DEPEND="sci-libs/colamd"
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/lpsolve/

2023-02-04 Thread Sam James
commit: 0ebebe508b9dffbd7bbc10155c2ddcee593960aa
Author: Sam James  gentoo  org>
AuthorDate: Sat Feb  4 17:19:00 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Feb  4 17:22:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ebebe50

sci-mathematics/lpsolve: add subslot for new version

It broke ABI and I didn't realise, sorry!

Closes: https://bugs.gentoo.org/614866
Signed-off-by: Sam James  gentoo.org>

 ...psolve-5.5.2.11-r1.ebuild => lpsolve-5.5.2.11-r2.ebuild} | 13 -
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/sci-mathematics/lpsolve/lpsolve-5.5.2.11-r1.ebuild 
b/sci-mathematics/lpsolve/lpsolve-5.5.2.11-r2.ebuild
similarity index 70%
rename from sci-mathematics/lpsolve/lpsolve-5.5.2.11-r1.ebuild
rename to sci-mathematics/lpsolve/lpsolve-5.5.2.11-r2.ebuild
index 3e8f059ed599..adb1c37d72e4 100644
--- a/sci-mathematics/lpsolve/lpsolve-5.5.2.11-r1.ebuild
+++ b/sci-mathematics/lpsolve/lpsolve-5.5.2.11-r2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="mirror://sourceforge/${PN}/lp_solve_${PV}_source.tar.gz"
 S="${WORKDIR}"/lp_solve_$(ver_cut 1-2)
 
 LICENSE="LGPL-2.1"
-SLOT="0"
+SLOT="0/55"
 KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
 
 DEPEND="sci-libs/colamd"
@@ -21,6 +21,17 @@ PATCHES=(
"${FILESDIR}"/${PN}-5.5.2.11-misc.patch
 )
 
+src_prepare() {
+   default
+
+   local actual_soname=$(grep -iEo -- "-soname,liblpsolve([A-z0-9]+)" 
lpsolve*/ccc | sed -e 's:-soname,liblpsolve::')
+   if [[ ${actual_soname} != ${SLOT##*/} ]] ; then
+   eerror "Actual SONAME: ${actual_soname}"
+   eerror "Expected SONAME: ${SLOT##*/}"
+   die "Expected SONAME not found! Please update the subslot in 
the ebuild!"
+   fi
+}
+
 src_compile() {
tc-export AR CC RANLIB LD
 



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/lpsolve/, sci-mathematics/lpsolve/files/

2023-02-02 Thread Sam James
commit: e00dce2f8eabd06e24eabd8f4d940d6dcec1ebc2
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb  3 03:49:11 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb  3 03:49:26 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e00dce2f

Revert "sci-mathematics/lpsolve: add 5.5.2.11"

This reverts commit 4d99a7bbea555c90ad7a180ac42de81579464dee.

I didn't mean to push this yet.

Bug: https://bugs.gentoo.org/614866
Signed-off-by: Sam James  gentoo.org>

 sci-mathematics/lpsolve/Manifest   |   1 -
 .../lpsolve/files/lpsolve-5.5.2.11-misc.patch  | 328 -
 sci-mathematics/lpsolve/lpsolve-5.5.2.11.ebuild|  39 ---
 3 files changed, 368 deletions(-)

diff --git a/sci-mathematics/lpsolve/Manifest b/sci-mathematics/lpsolve/Manifest
index 7b249e4dc266..bcfa5f4d8fe8 100644
--- a/sci-mathematics/lpsolve/Manifest
+++ b/sci-mathematics/lpsolve/Manifest
@@ -1,2 +1 @@
-DIST lp_solve_5.5.2.11_source.tar.gz 556506 BLAKE2B 
4c5b53ddadc9db2cbfb78fee141505ced17719f6bd7c780720c6960cc902165c7c3cffbadd048ad5d61ba3951fd65fd6ac08b8d1874dd57c7ac41a168bccd260
 SHA512 
24f5a14d0c77a71e1ab3f46e08ea3f85f2f116ae2d3d2c54acddc5fb138251ba258240284060827e1b8b7ef15d580acecc242329ec775802fe5e8028407499bc
 DIST lpsolve-5.5.2.0.tar.xz 737000 BLAKE2B 
912690a7e4ed5fd5d475f322f5c168554fb3d47281545f42d2383ccbe72b3cb0036f72878c94899889972e266e9cf6ad73e59ac1e822deae753ae5b31a00c9b8
 SHA512 
341bff74dccf805cfd3aa4ee844a51f3c46ce875e88b1bf079a6ff0074f7cbd27420ec9c6a66a2530098a85c967457214543895651f4c570b956324a51bb9fe6

diff --git a/sci-mathematics/lpsolve/files/lpsolve-5.5.2.11-misc.patch 
b/sci-mathematics/lpsolve/files/lpsolve-5.5.2.11-misc.patch
deleted file mode 100644
index 11f59e865137..
--- a/sci-mathematics/lpsolve/files/lpsolve-5.5.2.11-misc.patch
+++ /dev/null
@@ -1,328 +0,0 @@
 a/bfp/bfp_LUSOL/ccc
-+++ b/bfp/bfp_LUSOL/ccc
-@@ -1,13 +1,13 @@
- :
- src='../../shared/commonlib.c ../../colamd/colamd.c lp_LUSOL.c 
../../lp_utils.c ../../shared/myblas.c LUSOL/lusol.c'
- 
--c=cc
-+c=${CC:-cc}
- 
- #determine platform (32/64 bit)
- >/tmp/platform.c
- echo '#include '>>/tmp/platform.c
- echo '#include '>>/tmp/platform.c
--echo 'main(){printf("ux%d", (int) (sizeof(void *)*8));}'>>/tmp/platform.c
-+echo 'int main(){printf("ux%d", (int) (sizeof(void *)*8));}'>>/tmp/platform.c
- $c /tmp/platform.c -o /tmp/platform
- PLATFORM=`/tmp/platform`
- rm /tmp/platform /tmp/platform.c >/dev/null 2>&1
 a/bfp/bfp_LUSOL/ccc.osx
-+++ b/bfp/bfp_LUSOL/ccc.osx
-@@ -1,13 +1,13 @@
- :
- src='../../shared/commonlib.c ../../colamd/colamd.c lp_LUSOL.c 
../../lp_utils.c ../../shared/myblas.c LUSOL/lusol.c'
- 
--c=cc
-+c=${CC:-cc}
- 
- #determine platform (32/64 bit)
- >/tmp/platform.c
- echo '#include '>>/tmp/platform.c
- echo '#include '>>/tmp/platform.c
--echo 'main(){printf("osx%d", (int) (sizeof(void *)*8));}'>>/tmp/platform.c
-+echo 'int main(){printf("osx%d", (int) (sizeof(void *)*8));}'>>/tmp/platform.c
- $c /tmp/platform.c -o /tmp/platform
- PLATFORM=`/tmp/platform`
- rm /tmp/platform /tmp/platform.c >/dev/null 2>&1
 a/demo/ccc
-+++ b/demo/ccc
-@@ -1,6 +1,5 @@
- src='../lp_MDO.c ../shared/commonlib.c ../colamd/colamd.c ../shared/mmio.c 
../shared/myblas.c ../ini.c ../lp_rlp.c ../lp_crash.c 
../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c 
../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c 
../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c 
../lp_simplex.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c'
--c=cc
--
-+c=${CC:-cc}
- math=-lm
- 
- def=
 a/demo/ccc.osx
-+++ b/demo/ccc.osx
-@@ -1,5 +1,5 @@
- src='../bfp/lp_MDO.c ../commonlib.c ../myblas.c ../colamd/colamd.c ../ini.c 
../fortify.c ../lp_rlp.c ../lp_crash.c ../bfp/bfp_etaPFI/lp_etaPFI.c 
../lp_Hash.c ../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c 
../lp_params.c ../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c 
../lp_scale.c ../lp_simplex.c demo.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c'
--c=cc
-+c=${CC:-cc}
- 
- math=-lm
- 
 a/lp_solve/ccc
-+++ b/lp_solve/ccc
-@@ -1,6 +1,6 @@
- :
- src='../lp_MDO.c ../shared/commonlib.c ../colamd/colamd.c ../shared/mmio.c 
../shared/myblas.c ../ini.c ../fortify.c ../lp_rlp.c ../lp_crash.c 
../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c 
../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c 
../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c 
../lp_simplex.c lp_solve.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c'
--c=cc
-+c=${CC:-cc}
- 
- MYTMP=`mktemp -d "${TMPDIR:-/tmp}"/lp_solve_XX`
- 
-@@ -8,7 +8,7 @@ MYTMP=`mktemp -d "${TMPDIR:-/tmp}"/lp_solve_XX`
- >"$MYTMP"/platform.c
- echo '#include '>>"$MYTMP"/platform.c
- echo '#include '>>"$MYTMP"/platform.c
--echo 'main(){printf("ux%d", (int) (sizeof(void *)*8));}'>>"$MYTMP"/platform.c
-+echo 'int main(){printf("ux%d", (int) 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/lpsolve/, sci-mathematics/lpsolve/files/

2023-02-02 Thread Sam James
commit: 4d99a7bbea555c90ad7a180ac42de81579464dee
Author: Sam James  gentoo  org>
AuthorDate: Fri Feb  3 03:21:57 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Feb  3 03:21:57 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d99a7bb

sci-mathematics/lpsolve: add 5.5.2.11

Closes: https://bugs.gentoo.org/614866
Signed-off-by: Sam James  gentoo.org>

 sci-mathematics/lpsolve/Manifest   |   1 +
 .../lpsolve/files/lpsolve-5.5.2.11-misc.patch  | 328 +
 sci-mathematics/lpsolve/lpsolve-5.5.2.11.ebuild|  39 +++
 3 files changed, 368 insertions(+)

diff --git a/sci-mathematics/lpsolve/Manifest b/sci-mathematics/lpsolve/Manifest
index bcfa5f4d8fe8..7b249e4dc266 100644
--- a/sci-mathematics/lpsolve/Manifest
+++ b/sci-mathematics/lpsolve/Manifest
@@ -1 +1,2 @@
+DIST lp_solve_5.5.2.11_source.tar.gz 556506 BLAKE2B 
4c5b53ddadc9db2cbfb78fee141505ced17719f6bd7c780720c6960cc902165c7c3cffbadd048ad5d61ba3951fd65fd6ac08b8d1874dd57c7ac41a168bccd260
 SHA512 
24f5a14d0c77a71e1ab3f46e08ea3f85f2f116ae2d3d2c54acddc5fb138251ba258240284060827e1b8b7ef15d580acecc242329ec775802fe5e8028407499bc
 DIST lpsolve-5.5.2.0.tar.xz 737000 BLAKE2B 
912690a7e4ed5fd5d475f322f5c168554fb3d47281545f42d2383ccbe72b3cb0036f72878c94899889972e266e9cf6ad73e59ac1e822deae753ae5b31a00c9b8
 SHA512 
341bff74dccf805cfd3aa4ee844a51f3c46ce875e88b1bf079a6ff0074f7cbd27420ec9c6a66a2530098a85c967457214543895651f4c570b956324a51bb9fe6

diff --git a/sci-mathematics/lpsolve/files/lpsolve-5.5.2.11-misc.patch 
b/sci-mathematics/lpsolve/files/lpsolve-5.5.2.11-misc.patch
new file mode 100644
index ..11f59e865137
--- /dev/null
+++ b/sci-mathematics/lpsolve/files/lpsolve-5.5.2.11-misc.patch
@@ -0,0 +1,328 @@
+--- a/bfp/bfp_LUSOL/ccc
 b/bfp/bfp_LUSOL/ccc
+@@ -1,13 +1,13 @@
+ :
+ src='../../shared/commonlib.c ../../colamd/colamd.c lp_LUSOL.c 
../../lp_utils.c ../../shared/myblas.c LUSOL/lusol.c'
+ 
+-c=cc
++c=${CC:-cc}
+ 
+ #determine platform (32/64 bit)
+ >/tmp/platform.c
+ echo '#include '>>/tmp/platform.c
+ echo '#include '>>/tmp/platform.c
+-echo 'main(){printf("ux%d", (int) (sizeof(void *)*8));}'>>/tmp/platform.c
++echo 'int main(){printf("ux%d", (int) (sizeof(void *)*8));}'>>/tmp/platform.c
+ $c /tmp/platform.c -o /tmp/platform
+ PLATFORM=`/tmp/platform`
+ rm /tmp/platform /tmp/platform.c >/dev/null 2>&1
+--- a/bfp/bfp_LUSOL/ccc.osx
 b/bfp/bfp_LUSOL/ccc.osx
+@@ -1,13 +1,13 @@
+ :
+ src='../../shared/commonlib.c ../../colamd/colamd.c lp_LUSOL.c 
../../lp_utils.c ../../shared/myblas.c LUSOL/lusol.c'
+ 
+-c=cc
++c=${CC:-cc}
+ 
+ #determine platform (32/64 bit)
+ >/tmp/platform.c
+ echo '#include '>>/tmp/platform.c
+ echo '#include '>>/tmp/platform.c
+-echo 'main(){printf("osx%d", (int) (sizeof(void *)*8));}'>>/tmp/platform.c
++echo 'int main(){printf("osx%d", (int) (sizeof(void *)*8));}'>>/tmp/platform.c
+ $c /tmp/platform.c -o /tmp/platform
+ PLATFORM=`/tmp/platform`
+ rm /tmp/platform /tmp/platform.c >/dev/null 2>&1
+--- a/demo/ccc
 b/demo/ccc
+@@ -1,6 +1,5 @@
+ src='../lp_MDO.c ../shared/commonlib.c ../colamd/colamd.c ../shared/mmio.c 
../shared/myblas.c ../ini.c ../lp_rlp.c ../lp_crash.c 
../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c 
../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c 
../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c 
../lp_simplex.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c'
+-c=cc
+-
++c=${CC:-cc}
+ math=-lm
+ 
+ def=
+--- a/demo/ccc.osx
 b/demo/ccc.osx
+@@ -1,5 +1,5 @@
+ src='../bfp/lp_MDO.c ../commonlib.c ../myblas.c ../colamd/colamd.c ../ini.c 
../fortify.c ../lp_rlp.c ../lp_crash.c ../bfp/bfp_etaPFI/lp_etaPFI.c 
../lp_Hash.c ../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c 
../lp_params.c ../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c 
../lp_scale.c ../lp_simplex.c demo.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c'
+-c=cc
++c=${CC:-cc}
+ 
+ math=-lm
+ 
+--- a/lp_solve/ccc
 b/lp_solve/ccc
+@@ -1,6 +1,6 @@
+ :
+ src='../lp_MDO.c ../shared/commonlib.c ../colamd/colamd.c ../shared/mmio.c 
../shared/myblas.c ../ini.c ../fortify.c ../lp_rlp.c ../lp_crash.c 
../bfp/bfp_LUSOL/lp_LUSOL.c ../bfp/bfp_LUSOL/LUSOL/lusol.c ../lp_Hash.c 
../lp_lib.c ../lp_wlp.c ../lp_matrix.c ../lp_mipbb.c ../lp_MPS.c ../lp_params.c 
../lp_presolve.c ../lp_price.c ../lp_pricePSE.c ../lp_report.c ../lp_scale.c 
../lp_simplex.c lp_solve.c ../lp_SOS.c ../lp_utils.c ../yacc_read.c'
+-c=cc
++c=${CC:-cc}
+ 
+ MYTMP=`mktemp -d "${TMPDIR:-/tmp}"/lp_solve_XX`
+ 
+@@ -8,7 +8,7 @@ MYTMP=`mktemp -d "${TMPDIR:-/tmp}"/lp_solve_XX`
+ >"$MYTMP"/platform.c
+ echo '#include '>>"$MYTMP"/platform.c
+ echo '#include '>>"$MYTMP"/platform.c
+-echo 'main(){printf("ux%d", (int) (sizeof(void *)*8));}'>>"$MYTMP"/platform.c
++echo 'int main(){printf("ux%d", (int) (sizeof(void 
*)*8));}'>>"$MYTMP"/platform.c
+ $c "$MYTMP"/platform.c -o "$MYTMP"/platform
+ 

[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/lpsolve/

2022-08-12 Thread WANG Xuerui
commit: b3cd34da80e95d6e3226044c5619cd575264aba9
Author: WANG Xuerui  gentoo  org>
AuthorDate: Fri Aug 12 07:50:16 2022 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Fri Aug 12 12:24:47 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b3cd34da

sci-mathematics/lpsolve: keyword 5.5.2.0-r1 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 sci-mathematics/lpsolve/lpsolve-5.5.2.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-mathematics/lpsolve/lpsolve-5.5.2.0-r1.ebuild 
b/sci-mathematics/lpsolve/lpsolve-5.5.2.0-r1.ebuild
index 4bfa870fa6cb..00511e365804 100644
--- a/sci-mathematics/lpsolve/lpsolve-5.5.2.0-r1.ebuild
+++ b/sci-mathematics/lpsolve/lpsolve-5.5.2.0-r1.ebuild
@@ -9,7 +9,7 @@ 
SRC_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.xz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~loong ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
 
 DEPEND="sci-libs/colamd"
 RDEPEND="${DEPEND}"



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/lpsolve/

2022-06-21 Thread David Seifert
commit: 3a1c3a624c728032dfed4476f996acf6f70d3d75
Author: David Seifert  gentoo  org>
AuthorDate: Tue Jun 21 16:29:42 2022 +
Commit: David Seifert  gentoo  org>
CommitDate: Tue Jun 21 16:29:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a1c3a62

sci-mathematics/lpsolve: update EAPI 6 -> 8

Signed-off-by: David Seifert  gentoo.org>

 ...{lpsolve-5.5.2.0.ebuild => lpsolve-5.5.2.0-r1.ebuild} | 16 +++-
 1 file changed, 3 insertions(+), 13 deletions(-)

diff --git a/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild 
b/sci-mathematics/lpsolve/lpsolve-5.5.2.0-r1.ebuild
similarity index 62%
rename from sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild
rename to sci-mathematics/lpsolve/lpsolve-5.5.2.0-r1.ebuild
index 3a153685d29b..4bfa870fa6cb 100644
--- a/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild
+++ b/sci-mathematics/lpsolve/lpsolve-5.5.2.0-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
 DESCRIPTION="Mixed Integer Linear Programming (MILP) solver"
 HOMEPAGE="https://sourceforge.net/projects/lpsolve/;
@@ -10,21 +10,11 @@ 
SRC_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.xz;
 LICENSE="LGPL-2.1"
 SLOT="0"
 KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
-IUSE="static-libs"
 
 DEPEND="sci-libs/colamd"
 RDEPEND="${DEPEND}"
 
-src_configure() {
-   econf \
-   $(use_enable static-libs static)
-}
-
 src_install() {
default
-
-   # required because it does not provide .pc file
-   if ! use static-libs; then
-   find "${D}" -name '*.la' -delete || die
-   fi
+   find "${ED}" -name '*.la' -delete || die
 }



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/lpsolve/

2021-11-18 Thread Georgy Yakovlev
commit: 201007b49509a4cfe0a7c0905939a22743bdba52
Author: Georgy Yakovlev  gentoo  org>
AuthorDate: Thu Nov 18 23:44:42 2021 +
Commit: Georgy Yakovlev  gentoo  org>
CommitDate: Thu Nov 18 23:50:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=201007b4

sci-mathematics/lpsolve: de-stabilize for ~ppc, bug #823768

Bug: https://bugs.gentoo.org/823768
Signed-off-by: Georgy Yakovlev  gentoo.org>

 sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild 
b/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild
index 6ea531bf763f..3a153685d29b 100644
--- a/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild
+++ b/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -9,7 +9,7 @@ 
SRC_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.xz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="amd64 ~arm arm64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE="static-libs"
 
 DEPEND="sci-libs/colamd"



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/lpsolve/

2019-07-30 Thread Aaron Bauman
commit: d102ab07003d3e6031ad478901f590a1a2e8ddd0
Author: Aaron Bauman  gentoo  org>
AuthorDate: Tue Jul 30 22:40:29 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Tue Jul 30 22:40:53 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d102ab07

sci-mathematics/lpsolve: arm64 stable

Signed-off-by: Aaron Bauman  gentoo.org>
Package-Manager: Portage-2.3.69, Repoman-2.3.16
RepoMan-Options: --include-arches="arm64"

 sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild 
b/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild
index 5de810343b2..6ea531bf763 100644
--- a/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild
+++ b/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -9,7 +9,7 @@ 
SRC_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.xz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm arm64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE="static-libs"
 
 DEPEND="sci-libs/colamd"



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/lpsolve/

2018-05-27 Thread David Seifert
commit: 45e8a9d6dbbd8e18332f8b500fdb97ae7c9a4648
Author: David Seifert  gentoo  org>
AuthorDate: Sun May 27 07:36:39 2018 +
Commit: David Seifert  gentoo  org>
CommitDate: Sun May 27 07:54:19 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45e8a9d6

sci-mathematics/lpsolve: Port to EAPI 6

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild | 12 +++-
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild 
b/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild
index dd828ca40d5..5de810343b2 100644
--- a/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild
+++ b/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=6
 
 DESCRIPTION="Mixed Integer Linear Programming (MILP) solver"
 HOMEPAGE="https://sourceforge.net/projects/lpsolve/;
@@ -17,12 +17,14 @@ RDEPEND="${DEPEND}"
 
 src_configure() {
econf \
-   $(use_enable static-libs static) \
-   --docdir="${EPREFIX}/usr/share/doc/${PF}"
+   $(use_enable static-libs static)
 }
 
 src_install() {
default
+
# required because it does not provide .pc file
-   use static-libs || find "${ED}" -name '*.la' -exec rm -f {} +
+   if ! use static-libs; then
+   find "${D}" -name '*.la' -delete || die
+   fi
 }



[gentoo-commits] repo/gentoo:master commit in: sci-mathematics/lpsolve/

2017-08-27 Thread Michael Palimaka
commit: 9a47337415513f12d068e87f9f7681b8cfc53afa
Author: Roy Bamford  gentoo  org>
AuthorDate: Sun Aug 20 21:37:55 2017 +
Commit: Michael Palimaka  gentoo  org>
CommitDate: Sun Aug 27 15:34:02 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a473374

sci-mathematics/lpsolve: added ~arm64 keyword

Package-Manager: Portage-2.3.8, Repoman-2.3.3

 sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild 
b/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild
index b5d43145ba4..dd828ca40d5 100644
--- a/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild
+++ b/sci-mathematics/lpsolve/lpsolve-5.5.2.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=4
@@ -9,7 +9,7 @@ 
SRC_URI="http://dev.gentooexperimental.org/~scarabeus/${P}.tar.xz;
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-KEYWORDS="amd64 ~arm ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
+KEYWORDS="amd64 ~arm ~arm64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux"
 IUSE="static-libs"
 
 DEPEND="sci-libs/colamd"