From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 40F5815ACFC for ; Tue, 2 May 2023 12:15:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CB4F1E0897; Tue, 2 May 2023 12:15:45 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B065DE0897 for ; Tue, 2 May 2023 12:15:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C3BCD33FE49 for ; Tue, 2 May 2023 12:15:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4EC1BA6F for ; Tue, 2 May 2023 12:15:41 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1683029727.a4b9f3cdcd6df3f286acba2808d6ecc1daeefeae.andrewammerlaan@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/spams-python/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/spams-python/metadata.xml sci-libs/spams-python/spams-python-2.6.2.ebuild X-VCS-Directories: sci-libs/spams-python/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: a4b9f3cdcd6df3f286acba2808d6ecc1daeefeae X-VCS-Branch: master Date: Tue, 2 May 2023 12:15:41 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 83f51d06-442e-4533-b258-d2359d6f74f5 X-Archives-Hash: e9ade4e209691cac8e8ca1ee37d5bc08 commit: a4b9f3cdcd6df3f286acba2808d6ecc1daeefeae Author: Andrew Ammerlaan gentoo org> AuthorDate: Tue May 2 12:13:46 2023 +0000 Commit: Andrew Ammerlaan gentoo 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 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 @@ - - - - - gentoo@chymera.eu - Horea Christian - - - sci@gentoo.org - Gentoo Science Project - - - 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,...). - - - samuelstjean/spams-python - - 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 -}