public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andrew Ammerlaan" <andrewammerlaan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sci:master commit in: sci-libs/iRODS/
Date: Mon, 24 Jan 2022 19:51:14 +0000 (UTC)	[thread overview]
Message-ID: <1643053867.c45a7b7ab3469fbd9df024fd8dc790d612f2d00c.andrewammerlaan@gentoo> (raw)

commit:     c45a7b7ab3469fbd9df024fd8dc790d612f2d00c
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 24 19:51:07 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Mon Jan 24 19:51:07 2022 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=c45a7b7a

sci-libs/iRODS: bump to 4.2.11

Finally the configure phase passes

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sci-libs/iRODS/iRODS-4.2.11.ebuild | 76 ++++++++++++++++++++++++++++++++++++++
 sci-libs/iRODS/iRODS-4.2.8.ebuild  | 20 ----------
 2 files changed, 76 insertions(+), 20 deletions(-)

diff --git a/sci-libs/iRODS/iRODS-4.2.11.ebuild b/sci-libs/iRODS/iRODS-4.2.11.ebuild
new file mode 100644
index 000000000..849a7c509
--- /dev/null
+++ b/sci-libs/iRODS/iRODS-4.2.11.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake llvm
+
+MESSAGING_COMMIT="24c73702c88e94c3b159dac97fe7a0640dfc209d"
+
+DESCRIPTION="Integrated Rule Oriented Data System, a data management software"
+HOMEPAGE="https://irods.org"
+SRC_URI="
+	https://github.com/irods/irods/archive/${PV}.tar.gz -> ${P}.tar.gz
+	https://github.com/irods/irods_schema_messaging/archive/${MESSAGING_COMMIT}.tar.gz -> ${P}_schema_messaging.tar.gz
+"
+S="${WORKDIR}/irods-${PV}"
+
+LICENSE="BSD"
+SLOT="0"
+# need the c++ version of avro
+KEYWORDS=""
+
+DEPEND="
+	app-arch/libarchive
+	dev-cpp/catch:0
+	dev-libs/avro-c
+	dev-libs/boost:=
+	dev-libs/jansson
+	dev-libs/json-c
+	dev-libs/libfmt
+	dev-libs/openssl
+	dev-libs/spdlog
+	sys-libs/libcxx
+	sys-libs/pam
+	net-libs/cppzmq
+	net-libs/zeromq
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+	sys-devel/clang
+"
+
+src_unpack() {
+	default
+	mv "${WORKDIR}/irods_schema_messaging-${MESSAGING_COMMIT}/v1" "${S}/irods_schema_messaging/" || die
+}
+
+src_prepare() {
+	cmake_src_prepare
+	# use the correct lib dir
+	find . -name "CMakeLists.txt" -exec sed -i \
+		-e '/${IRODS_EXTERNALS_FULLPATH_.*}/s/\/lib\//\/lib64\//g' \
+		{} + || die
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DIRODS_EXTERNALS_FULLPATH_CLANG="$(get_llvm_prefix)"
+		-DIRODS_EXTERNALS_FULLPATH_CLANG_RUNTIME="$(get_llvm_prefix)"
+		-DIRODS_EXTERNALS_FULLPATH_ARCHIVE="${EPREFIX}/usr"
+		-DIRODS_EXTERNALS_FULLPATH_AVRO="${EPREFIX}/usr"
+		-DIRODS_EXTERNALS_FULLPATH_BOOST="${EPREFIX}/usr"
+		-DIRODS_EXTERNALS_FULLPATH_CATCH2="${EPREFIX}/usr"
+		-DIRODS_EXTERNALS_FULLPATH_FMT="${EPREFIX}/usr"
+		-DIRODS_EXTERNALS_FULLPATH_ZMQ="${EPREFIX}/usr"
+		-DIRODS_EXTERNALS_FULLPATH_JANSSON="${EPREFIX}/usr"
+		-DIRODS_EXTERNALS_FULLPATH_SPDLOG="${EPREFIX}/usr"
+		-DIRODS_EXTERNALS_FULLPATH_CPPZMQ="${EPREFIX}/usr"
+		-DIRODS_EXTERNALS_FULLPATH_JSON="${EPREFIX}/usr"
+		-DIRODS_EXTERNALS_FULLPATH_NANODBC="${EPREFIX}/usr"
+		# pretend we are Arch, otherwise fatal error
+		-DIRODS_LINUX_DISTRIBUTION_NAME="arch"
+		-DIRODS_LINUX_DISTRIBUTION_VERSION_MAJOR="1"
+	)
+	cmake_src_configure
+}

diff --git a/sci-libs/iRODS/iRODS-4.2.8.ebuild b/sci-libs/iRODS/iRODS-4.2.8.ebuild
deleted file mode 100644
index eba0c76e2..000000000
--- a/sci-libs/iRODS/iRODS-4.2.8.ebuild
+++ /dev/null
@@ -1,20 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit cmake
-
-DESCRIPTION="Integrated Rule Oriented Data System, a data management software"
-HOMEPAGE="https://irods.org"
-SRC_URI="https://github.com/irods/irods/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS=""
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-BDEPEND="sys-devel/clang"
-
-S="${WORKDIR}/irods-${PV}"


             reply	other threads:[~2022-01-24 19:51 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-24 19:51 Andrew Ammerlaan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-12 11:57 [gentoo-commits] proj/sci:master commit in: sci-libs/iRODS/ Paul Zander
2021-01-30 12:33 Andrew Ammerlaan
2019-07-07 18:32 Martin Mokrejs
2017-04-30 13:21 Martin Mokrejs

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1643053867.c45a7b7ab3469fbd9df024fd8dc790d612f2d00c.andrewammerlaan@gentoo \
    --to=andrewammerlaan@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox