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 52028138359 for ; Mon, 28 Sep 2020 00:46:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 22D42E080E; Mon, 28 Sep 2020 00:46:48 +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 012ADE080E for ; Mon, 28 Sep 2020 00:46:47 +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 99DFC33BDE5 for ; Mon, 28 Sep 2020 00:46:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1143C373 for ; Mon, 28 Sep 2020 00:46:45 +0000 (UTC) From: "Aisha Tammy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Aisha Tammy" Message-ID: <1601253851.06351d3139be034f67c6446819b8298fcd5e9bf1.epsilon-0@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/nexus/ X-VCS-Repository: proj/sci X-VCS-Files: sci-libs/nexus/nexus-4.4.3_p20200126.ebuild X-VCS-Directories: sci-libs/nexus/ X-VCS-Committer: epsilon-0 X-VCS-Committer-Name: Aisha Tammy X-VCS-Revision: 06351d3139be034f67c6446819b8298fcd5e9bf1 X-VCS-Branch: master Date: Mon, 28 Sep 2020 00:46:45 +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: 9a2343c4-edc0-448f-9659-0451ae5cfee3 X-Archives-Hash: 4a9f95b524a40775781625fd9d48362e commit: 06351d3139be034f67c6446819b8298fcd5e9bf1 Author: Aisha Tammy aisha cc> AuthorDate: Mon Sep 28 00:43:02 2020 +0000 Commit: Aisha Tammy aisha cc> CommitDate: Mon Sep 28 00:44:11 2020 +0000 URL: https://gitweb.gentoo.org/proj/sci.git/commit/?id=06351d31 sci-libs/nexus: version bump Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Aisha Tammy aisha.cc> sci-libs/nexus/nexus-4.4.3_p20200126.ebuild | 58 +++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/sci-libs/nexus/nexus-4.4.3_p20200126.ebuild b/sci-libs/nexus/nexus-4.4.3_p20200126.ebuild new file mode 100644 index 000000000..b19a65fbe --- /dev/null +++ b/sci-libs/nexus/nexus-4.4.3_p20200126.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake java-pkg-opt-2 + +DESCRIPTION="Data format for neutron and x-ray scattering data" +HOMEPAGE="http://nexusformat.org/" +COMMIT=5b803b3a0014bd9759b3d846da3cd3c1cfafd7d5 +SRC_URI="https://github.com/nexusformat/code/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" + +S="${WORKDIR}"/code-${COMMIT} + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64" +IUSE="cxx hdf4 +hdf5 java xml" + +REQUIRED_USE=" || ( hdf4 hdf5 xml ) " + +RDEPEND=" + dev-libs/libxml2 + sys-libs/readline + sys-libs/libtermcap-compat + xml? ( dev-libs/mxml ) + hdf4? ( sci-libs/hdf ) + hdf5? ( sci-libs/hdf5[zlib] ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + app-doc/doxygen[dot] +" + +pkg_setup() { + java-pkg-opt-2_pkg_setup +} + +src_prepare() { + java-pkg-opt-2_src_prepare + cmake_src_prepare +} + +src_configure() { + # no fortran, doesn't compile + local mycmakeargs=( + -DENABLE_APPS=ON + -DENABLE_CONTRIB=ON + -DENABLE_HDF4=$(usex hdf4) + -DENABLE_HDF5=$(usex hdf5) + -DENABLE_MXML=$(usex xml) + -DENABLE_CXX=$(usex cxx) + -DENABLE_FORTRAN90=NO + -DENABLE_FORTRAN77=NO + -DENABLE_JAVA=$(usex java) + ) + cmake_src_configure +}