From: "Ian Stakenvicius" <axs@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/torque/
Date: Thu,  2 Jun 2016 16:56:24 +0000 (UTC)	[thread overview]
Message-ID: <1464886578.134584b2d81b9928835d5ea44bbb6a2e146b2ef5.axs@gentoo> (raw)
commit:     134584b2d81b9928835d5ea44bbb6a2e146b2ef5
Author:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  2 16:22:53 2016 +0000
Commit:     Ian Stakenvicius <axs <AT> gentoo <DOT> org>
CommitDate: Thu Jun  2 16:56:18 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=134584b2
sys-cluster/torque: dependency cleanup
Dependency atoms listed in the ebuild were rather significantly mis-matching what
is actually linked to.  Cleaned them up, added slot and slot-operators as needed.
Added libressl to IUSE but didn't test if libressl is a drop-in replacement for
openssl -- the situation should be better either way since it was a magic dep
until now.
Also bumped EAPI for torque-2.x so it is no longer deprecated, and adjusted how
the cpusets flag is added to configure.
Package-Manager: portage-2.2.28
 ...orque-2.5.13.ebuild => torque-2.5.13-r1.ebuild} | 26 ++++++++++----------
 ...{torque-4.1.7.ebuild => torque-4.1.7-r1.ebuild} | 27 ++++++++++++---------
 ...rque-4.2.9-r4.ebuild => torque-4.2.9-r5.ebuild} | 28 +++++++++++++---------
 3 files changed, 47 insertions(+), 34 deletions(-)
diff --git a/sys-cluster/torque/torque-2.5.13.ebuild b/sys-cluster/torque/torque-2.5.13-r1.ebuild
similarity index 94%
rename from sys-cluster/torque/torque-2.5.13.ebuild
rename to sys-cluster/torque/torque-2.5.13-r1.ebuild
index 252ac35..82934c0 100644
--- a/sys-cluster/torque/torque-2.5.13.ebuild
+++ b/sys-cluster/torque/torque-2.5.13-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI=4
+EAPI=5
 
 inherit autotools-utils eutils flag-o-matic linux-info
 
@@ -17,16 +17,21 @@ KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
 IUSE="cpusets +crypt doc drmaa kernel_linux munge server static-libs +syslog threads tk xml"
 
 # ed is used by makedepend-sh
-DEPEND_COMMON="sys-libs/ncurses
-	sys-libs/readline
+DEPEND_COMMON="
+	sys-libs/readline:0=
 	munge? ( sys-auth/munge )
-	tk? ( dev-lang/tk )
+	tk? (
+		dev-lang/tk:0=
+		dev-lang/tcl:0=
+	)
 	syslog? ( virtual/logger )
-	!games-util/qstat"
+	!!games-util/qstat"
 
+# libncurses.so is just needed so that configure will pass for the readline check
 DEPEND="${DEPEND_COMMON}
+	sys-libs/ncurses:*
 	sys-apps/ed
-	!sys-cluster/slurm"
+	!!sys-cluster/slurm"
 
 RDEPEND="${DEPEND_COMMON}
 	crypt? ( net-misc/openssh )
