public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: sci-biology/geneathome/
@ 2021-05-24  7:31 Andrew Ammerlaan
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Ammerlaan @ 2021-05-24  7:31 UTC (permalink / raw
  To: gentoo-commits

commit:     9416908e00d4d16ddc42a5e138b4fbbf65e467bc
Author:     Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sat May 22 18:02:36 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sat May 22 19:06:52 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9416908e

sci-biology/geneathome: fix unpack

Closes: https://bugs.gentoo.org/791409
Signed-off-by: Anna Vyalkova <cyber+gentoo <AT> sysrq.in>

 sci-biology/geneathome/geneathome-1.10.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-biology/geneathome/geneathome-1.10.ebuild b/sci-biology/geneathome/geneathome-1.10.ebuild
index 10a169916..1c7b336d6 100644
--- a/sci-biology/geneathome/geneathome-1.10.ebuild
+++ b/sci-biology/geneathome/geneathome-1.10.ebuild
@@ -15,7 +15,7 @@ DESCRIPTION="BOINC application for expanding Gene Regulatory Networks (GRN)"
 HOMEPAGE="http://gene.disi.unitn.it/test/genehome https://bitbucket.org/francesco-asnicar/pc-boinc"
 SRC_URI="https://github.com/BOINC/boinc/archive/client_release/${BOINC_RELEASE}/${BOINC_VER}.tar.gz -> boinc-${BOINC_VER}.tar.gz
 	https://bitbucket.org/francesco-asnicar/${MY_PN}/get/${COMMIT}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/boinc-client_release-${BOINC_RELEASE}-${BOINC_VER}/samples/francesco-asnicar-${MY_PN}-${COMMIT}"
+S="${WORKDIR}/boinc-client_release-${BOINC_RELEASE}-${BOINC_VER}/samples/${PN}"
 
 LICENSE="sunpro public-domain"
 SLOT="0"
@@ -34,7 +34,7 @@ DOCS=( Readme.md )
 
 src_unpack() {
 	default
-	mv "${WORKDIR}/francesco-asnicar-${MY_PN}-${COMMIT}" "${S}" || die
+	mv "${WORKDIR}"/francesco-asnicar-* "${S}" || die
 }
 
 src_prepare() {


^ permalink raw reply related	[flat|nested] 2+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: sci-biology/geneathome/
@ 2021-07-26 14:05 Andrew Ammerlaan
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Ammerlaan @ 2021-07-26 14:05 UTC (permalink / raw
  To: gentoo-commits

commit:     01a79910e0f3a02a28cb1370b18fb59f58b7c035
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Sun Jul 25 18:10:25 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Sun Jul 25 18:14:26 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=01a79910

sci-biology/geneathome: require in-source build

config.h was present somehow in my /usr/include/boinc so I didn't notice
the bug. Should be fixed now.

Closes: https://bugs.gentoo.org/803893
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 .../{geneathome-1.10-r1.ebuild => geneathome-1.10-r2.ebuild}   | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/sci-biology/geneathome/geneathome-1.10-r1.ebuild b/sci-biology/geneathome/geneathome-1.10-r2.ebuild
similarity index 88%
rename from sci-biology/geneathome/geneathome-1.10-r1.ebuild
rename to sci-biology/geneathome/geneathome-1.10-r2.ebuild
index 26315147c..43ec78723 100644
--- a/sci-biology/geneathome/geneathome-1.10-r1.ebuild
+++ b/sci-biology/geneathome/geneathome-1.10-r2.ebuild
@@ -3,6 +3,7 @@
 
 EAPI=8
 
+BOINC_SUBMODULE="samples/${PN}"
 BOINC_MASTER_URL="https://gene.disi.unitn.it/test/"
 BOINC_INVITATION_CODE="science@tn"
 BOINC_HELPTEXT=\
@@ -16,7 +17,7 @@ COMMIT="3186afba409a"
 DESCRIPTION="BOINC application for expanding Gene Regulatory Networks (GRN)"
 HOMEPAGE+=" https://bitbucket.org/francesco-asnicar/pc-boinc"
 SRC_URI="https://bitbucket.org/francesco-asnicar/${MY_PN}/get/${COMMIT}.tar.gz -> ${P}.tar.gz"
-S="${WORKDIR}/francesco-asnicar-pc-boinc-${COMMIT}"
+BOINC_S="francesco-asnicar-${MY_PN}-${COMMIT}"
 
 LICENSE="sunpro public-domain"
 SLOT="0"
@@ -31,8 +32,11 @@ DOCS=( Readme.md )
 
 boinc-app_add_deps
 
+boinc_require_source 7.16.16
+boinc_enable_autotools
+
 src_prepare() {
-	default
+	boinc_src_prepare
 
 	# error: inlining failed in call to ‘always_inline’ ‘int fprintf(FILE*, const char*, ...)’: target specific option mismatch
 	sed  -i src/main.cpp \
@@ -42,7 +46,7 @@ src_prepare() {
 
 src_compile() {
 	tc-export CC CXX
-	emake BOINC_DIR=/usr/include/boinc -C src
+	emake -C src
 }
 
 src_test() {


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

end of thread, other threads:[~2021-07-26 14:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-05-24  7:31 [gentoo-commits] repo/proj/guru:master commit in: sci-biology/geneathome/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2021-07-26 14:05 Andrew Ammerlaan

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