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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A2C7513933E for ; Thu, 22 Jul 2021 08:29:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EA7D6E0BD8; Thu, 22 Jul 2021 08:29:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CE611E0BD8 for ; Thu, 22 Jul 2021 08:29:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A7364342B75 for ; Thu, 22 Jul 2021 08:29:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0AB737DF for ; Thu, 22 Jul 2021 08:29:33 +0000 (UTC) From: "Anna Vyalkova" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" Message-ID: <1626942460.ebfbbbfb7472a0b6e67e5630f1da90e074158e55.cybertailor@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sci-biology/geneathome/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sci-biology/geneathome/geneathome-1.10-r1.ebuild X-VCS-Directories: sci-biology/geneathome/ X-VCS-Committer: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: ebfbbbfb7472a0b6e67e5630f1da90e074158e55 X-VCS-Branch: dev Date: Thu, 22 Jul 2021 08:29:33 +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: 4a105aec-2be9-4db0-969f-bbab58614151 X-Archives-Hash: 2e287f9ac4596e45a5b32860333a2fee commit: ebfbbbfb7472a0b6e67e5630f1da90e074158e55 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Thu Jul 22 08:13:47 2021 +0000 Commit: Anna Vyalkova sysrq in> CommitDate: Thu Jul 22 08:27:40 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ebfbbbfb sci-biology/geneathome: revbump (new eclass) Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> sci-biology/geneathome/geneathome-1.10-r1.ebuild | 59 ++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/sci-biology/geneathome/geneathome-1.10-r1.ebuild b/sci-biology/geneathome/geneathome-1.10-r1.ebuild new file mode 100644 index 000000000..26315147c --- /dev/null +++ b/sci-biology/geneathome/geneathome-1.10-r1.ebuild @@ -0,0 +1,59 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +BOINC_MASTER_URL="https://gene.disi.unitn.it/test/" +BOINC_INVITATION_CODE="science@tn" +BOINC_HELPTEXT=\ +"gene@home is a part of TN-Grid BOINC project." + +inherit boinc boinc-app toolchain-funcs + +MY_PN="pc-boinc" +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}" + +LICENSE="sunpro public-domain" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +DEPEND="app-arch/bzip2" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}"/makefile.patch ) + +DOCS=( Readme.md ) + +boinc-app_add_deps + +src_prepare() { + default + + # error: inlining failed in call to ‘always_inline’ ‘int fprintf(FILE*, const char*, ...)’: target specific option mismatch + sed -i src/main.cpp \ + -e 's/stdio.h/iostream/' \ + -e 's/fprintf(stderr, \(.*\))/std::cerr << \1/g' || die +} + +src_compile() { + tc-export CC CXX + emake BOINC_DIR=/usr/include/boinc -C src +} + +src_test() { + bash ./test_run.sh || die + bash ./test_run2.sh || die +} + +src_install() { + doappinfo "${FILESDIR}"/app_info.xml + + exeinto $(get_project_root) + exeopts -m 0755 --owner boinc --group boinc + newexe bin/pc "gene_pcim_v${PV}" +}