public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/build-docbook-catalog/
Date: Fri, 29 Apr 2022 08:19:07 +0000 (UTC)	[thread overview]
Message-ID: <1651220334.afd3cd5a4eec5b51f559c1a557de2afaf4973b3b.sam@gentoo> (raw)

commit:     afd3cd5a4eec5b51f559c1a557de2afaf4973b3b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 29 08:18:54 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Apr 29 08:18:54 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=afd3cd5a

app-text/build-docbook-catalog: add 2.3

Bug: https://bugs.gentoo.org/832032
Signed-off-by: Sam James <sam <AT> gentoo.org>

 app-text/build-docbook-catalog/Manifest            |  1 +
 .../build-docbook-catalog-2.3.ebuild               | 37 ++++++++++++++++++++++
 2 files changed, 38 insertions(+)

diff --git a/app-text/build-docbook-catalog/Manifest b/app-text/build-docbook-catalog/Manifest
index 1be84d940c1f..f00d05a8510d 100644
--- a/app-text/build-docbook-catalog/Manifest
+++ b/app-text/build-docbook-catalog/Manifest
@@ -1,2 +1,3 @@
 DIST build-docbook-catalog-1.21.tar.xz 4620 BLAKE2B ed4aa645a5bb8e168c291c05891a2359114c9148a81588d93542528a0c74828a1824dc98a14468e8ba65525edf5aae8c936f29190d54063064cd54e2af8dbc3c SHA512 0becc1bae100101b072c62bee844157151336aebc39a046030c8b7b501e13f1b3552097b244ac51339abd2e724304f4fe728861b7d5f070c26973998936861bc
 DIST build-docbook-catalog-2.2.tar.bz2 4711 BLAKE2B c93f6c14450e9308dce82724c305846b1635e96470ecb72c240d502b6f7ed360ee013bf40e3cda204e784c034b8a522f6247b3dbc24fe92a9e12d0ca5c28acb7 SHA512 2e6895f8d3564dbef0dc4882448ee5f4457ac01c58be09e2939a364676a52f7d44899cab621101fb4a3161292d15d9df898e076e412ff50fb88d2861ca554b1e
+DIST build-docbook-catalog-2.3.tar.bz2 4686 BLAKE2B 3e386d0aec67ed9cada98cacd9bdce4345f8732a1d9653c096744178902036da5cefa2bde1d69279fe2080f660635f5c29380f40f6fb39aa586d80206c5e42b2 SHA512 79649f39f5a432a57e2457f61b73d83c8ccf76144e29b8e44a2c81bb86a00ff711c199fbd126236edfa965518e0cbd023597c97e386211b8c07a6ef66bf232a7

diff --git a/app-text/build-docbook-catalog/build-docbook-catalog-2.3.ebuild b/app-text/build-docbook-catalog/build-docbook-catalog-2.3.ebuild
new file mode 100644
index 000000000000..a4684d16c16d
--- /dev/null
+++ b/app-text/build-docbook-catalog/build-docbook-catalog-2.3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+DESCRIPTION="DocBook XML catalog auto-updater"
+HOMEPAGE="https://gitweb.gentoo.org/proj/build-docbook-catalog.git/"
+SRC_URI="https://gitweb.gentoo.org/proj/build-docbook-catalog.git/snapshot/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+
+RDEPEND="
+	dev-libs/libxml2
+	|| ( sys-apps/util-linux app-misc/getopt )
+"
+
+src_prepare() {
+	default
+
+	sed -i -e "/^EPREFIX=/s:=.*:='${EPREFIX}':" build-docbook-catalog || die
+	has_version sys-apps/util-linux || sed -i -e '/^GETOPT=/s/getopt/&-long/' build-docbook-catalog || die
+}
+
+src_configure() {
+	# export for bug #490754
+	export MAKEOPTS+=" EPREFIX=${EPREFIX}"
+
+	default
+}
+
+pkg_postinst() {
+	# New version -> regen files
+	# See bug #816303 for rationale behind die
+	build-docbook-catalog || die "Failed to regenerate docbook catalog."
+}


             reply	other threads:[~2022-04-29  8:19 UTC|newest]

Thread overview: 39+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-29  8:19 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-06-01  3:29 [gentoo-commits] repo/gentoo:master commit in: app-text/build-docbook-catalog/ Sam James
2023-04-25  3:50 Sam James
2022-06-29 14:13 Guilherme Amadio
2022-06-13  7:07 Agostino Sarubbo
2022-04-29  8:14 Sam James
2022-01-17 23:39 Andreas K. Hüttel
2022-01-17 23:39 Andreas K. Hüttel
2021-12-26 23:38 Sam James
2021-12-26  3:58 Sam James
2021-12-26  3:58 Sam James
2021-12-22 22:40 Sam James
2021-12-17 18:30 Jakov Smolić
2021-12-17 18:30 Jakov Smolić
2021-12-17 16:50 Arthur Zamarin
2021-12-17 14:54 Arthur Zamarin
2021-12-17 14:51 Arthur Zamarin
2021-12-17 14:49 Arthur Zamarin
2021-12-17 14:44 Arthur Zamarin
2021-10-11  1:59 Sam James
2021-10-09  6:39 罗百科
2021-10-08 12:25 Mike Frysinger
2021-10-07  2:48 Sam James
2021-10-03  4:06 Mike Frysinger
2021-03-22  5:45 Mike Frysinger
2021-01-24 17:26 Sam James
2020-12-27 14:01 Fabian Groffen
2019-05-04 14:43 Andreas K. Hüttel
2018-06-06 17:58 Mike Frysinger
2018-05-21  9:51 Mikle Kolyada
2018-05-21  9:51 Mikle Kolyada
2018-05-03  7:06 Mart Raudsepp
2018-04-28 11:36 Mikle Kolyada
2018-04-20 21:27 Sergei Trofimovich
2018-04-01 18:24 Aaron Bauman
2018-04-01 11:09 Tobias Klausmann
2018-03-31 10:05 Sergei Trofimovich
2018-03-30 12:08 Sergei Trofimovich
2016-05-23 16:13 Michael Haubenwallner

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=1651220334.afd3cd5a4eec5b51f559c1a557de2afaf4973b3b.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