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 62922158086 for ; Mon, 29 Nov 2021 11:41:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7A3B42BC036; Mon, 29 Nov 2021 11:41:37 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9BB332BC036 for ; Mon, 29 Nov 2021 11:41:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 58E81342D00 for ; Mon, 29 Nov 2021 11:41:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 98F181C1 for ; Mon, 29 Nov 2021 11:41:32 +0000 (UTC) From: "Martin Mokrejs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Martin Mokrejs" Message-ID: <1638186076.5db6563203432be7454b285bba50fc79daaac21d.mmokrejs@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-biology/LINKS/ X-VCS-Repository: proj/sci X-VCS-Files: sci-biology/LINKS/LINKS-1.8.7.ebuild X-VCS-Directories: sci-biology/LINKS/ X-VCS-Committer: mmokrejs X-VCS-Committer-Name: Martin Mokrejs X-VCS-Revision: 5db6563203432be7454b285bba50fc79daaac21d X-VCS-Branch: master Date: Mon, 29 Nov 2021 11:41:32 +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: 5676b676-f93a-4452-a111-46e6b099123d X-Archives-Hash: 1284664ff36ec595525e223a076c27ff commit: 5db6563203432be7454b285bba50fc79daaac21d Author: Martin Mokrejs gmail com> AuthorDate: Mon Nov 29 11:41:16 2021 +0000 Commit: Martin Mokrejs fold natur cuni cz> CommitDate: Mon Nov 29 11:41:16 2021 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=5db65632 sci-biology/LINKS: remove keywords This package is supposed to be executed from within compiled source tree. See comments in the ebuild what needs to be fixed. https://github.com/bcgsc/LINKS/pull/59 https://github.com/bcgsc/LINKS/issues/31 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Martin Mokrejs gmail.com> sci-biology/LINKS/LINKS-1.8.7.ebuild | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/sci-biology/LINKS/LINKS-1.8.7.ebuild b/sci-biology/LINKS/LINKS-1.8.7.ebuild index 5009e9922..898898b94 100644 --- a/sci-biology/LINKS/LINKS-1.8.7.ebuild +++ b/sci-biology/LINKS/LINKS-1.8.7.ebuild @@ -9,17 +9,42 @@ SRC_URI="https://github.com/bcgsc/LINKS/archive/refs/tags/v${PV}.tar.gz -> ${P}. LICENSE="GPL-3" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="" RESTRICT="test" RDEPEND=" >=dev-lang/perl-1.6 dev-lang/swig - sci-biology/btl_bloomfilter + dev-util/cppcheck " +# sci-biology/btl_bloomfilter + +src_compile(){ + cd btllib | die "Cannot chdir to bundled btllib/" + ./compile-wrappers || die "Failed to compile bundled btllib" + # baah, this also does some kind of install + # SUCCESS: sdsl was installed successfully! + # The sdsl include files are located in $foo'/LINKS/btllib/external/sdsl-lite/installdir/include'. + # The library files are located in $foo'/LINKS/btllib/external/sdsl-lite/installdir/lib'. + # + # Sample programs can be found in the examples-directory. + # A program 'example.cpp' can be compiled with the command: + # g++ -std=c++11 -DNDEBUG -O3 [-msse4.2] \ + # -I$foo/LINKS/btllib/external/sdsl-lite/installdir/include -L$foo/LINKS/btllib/external/sdsl-lite/installdir/lib \ + # example.cpp -lsdsl -ldivsufsort -ldivsufsort64 + # + # Tests in the test-directory + # A cheat sheet in the extras/cheatsheet-directory. + # Have fun! + # [2/3] Installing files. + # Installing extras/python/_btllib.so to $foo/LINKS/btllib/python + # Installing $foo/LINKS/btllib/extras/python/btllib.py to $foo/LINKS/btllib/python +} src_install(){ - dobin bin/LINKS *.pl releases/links_v1.8.5/tools/*.pl + sed -e 's#$(bin)/../src/##' -i bin/LINKS-make || die + sed -e 's#perl $(bin)/##' -i bin/LINKS-make || die + dobin bin/LINKS bin/LINKS-make src/LINKS_CPP bin/*.pl tools/*.pl dodoc README.md }