From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/
Date: Mon, 17 Oct 2022 23:41:51 +0000 (UTC) [thread overview]
Message-ID: <1666049976.1cc9cb4c6e2e6eacefeb33da4cb3eff53973cfbd.sam@gentoo> (raw)
commit: 1cc9cb4c6e2e6eacefeb33da4cb3eff53973cfbd
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 17 23:38:25 2022 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 17 23:39:36 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cc9cb4c
app-arch/pixz: install man page
Closes: https://bugs.gentoo.org/822732
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../pixz/{pixz-1.0.7.ebuild => pixz-1.0.7-r1.ebuild} | 15 ++++++++++-----
app-arch/pixz/pixz-9999.ebuild | 17 +++++++++++------
2 files changed, 21 insertions(+), 11 deletions(-)
diff --git a/app-arch/pixz/pixz-1.0.7.ebuild b/app-arch/pixz/pixz-1.0.7-r1.ebuild
similarity index 85%
rename from app-arch/pixz/pixz-1.0.7.ebuild
rename to app-arch/pixz/pixz-1.0.7-r1.ebuild
index 7882044a1cad..4cee8e634c94 100644
--- a/app-arch/pixz/pixz-1.0.7.ebuild
+++ b/app-arch/pixz/pixz-1.0.7-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=7
inherit flag-o-matic
-if [[ ${PV} == "9999" ]] ; then
+if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://github.com/vasi/${PN}.git"
inherit git-r3 autotools
else
@@ -27,25 +27,30 @@ LIB_DEPEND="
RDEPEND="
!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
"
-DEPEND="${RDEPEND}
+DEPEND="
+ ${RDEPEND}
static? ( ${LIB_DEPEND} )
"
-[[ ${PV} == "9999" ]] && BDEPEND+=" app-text/asciidoc"
+[[ ${PV} == 9999 ]] && BDEPEND+=" app-text/asciidoc"
src_prepare() {
default
+
[[ ${PV} == "9999" ]] && eautoreconf
}
src_configure() {
use static && append-ldflags -static
append-flags -std=gnu99
+
# Workaround silly logic that breaks cross-compiles.
# https://github.com/vasi/pixz/issues/67
export ac_cv_file_src_pixz_1=$([[ -f src/pixz.1 ]] && echo yes || echo no)
econf
}
-src_test() {
- emake check
+src_install() {
+ default
+
+ [[ ${PV} == "9999" ]] || doman src/pixz.1
}
diff --git a/app-arch/pixz/pixz-9999.ebuild b/app-arch/pixz/pixz-9999.ebuild
index b3f2858f5bbc..ab96d59609c4 100644
--- a/app-arch/pixz/pixz-9999.ebuild
+++ b/app-arch/pixz/pixz-9999.ebuild
@@ -5,12 +5,12 @@ EAPI=7
inherit flag-o-matic
-if [[ ${PV} == "9999" ]] ; then
+if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://github.com/vasi/${PN}.git"
inherit git-r3 autotools
else
SRC_URI="https://github.com/vasi/pixz/releases/download/v${PV}/${P}.tar.xz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
fi
DESCRIPTION="Parallel Indexed XZ compressor"
@@ -27,25 +27,30 @@ LIB_DEPEND="
RDEPEND="
!static? ( ${LIB_DEPEND//\[static-libs(+)]} )
"
-DEPEND="${RDEPEND}
+DEPEND="
+ ${RDEPEND}
static? ( ${LIB_DEPEND} )
"
-[[ ${PV} == "9999" ]] && BDEPEND+=" app-text/asciidoc"
+[[ ${PV} == 9999 ]] && BDEPEND+=" app-text/asciidoc"
src_prepare() {
default
+
[[ ${PV} == "9999" ]] && eautoreconf
}
src_configure() {
use static && append-ldflags -static
append-flags -std=gnu99
+
# Workaround silly logic that breaks cross-compiles.
# https://github.com/vasi/pixz/issues/67
export ac_cv_file_src_pixz_1=$([[ -f src/pixz.1 ]] && echo yes || echo no)
econf
}
-src_test() {
- emake check
+src_install() {
+ default
+
+ [[ ${PV} == "9999" ]] || doman src/pixz.1
}
next reply other threads:[~2022-10-17 23:41 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-17 23:41 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-03-24 22:41 [gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/ Sam James
2022-10-20 4:03 Sam James
2022-10-17 23:41 Sam James
2022-05-05 7:49 WANG Xuerui
2022-05-05 7:49 WANG Xuerui
2022-02-02 7:29 Sam James
2020-12-27 12:51 Sergei Trofimovich
2020-12-24 18:38 Sergei Trofimovich
2020-12-22 5:19 Sam James
2020-12-21 18:01 Sam James
2020-12-20 20:18 Sam James
2020-12-20 16:30 Thomas Deutschmann
2020-12-20 6:32 Sam James
2020-12-20 3:01 Sam James
2020-12-20 3:01 Sam James
2020-08-20 1:51 Patrick McLean
2020-08-20 1:49 Patrick McLean
2020-08-18 13:43 Sam James
2020-08-17 9:57 Agostino Sarubbo
2019-09-28 21:04 Mike Frysinger
2019-08-29 1:56 Matt Turner
2018-09-16 17:31 Matt Turner
2018-09-13 2:31 Matt Turner
2018-05-30 11:31 Jason Zaman
2018-05-29 11:17 Thomas Deutschmann
2017-02-16 23:45 Mike Frysinger
2017-02-16 23:45 Mike Frysinger
2017-02-16 23:45 Mike Frysinger
2017-02-16 23:45 Mike Frysinger
2017-02-16 23:45 Mike Frysinger
2017-02-16 23:45 Mike Frysinger
2016-08-08 15:25 Tim Harder
2015-09-07 21:56 Richard Farina
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=1666049976.1cc9cb4c6e2e6eacefeb33da4cb3eff53973cfbd.sam@gentoo \
--to=sam@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