@@ -49,12 +54,11 @@ pkg_setup() {
 		fi
 	fi
 
-	USE_CPUSETS="--disable-cpuset"
 	if use cpusets; then
 		if ! use kernel_linux; then
 			einfo
 			elog "    Torque currently only has support for cpusets in linux."
-			elog "Assuming you didn't really want this USE flag."
+			elog "Assuming you didn't really want this USE flag and ignoring."
 			einfo
 		else
 			linux-info_pkg_setup
@@ -68,7 +72,6 @@ pkg_setup() {
 				elog "your kernel with CONFIG_CPUSETS enabled."
 				einfo
 			fi
-			USE_CPUSETS="--enable-cpuset"
 		fi
 	fi
 }
@@ -92,7 +95,6 @@ src_configure() {
 	local myeconfargs=( --with-rcp=mom_rcp )
 
 	use crypt && myeconfargs=( --with-rcp=scp )
-
 	myeconfargs+=(
 		$(use_enable tk gui)
 		$(use_enable tk tcl-qstat)
@@ -102,12 +104,12 @@ src_configure() {
 		$(use_enable threads high-availability)
 		$(use_enable xml server-xml)
 		$(use_enable munge munge-library)
+		$(usex kernel_linux $(use_enable cpusets cpuset) --disable-cpuset)
 		--with-server-home=${PBS_SERVER_HOME}
 		--with-environ=/etc/pbs_environment
 		--with-default-server=${PBS_SERVER_NAME}
 		--disable-gcc-warnings
 		--with-tcp-retry-limit=2
-		${USE_CPUSETS}
 		)
 	autotools-utils_src_configure
 }
diff --git a/sys-cluster/torque/torque-4.1.7.ebuild b/sys-cluster/torque/torque-4.1.7-r1.ebuild
similarity index 92%
rename from sys-cluster/torque/torque-4.1.7.ebuild
rename to sys-cluster/torque/torque-4.1.7-r1.ebuild
index ea148c3..86dfeb5 100644
--- a/sys-cluster/torque/torque-4.1.7.ebuild
+++ b/sys-cluster/torque/torque-4.1.7-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -15,20 +15,27 @@ SRC_URI="http://www.adaptivecomputing.com/index.php?wpfb_dl=1690 -> ${P}.tar.gz"
 LICENSE="torque-2.5"
 SLOT="0"
 KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ppc64 sparc x86"
-IUSE="cpusets +crypt doc drmaa kernel_linux munge nvidia server +syslog tk"
+IUSE="cpusets +crypt doc drmaa kernel_linux libressl munge nvidia server +syslog tk"
 
 DEPEND_COMMON="
-	sys-libs/ncurses
-	sys-libs/readline
+	sys-libs/zlib
+	sys-libs/readline:0=
+	libressl? ( dev-libs/libressl:0= )
+	!libressl? ( dev-libs/openssl:0= )
 	cpusets? ( sys-apps/hwloc )
 	munge? ( sys-auth/munge )
 	nvidia? ( >=x11-drivers/nvidia-drivers-275 )
-	tk? ( dev-lang/tk )
+	tk? (
+		dev-lang/tk:0=
+		dev-lang/tcl:0=
+	)
 	syslog? ( virtual/logger )
-	!games-util/qstat"
+	!!games-util/qstat"
 
+# libncurses.so is only needed for the configure check on readline to pass
 DEPEND="${DEPEND_COMMON}
-	!sys-cluster/slurm"
+	sys-libs/ncurses:*
+	!!sys-cluster/slurm"
 
 RDEPEND="${DEPEND_COMMON}
 	crypt? ( net-misc/openssh )
@@ -53,12 +60,11 @@ pkg_setup() {
 		fi
 	fi
 
-	USE_CPUSETS="--disable-cpuset"
 	if use cpusets; then
 		if ! use kernel_linux; then
 			einfo
 			elog "    Torque currently only has support for cpusets in linux."
-			elog "Assuming you didn't really want this USE flag."
+			elog "Assuming you didn't really want this USE flag, and ignoring its state."
 			einfo
 		else
 			linux-info_pkg_setup
@@ -68,7 +74,6 @@ pkg_setup() {
 				elog "your kernel with CONFIG_CPUSETS enabled."
 				einfo
 			fi
-			USE_CPUSETS="--enable-cpuset"
 		fi
 	fi
 }
@@ -100,13 +105,13 @@ src_configure() {
 		$(use_enable drmaa) \
 		$(use_enable munge munge-auth) \
 		$(use_enable nvidia nvidia-gpus) \
+		$(usex kernel_linux $(use_enable cpusets cpuset) --disable-cpuset) \
 		--with-server-home=${PBS_SERVER_HOME} \
 		--with-environ=/etc/pbs_environment \
 		--with-default-server=${PBS_SERVER_NAME} \
 		--disable-gcc-warnings \
 		--with-tcp-retry-limit=2 \
 		--without-loadlibfile \
-		${USE_CPUSETS} \
 		${myconf}
 }
 
diff --git a/sys-cluster/torque/torque-4.2.9-r4.ebuild b/sys-cluster/torque/torque-4.2.9-r5.ebuild
similarity index 89%
rename from sys-cluster/torque/torque-4.2.9-r4.ebuild
rename to sys-cluster/torque/torque-4.2.9-r5.ebuild
index 372a4a1..601227f 100644
--- a/sys-cluster/torque/torque-4.2.9-r4.ebuild
+++ b/sys-cluster/torque/torque-4.2.9-r5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -15,20 +15,28 @@ SRC_URI="http://www.adaptivecomputing.com/index.php?wpfb_dl=2849 -> ${P}.tar.gz"
 LICENSE="torque-2.5"
 SLOT="0"
 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
-IUSE="cpusets +crypt doc drmaa kernel_linux munge nvidia server +syslog tk"
+IUSE="cpusets +crypt doc drmaa kernel_linux libressl munge nvidia server +syslog tk"
 
 DEPEND_COMMON="
-	sys-libs/ncurses
-	sys-libs/readline:*
+	sys-libs/zlib
+	sys-libs/readline:0=
+	dev-libs/libxml2
+	!libressl? ( dev-libs/openssl:0= )
+	libressl? ( dev-libs/libressl:0= )
 	cpusets? ( sys-apps/hwloc )
 	munge? ( sys-auth/munge )
 	nvidia? ( >=x11-drivers/nvidia-drivers-275 )
-	tk? ( dev-lang/tk:0 )
+	tk? (
+		dev-lang/tk:0=
+		dev-lang/tcl:0=
+	)
 	syslog? ( virtual/logger )
-	!games-util/qstat"
+	!!games-util/qstat"
 
+# libncurses.so is only needed for configure check on readline
 DEPEND="${DEPEND_COMMON}
-	!sys-cluster/slurm"
+	sys-libs/ncurses:*
+	!!sys-cluster/slurm"
 
 RDEPEND="${DEPEND_COMMON}
 	crypt? ( net-misc/openssh )
@@ -53,12 +61,11 @@ pkg_setup() {
 		fi
 	fi
 
-	USE_CPUSETS="--disable-cpuset"
 	if use cpusets; then
 		if ! use kernel_linux; then
 			einfo
 			elog "    Torque currently only has support for cpusets in linux."
-			elog "Assuming you didn't really want this USE flag."
+			elog "Assuming you didn't really want this USE flag and ignoring its state."
 			einfo
 		else
 			linux-info_pkg_setup
@@ -68,7 +75,6 @@ pkg_setup() {
 				elog "your kernel with CONFIG_CPUSETS enabled."
 				einfo
 			fi
-			USE_CPUSETS="--enable-cpuset"
 		fi
 	fi
 }
@@ -100,13 +106,13 @@ src_configure() {
 		$(use_enable drmaa) \
 		$(use_enable munge munge-auth) \
 		$(use_enable nvidia nvidia-gpus) \
+		$(usex kernel_linux $(use_enable cpusets cpuset) --disable-cpuset) \
 		--with-server-home=${PBS_SERVER_HOME} \
 		--with-environ=/etc/pbs_environment \
 		--with-default-server=${PBS_SERVER_NAME} \
 		--disable-gcc-warnings \
 		--with-tcp-retry-limit=2 \
 		--without-loadlibfile \
-		${USE_CPUSETS} \
 		${myconf}
 }
 
next             reply	other threads:[~2016-06-02 16:56 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-02 16:56 Ian Stakenvicius [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-06-09  3:13 [gentoo-commits] repo/gentoo:master commit in: sys-cluster/torque/ Sam James
2025-06-09  3:13 Sam James
2024-08-12  3:29 Eli Schwartz
2023-08-02 13:19 Sam James
2023-05-11 20:03 Sam James
2023-01-09 12:46 Joonas Niilola
2022-12-28 21:01 Sam James
2022-12-28 21:01 Sam James
2022-09-30 23:24 Sam James
2022-09-04 13:03 David Seifert
2022-03-07  3:42 Sam James
2022-03-07  1:55 Sam James
2022-02-02  6:21 Sam James
2022-01-23 16:59 Sam James
2022-01-23 16:59 Sam James
2022-01-23 16:56 Sam James
2022-01-04 10:30 David Seifert
2021-10-29 22:44 Sam James
2021-07-05 16:53 Marek Szuba
2021-05-01  7:29 Mikle Kolyada
2020-05-22 18:50 Sergei Trofimovich
2020-04-19 14:23 Sergei Trofimovich
2020-03-05 19:16 Ian Stakenvicius
2019-10-15 20:44 Ian Stakenvicius
2019-07-14 18:27 Hans de Graaff
2019-03-07 17:37 Ian Stakenvicius
2019-03-07 17:37 Ian Stakenvicius
2019-03-07 17:37 Ian Stakenvicius
2017-04-27  3:15 Ian Stakenvicius
2017-01-26 23:13 David Seifert
2016-06-08  2:33 Ian Stakenvicius
2016-06-02 16:56 Ian Stakenvicius
2016-06-01 23:06 Justin Bronder
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=1464886578.134584b2d81b9928835d5ea44bbb6a2e146b2ef5.axs@gentoo \
    --to=axs@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