public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Christoph Junghans" <junghans@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/charliecloud/
Date: Sun, 13 May 2018 21:46:24 +0000 (UTC)	[thread overview]
Message-ID: <1526247977.b6ebf923b069059102a7b1f84fb2439bd783a620.junghans@gentoo> (raw)

commit:     b6ebf923b069059102a7b1f84fb2439bd783a620
Author:     Oliver Freyermuth <o.freyermuth <AT> googlemail <DOT> com>
AuthorDate: Sun May 13 19:44:42 2018 +0000
Commit:     Christoph Junghans <junghans <AT> gentoo <DOT> org>
CommitDate: Sun May 13 21:46:17 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6ebf923

sys-cluster/charliecloud: Bump to 0.2.4, drop suid useflag.

Uupstream dropped setuid root functionality.
Switch to EAPI 7.

Closes: https://github.com/gentoo/gentoo/pull/8391

Package-Manager: Portage-2.3.36, Repoman-2.3.9

 sys-cluster/charliecloud/Manifest                  |  1 +
 ...cloud-9999.ebuild => charliecloud-0.2.4.ebuild} | 36 +++++++++-------------
 sys-cluster/charliecloud/charliecloud-9999.ebuild  | 36 +++++++++-------------
 sys-cluster/charliecloud/metadata.xml              |  7 +++++
 4 files changed, 36 insertions(+), 44 deletions(-)

diff --git a/sys-cluster/charliecloud/Manifest b/sys-cluster/charliecloud/Manifest
index efddd318d97..8a999604009 100644
--- a/sys-cluster/charliecloud/Manifest
+++ b/sys-cluster/charliecloud/Manifest
@@ -1 +1,2 @@
 DIST charliecloud-0.2.3_pre20171121.tar.gz 82636 BLAKE2B 6eb8465da39dc628d8cf65b475263b6ff12757fec00ede16025c126bc861ab07969fb8a815fbdfa48424911905d59e1290f6281a8d804d069cf940b7a0e66b47 SHA512 1828651d18cd8246e0d462fa966052be21a18f0a7a6bdb76040740dd97b271723c317ed764296cf2d0e554cec527612a02e733ec7bf3e6f4ac73139fed968c83
+DIST charliecloud-0.2.4.tar.gz 178589 BLAKE2B 45330f67e4b116150219a2753f341248878e8fa540583a97c5cd55e42498825e749c5ca9133580c180438898e25dd22bbcec37c31c31258ccf1fa0ffb5814375 SHA512 456b45d071a18562d914e70b141de55950fcf4a5e2aa882b85bdd8c4abab3a62ab1e413c0524a31be2e278328aab67a898f319bd640e9d9a84163efe24e5a872

diff --git a/sys-cluster/charliecloud/charliecloud-9999.ebuild b/sys-cluster/charliecloud/charliecloud-0.2.4.ebuild
similarity index 73%
copy from sys-cluster/charliecloud/charliecloud-9999.ebuild
copy to sys-cluster/charliecloud/charliecloud-0.2.4.ebuild
index 31d3d0f93db..f7d1882d07b 100644
--- a/sys-cluster/charliecloud/charliecloud-9999.ebuild
+++ b/sys-cluster/charliecloud/charliecloud-0.2.4.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 # User namespaces don't play well with the sandbox.
 RESTRICT="test"
@@ -13,7 +13,6 @@ if [[ ${PV} == "9999" ]] ; then
 else
 	SRC_URI="https://github.com/hpc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 	KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-	S="${WORKDIR}/${P}"
 fi
 
 DESCRIPTION="Lightweight user-defined software stacks for high-performance computing"
@@ -21,44 +20,37 @@ HOMEPAGE="https://hpc.github.io/charliecloud/"
 
 SLOT="0"
 LICENSE="Apache-2.0"
-IUSE="doc examples suid test"
+IUSE="doc examples +pv test"
 
 RDEPEND=""
 DEPEND="${RDEPEND}
+	pv? ( sys-apps/pv )
 	doc? ( dev-python/sphinx
 	       dev-python/sphinx_rtd_theme
 	       net-misc/rsync )
 	test? ( app-arch/pigz )"
 
+DOCS=(
+	README.rst
+)
+
 src_compile() {
-	if use suid; then
-		export SETUID=1
-	fi
 	emake
-	if use doc && ! use suid; then
-		emake -C doc-src
-	fi
+	use doc && emake -C doc-src
 }
 
 src_install() {
-	if use suid; then
-		export SETUID=1
-	fi
 	emake install PREFIX="${EPREFIX}/usr" DESTDIR="${ED}"
-	dodoc README.rst COPYRIGHT
-	if use doc && ! use suid; then
-		if ! use suid; then
-			mv doc html || die
-			dodoc -r html
-		else
-			ewarn "Building documentation with SUID not supported yet!"
-		fi
+	if use doc; then
+		mv doc html || die
+		local HTML_DOCS=(html/.)
 	fi
 	if use examples; then
 		docompress -x "${EPREFIX}/usr/share/doc/${PF}/examples"
-		dodoc -r examples
+		DOCS+=(examples)
 	fi
 	rm -rf "${ED}/usr/share/doc/charliecloud" || die
+	einstalldocs
 }
 
 src_test() {

diff --git a/sys-cluster/charliecloud/charliecloud-9999.ebuild b/sys-cluster/charliecloud/charliecloud-9999.ebuild
index 31d3d0f93db..f7d1882d07b 100644
--- a/sys-cluster/charliecloud/charliecloud-9999.ebuild
+++ b/sys-cluster/charliecloud/charliecloud-9999.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
 # User namespaces don't play well with the sandbox.
 RESTRICT="test"
@@ -13,7 +13,6 @@ if [[ ${PV} == "9999" ]] ; then
 else
 	SRC_URI="https://github.com/hpc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 	KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
-	S="${WORKDIR}/${P}"
 fi
 
 DESCRIPTION="Lightweight user-defined software stacks for high-performance computing"
@@ -21,44 +20,37 @@ HOMEPAGE="https://hpc.github.io/charliecloud/"
 
 SLOT="0"
 LICENSE="Apache-2.0"
-IUSE="doc examples suid test"
+IUSE="doc examples +pv test"
 
 RDEPEND=""
 DEPEND="${RDEPEND}
+	pv? ( sys-apps/pv )
 	doc? ( dev-python/sphinx
 	       dev-python/sphinx_rtd_theme
 	       net-misc/rsync )
 	test? ( app-arch/pigz )"
 
+DOCS=(
+	README.rst
+)
+
 src_compile() {
-	if use suid; then
-		export SETUID=1
-	fi
 	emake
-	if use doc && ! use suid; then
-		emake -C doc-src
-	fi
+	use doc && emake -C doc-src
 }
 
 src_install() {
-	if use suid; then
-		export SETUID=1
-	fi
 	emake install PREFIX="${EPREFIX}/usr" DESTDIR="${ED}"
-	dodoc README.rst COPYRIGHT
-	if use doc && ! use suid; then
-		if ! use suid; then
-			mv doc html || die
-			dodoc -r html
-		else
-			ewarn "Building documentation with SUID not supported yet!"
-		fi
+	if use doc; then
+		mv doc html || die
+		local HTML_DOCS=(html/.)
 	fi
 	if use examples; then
 		docompress -x "${EPREFIX}/usr/share/doc/${PF}/examples"
-		dodoc -r examples
+		DOCS+=(examples)
 	fi
 	rm -rf "${ED}/usr/share/doc/charliecloud" || die
+	einstalldocs
 }
 
 src_test() {

diff --git a/sys-cluster/charliecloud/metadata.xml b/sys-cluster/charliecloud/metadata.xml
index 101def06620..6db8cc60e6a 100644
--- a/sys-cluster/charliecloud/metadata.xml
+++ b/sys-cluster/charliecloud/metadata.xml
@@ -5,6 +5,10 @@
     <email>o.freyermuth@googlemail.com</email>
     <name>Oliver Freyermuth</name>
   </maintainer>
+  <maintainer type="person">
+    <email>junghans@gentoo.org</email>
+    <name>Christoph Junghans (proxy)</name>
+  </maintainer>
   <maintainer type="project">
     <email>proxy-maint@gentoo.org</email>
     <name>Proxy Maintainers</name>
@@ -12,4 +16,7 @@
   <upstream>
     <remote-id type="github">hpc/charliecloud</remote-id>
   </upstream>
+  <use>
+    <flag name='pv'>Use sys-apps/pv to enable progress bar functionality</flag>
+  </use>
 </pkgmetadata>


             reply	other threads:[~2018-05-13 21:46 UTC|newest]

Thread overview: 77+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-13 21:46 Christoph Junghans [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-07-08  6:34 [gentoo-commits] repo/gentoo:master commit in: sys-cluster/charliecloud/ Nicolas Bock
2025-07-08  6:34 Nicolas Bock
2025-07-08  6:34 Nicolas Bock
2025-05-23  4:57 Sam James
2025-05-23  4:57 Sam James
2025-03-18  6:06 Petr Vaněk
2025-03-18  6:06 Petr Vaněk
2025-02-20 10:20 Michał Górny
2024-11-06 13:35 Sam James
2024-11-02 12:46 Joonas Niilola
2024-11-02 12:46 Joonas Niilola
2024-11-02 12:46 Joonas Niilola
2024-06-15 14:08 Nicolas Bock
2024-06-15 14:08 Nicolas Bock
2024-06-15 14:08 Nicolas Bock
2024-03-03 17:38 Nicolas Bock
2024-03-03 17:38 Nicolas Bock
2024-02-09 13:19 Joonas Niilola
2024-02-09 13:19 Joonas Niilola
2023-11-01 21:49 Nicolas Bock
2023-11-01 21:49 Nicolas Bock
2023-11-01 21:49 Nicolas Bock
2023-09-15  4:33 Arthur Zamarin
2023-09-15  4:33 Arthur Zamarin
2023-09-15  4:33 Arthur Zamarin
2023-09-15  4:33 Arthur Zamarin
2023-06-13 20:50 Nicolas Bock
2023-04-03 22:07 Nicolas Bock
2023-01-27 16:56 Nicolas Bock
2023-01-27 16:56 Nicolas Bock
2022-11-25  8:09 Joonas Niilola
2022-11-25  8:09 Joonas Niilola
2022-08-05  5:23 Nicolas Bock
2022-08-05  5:23 Nicolas Bock
2022-08-05  5:23 Nicolas Bock
2022-07-05  8:52 Joonas Niilola
2022-07-05  8:52 Joonas Niilola
2022-04-08 12:16 Joonas Niilola
2022-04-08 12:16 Joonas Niilola
2022-04-08 12:16 Joonas Niilola
2022-03-07 18:18 Nicolas Bock
2021-09-21  7:03 Joonas Niilola
2021-07-17 18:18 David Seifert
2021-07-08 12:45 Ionen Wolkens
2021-06-30  5:24 Nicolas Bock
2021-06-30  5:24 Nicolas Bock
2021-04-19 12:42 Nicolas Bock
2021-04-19 12:42 Nicolas Bock
2021-04-04 18:55 Andreas Sturmlechner
2021-02-18  8:25 Joonas Niilola
2021-02-18  8:25 Joonas Niilola
2020-12-21 17:49 Nicolas Bock
2020-12-21 17:49 Nicolas Bock
2020-10-27 16:27 Joonas Niilola
2020-10-27 16:27 Joonas Niilola
2020-10-09  7:25 Joonas Niilola
2020-10-09  7:25 Joonas Niilola
2020-09-16 12:33 Joonas Niilola
2020-09-16 12:33 Joonas Niilola
2020-09-07  8:55 David Seifert
2020-07-11 17:05 Christoph Junghans
2020-07-11 17:05 Christoph Junghans
2020-06-14 14:05 Joonas Niilola
2020-04-17 15:10 Joonas Niilola
2020-04-17 15:10 Joonas Niilola
2020-02-09 16:42 Michał Górny
2019-07-18  8:00 Michał Górny
2019-07-07 18:31 Michał Górny
2018-12-14 13:39 Nicolas Bock
2018-12-10 12:06 Nicolas Bock
2018-11-05 18:27 Nicolas Bock
2018-10-04 17:50 Nicolas Bock
2018-10-04 17:50 Nicolas Bock
2018-08-20  9:45 Patrice Clement
2018-08-20  9:45 Patrice Clement
2017-12-01 21:22 Patrice Clement

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=1526247977.b6ebf923b069059102a7b1f84fb2439bd783a620.junghans@gentoo \
    --to=junghans@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