public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-libs/spams-python/
@ 2018-09-04  9:40 Horea Christian
  0 siblings, 0 replies; 5+ messages in thread
From: Horea Christian @ 2018-09-04  9:40 UTC (permalink / raw
  To: gentoo-commits

commit:     49bf91cb6d8c71e1589dd9240ebf46d12181401b
Author:     Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Tue Sep  4 09:39:50 2018 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Tue Sep  4 09:39:50 2018 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=49bf91cb

sci-libs/spams-python: new package

Package-Manager: Portage-2.3.48, Repoman-2.3.10

 sci-libs/spams-python/metadata.xml            | 24 ++++++++++++
 sci-libs/spams-python/spams-python-2.6.ebuild | 55 +++++++++++++++++++++++++++
 2 files changed, 79 insertions(+)

diff --git a/sci-libs/spams-python/metadata.xml b/sci-libs/spams-python/metadata.xml
new file mode 100644
index 000000000..d1fbb3db3
--- /dev/null
+++ b/sci-libs/spams-python/metadata.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>horea.christ@gmail.com</email>
+		<name>Horea Christian</name>
+	</maintainer>
+	<maintainer type="project">
+		<email>sci@gentoo.org</email>
+		<name>Gentoo Science Project</name>
+	</maintainer>
+	<longdescription lang="en">
+		SPAMS (SPArse Modeling Software) is an optimization toolbox for solving
+		various sparse estimation problems, such as: Dictionary learning and
+		matrix factorization (NMF, sparse PCA, ...); solving sparse decomposition
+		problems with LARS, coordinate descent, OMP, SOMP, proximal methods; and 
+		Solving structured sparse decomposition problems (l1/l2, l1/linf, sparse
+		group lasso, tree-structured regularization, structured sparsity with
+		overlapping groups,...). 
+	</longdescription>
+	<upstream>
+		<remote-id type="github">samuelstjean/spams-python</remote-id>
+	</upstream>
+</pkgmetadata>

diff --git a/sci-libs/spams-python/spams-python-2.6.ebuild b/sci-libs/spams-python/spams-python-2.6.ebuild
new file mode 100644
index 000000000..eb5d40777
--- /dev/null
+++ b/sci-libs/spams-python/spams-python-2.6.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+
+inherit distutils-r1 toolchain-funcs
+
+DESCRIPTION="Optimization toolbox for solving various sparse estimation problems"
+HOMEPAGE="http://spams-devel.gforge.inria.fr/index.html"
+SRC_URI="https://github.com/samuelstjean/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64"
+
+DEPEND="
+	dev-python/numpy[${PYTHON_USEDEP}]
+	virtual/blas
+	virtual/lapack
+	"
+RDEPEND="${DEPEND}
+	sci-libs/scipy[${PYTHON_USEDEP}]
+	"
+
+pc_libdir() {
+	$(tc-getPKG_CONFIG) --libs-only-L $@ | \
+		sed -e 's/^-L//' -e 's/[ ]*-L/:/g' -e 's/[ ]*$//' -e 's|^,||'
+}
+
+pc_libs() {
+	$(tc-getPKG_CONFIG) --libs-only-l $@ | \
+		sed -e 's/[ ]-l*\(pthread\|m\)\([ ]\|$\)//g' \
+		-e 's/^-l//' -e 's/[ ]*-l/,/g' -e 's/[ ]*$//' \
+		| tr ',' '\n' | sort -u | tr '\n' ',' | sed -e 's|,$||'
+}
+pkg_pretend() {
+	[[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
+}
+
+pkg_setup() {
+	[[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
+}
+
+python_prepare_all() {
+	local libdir="${EPREFIX}"/usr/$(get_libdir)
+	MY_LAPACK=$(pc_libs lapack)
+	MY_BLAS=$(pc_libs blas)
+	MY_LIBDIRS="$(pc_libdir blas lapack)'${libdir}'"
+	sed -i -e "s/'blas', 'lapack'/'${MY_BLAS}', '${MY_LAPACK}'/g" setup.py || die
+	sed -i -e "s|libdirs = \[\]|libdirs = [${MY_LIBDIRS}]|g" setup.py || die
+	distutils-r1_python_prepare_all
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/spams-python/
@ 2018-09-05 20:38 Horea Christian
  0 siblings, 0 replies; 5+ messages in thread
From: Horea Christian @ 2018-09-05 20:38 UTC (permalink / raw
  To: gentoo-commits

commit:     39b8dc99e86cc829993ca05afa139a8a72efeb20
Author:     Horea Christian <horea.christ <AT> yandex <DOT> com>
AuthorDate: Wed Sep  5 19:57:19 2018 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Wed Sep  5 19:57:19 2018 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=39b8dc99

sci-libs/spams-python: added test suite

Package-Manager: Portage-2.3.48, Repoman-2.3.10

 sci-libs/spams-python/spams-python-2.6.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/sci-libs/spams-python/spams-python-2.6.ebuild b/sci-libs/spams-python/spams-python-2.6.ebuild
index eb5d40777..59a809762 100644
--- a/sci-libs/spams-python/spams-python-2.6.ebuild
+++ b/sci-libs/spams-python/spams-python-2.6.ebuild
@@ -53,3 +53,7 @@ python_prepare_all() {
 	sed -i -e "s|libdirs = \[\]|libdirs = [${MY_LIBDIRS}]|g" setup.py || die
 	distutils-r1_python_prepare_all
 }
+
+python_test() {
+	${EPYTHON} test_spams.py
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/spams-python/
@ 2020-03-24  8:20 Horea Christian
  0 siblings, 0 replies; 5+ messages in thread
From: Horea Christian @ 2020-03-24  8:20 UTC (permalink / raw
  To: gentoo-commits

commit:     210304622e8df7e46d42f92bccfcf8831d8bb0f1
Author:     Horea Christian <chr <AT> chymera <DOT> eu>
AuthorDate: Tue Mar 24 08:20:34 2020 +0000
Commit:     Horea Christian <horea.christ <AT> gmail <DOT> com>
CommitDate: Tue Mar 24 08:20:34 2020 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=21030462

sci-libs/spams-python: PYTHON_COMPAT update to 3_7

Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Horea Christian <chr <AT> chymera.eu>

 sci-libs/spams-python/spams-python-2.6.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/spams-python/spams-python-2.6.ebuild b/sci-libs/spams-python/spams-python-2.6.ebuild
index 59a809762..35dd8463c 100644
--- a/sci-libs/spams-python/spams-python-2.6.ebuild
+++ b/sci-libs/spams-python/spams-python-2.6.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
+PYTHON_COMPAT=( python3_{6,7} )
 
 inherit distutils-r1 toolchain-funcs
 


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/spams-python/
@ 2021-01-20  9:48 Andrew Ammerlaan
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Ammerlaan @ 2021-01-20  9:48 UTC (permalink / raw
  To: gentoo-commits

commit:     e4f65feaa95b25f541573d824e9afb03e195f7cb
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Wed Jan 20 09:48:22 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Wed Jan 20 09:48:22 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=e4f65fea

sci-libs/spams-python: bump python targets

fails to compile without openblas

Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 .../{spams-python-2.6.ebuild => spams-python-2.6.2.ebuild}       | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/sci-libs/spams-python/spams-python-2.6.ebuild b/sci-libs/spams-python/spams-python-2.6.2.ebuild
similarity index 89%
rename from sci-libs/spams-python/spams-python-2.6.ebuild
rename to sci-libs/spams-python/spams-python-2.6.2.ebuild
index f1ad8811e..99b1e6370 100644
--- a/sci-libs/spams-python/spams-python-2.6.ebuild
+++ b/sci-libs/spams-python/spams-python-2.6.2.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=7
 
-PYTHON_COMPAT=( python3_{6,7} )
+PYTHON_COMPAT=( python3_{7,8,9} )
 
 inherit distutils-r1 toolchain-funcs
 
@@ -13,12 +13,13 @@ SRC_URI="https://github.com/samuelstjean/${PN}/archive/v${PV}.tar.gz -> ${P}.tar
 
 LICENSE="GPL-3"
 SLOT="0"
-IUSE=""
 KEYWORDS="~amd64"
 
 DEPEND="
+	dev-python/distro[${PYTHON_USEDEP}]
 	dev-python/numpy[${PYTHON_USEDEP}]
-	virtual/blas
+	dev-python/pillow[${PYTHON_USEDEP}]
+	sci-libs/openblas
 	virtual/lapack
 	"
 RDEPEND="${DEPEND}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/spams-python/
@ 2023-05-02 12:15 Andrew Ammerlaan
  0 siblings, 0 replies; 5+ messages in thread
From: Andrew Ammerlaan @ 2023-05-02 12:15 UTC (permalink / raw
  To: gentoo-commits

commit:     a4b9f3cdcd6df3f286acba2808d6ecc1daeefeae
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue May  2 12:13:46 2023 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue May  2 12:15:27 2023 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=a4b9f3cd

sci-libs/spams-python: treeclean

Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sci-libs/spams-python/metadata.xml              | 24 ----------
 sci-libs/spams-python/spams-python-2.6.2.ebuild | 60 -------------------------
 2 files changed, 84 deletions(-)

diff --git a/sci-libs/spams-python/metadata.xml b/sci-libs/spams-python/metadata.xml
deleted file mode 100644
index 4cb1814dc..000000000
--- a/sci-libs/spams-python/metadata.xml
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-	<maintainer type="person">
-		<email>gentoo@chymera.eu</email>
-		<name>Horea Christian</name>
-	</maintainer>
-	<maintainer type="project">
-		<email>sci@gentoo.org</email>
-		<name>Gentoo Science Project</name>
-	</maintainer>
-	<longdescription lang="en">
-		SPAMS (SPArse Modeling Software) is an optimization toolbox for solving
-		various sparse estimation problems, such as: Dictionary learning and
-		matrix factorization (NMF, sparse PCA, ...); solving sparse decomposition
-		problems with LARS, coordinate descent, OMP, SOMP, proximal methods; and 
-		Solving structured sparse decomposition problems (l1/l2, l1/linf, sparse
-		group lasso, tree-structured regularization, structured sparsity with
-		overlapping groups,...). 
-	</longdescription>
-	<upstream>
-		<remote-id type="github">samuelstjean/spams-python</remote-id>
-	</upstream>
-</pkgmetadata>

diff --git a/sci-libs/spams-python/spams-python-2.6.2.ebuild b/sci-libs/spams-python/spams-python-2.6.2.ebuild
deleted file mode 100644
index 99b1e6370..000000000
--- a/sci-libs/spams-python/spams-python-2.6.2.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7,8,9} )
-
-inherit distutils-r1 toolchain-funcs
-
-DESCRIPTION="Optimization toolbox for solving various sparse estimation problems"
-HOMEPAGE="http://spams-devel.gforge.inria.fr/index.html"
-SRC_URI="https://github.com/samuelstjean/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-3"
-SLOT="0"
-KEYWORDS="~amd64"
-
-DEPEND="
-	dev-python/distro[${PYTHON_USEDEP}]
-	dev-python/numpy[${PYTHON_USEDEP}]
-	dev-python/pillow[${PYTHON_USEDEP}]
-	sci-libs/openblas
-	virtual/lapack
-	"
-RDEPEND="${DEPEND}
-	dev-python/scipy[${PYTHON_USEDEP}]
-	"
-
-pc_libdir() {
-	$(tc-getPKG_CONFIG) --libs-only-L $@ | \
-		sed -e 's/^-L//' -e 's/[ ]*-L/:/g' -e 's/[ ]*$//' -e 's|^,||'
-}
-
-pc_libs() {
-	$(tc-getPKG_CONFIG) --libs-only-l $@ | \
-		sed -e 's/[ ]-l*\(pthread\|m\)\([ ]\|$\)//g' \
-		-e 's/^-l//' -e 's/[ ]*-l/,/g' -e 's/[ ]*$//' \
-		| tr ',' '\n' | sort -u | tr '\n' ',' | sed -e 's|,$||'
-}
-pkg_pretend() {
-	[[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
-}
-
-pkg_setup() {
-	[[ ${MERGE_TYPE} != binary ]] && tc-check-openmp
-}
-
-python_prepare_all() {
-	local libdir="${EPREFIX}"/usr/$(get_libdir)
-	MY_LAPACK=$(pc_libs lapack)
-	MY_BLAS=$(pc_libs blas)
-	MY_LIBDIRS="$(pc_libdir blas lapack)'${libdir}'"
-	sed -i -e "s/'blas', 'lapack'/'${MY_BLAS}', '${MY_LAPACK}'/g" setup.py || die
-	sed -i -e "s|libdirs = \[\]|libdirs = [${MY_LIBDIRS}]|g" setup.py || die
-	distutils-r1_python_prepare_all
-}
-
-python_test() {
-	${EPYTHON} test_spams.py
-}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2023-05-02 12:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-24  8:20 [gentoo-commits] proj/sci:master commit in: sci-libs/spams-python/ Horea Christian
  -- strict thread matches above, loose matches on Subject: below --
2023-05-02 12:15 Andrew Ammerlaan
2021-01-20  9:48 Andrew Ammerlaan
2018-09-05 20:38 Horea Christian
2018-09-04  9:40 Horea Christian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox