public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Yixun Lan" <dlan@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/stgit/
Date: Fri, 29 May 2020 14:25:29 +0000 (UTC)	[thread overview]
Message-ID: <1590762306.70182c5145b91fd178a6d2115a2b1520337320c5.dlan@gentoo> (raw)

commit:     70182c5145b91fd178a6d2115a2b1520337320c5
Author:     Yixun Lan <dlan <AT> gentoo <DOT> org>
AuthorDate: Fri May 29 14:25:06 2020 +0000
Commit:     Yixun Lan <dlan <AT> gentoo <DOT> org>
CommitDate: Fri May 29 14:25:06 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=70182c51

dev-vcs/stgit: version bump, 0.22

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org>

 dev-vcs/stgit/Manifest          |  1 +
 dev-vcs/stgit/stgit-0.22.ebuild | 83 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 84 insertions(+)

diff --git a/dev-vcs/stgit/Manifest b/dev-vcs/stgit/Manifest
index 36c52153929..998a87510f4 100644
--- a/dev-vcs/stgit/Manifest
+++ b/dev-vcs/stgit/Manifest
@@ -1,3 +1,4 @@
 DIST stgit-0.19.tar.gz 246256 BLAKE2B ece625a0f78f4a80a9a20b25d0638ee71475029ebd861b28dccc444a70d631e687372031c2dee03faebc8890b8742674d6fd7c2ee1794e8a2d7044721a254847 SHA512 0edad0c600145fc779262ddae4300d4718fd04316face62cb1fb5c01e39cb0824355091863aae8d5b14bee9ebb36ac591e5e0dc9fe343c12a7c781227cac6330
 DIST stgit-0.20.tar.gz 319696 BLAKE2B 85402c84148f5ec93c65be2899240ffa143049de63f734e56438fd17d59ba32cacd279dc3d2eb306ebd11f139f2b4183be814989443401f7d696eba93228a1b7 SHA512 45c4715f7b0c8d8e7f1104694feac7bff07428a6e532ba41bf30807b715990cc1b22a1e82757bb72eb886b987b7c9126d729f9fc161c03497c4d9fa719aae599
 DIST stgit-0.21.tar.gz 319605 BLAKE2B 92bb879d8b8804c8a1b2ca8038d010a0b5118970a4482d87d6bc295992849511c33acb46f376034af6609d42c0323d692bff0ea9bf217cc860e53915fb3c982e SHA512 394c2b30596819f1376bd7432be6923a8dad73f58f049022fe64d1520fd75418665af8069aac98843df051f7fbefbb367762ad4ba57f13bf747819035c7d63ee
+DIST stgit-0.22.tar.gz 308815 BLAKE2B 46c6214012b8d6973273bec716b1ffdafde3ea17930da94de0f73e91e8753fc7ce1d890964c8fac1d32e6343f86e54057b732414fb187b5c9f50e2fa581e6321 SHA512 bfef074b952e01d9041a4ed5dfc6786c29ebb4b09a424ca09e9131ad21c418c4d79ec13eb908f5e8b015ebbc709aacb13824a1c9cad6d97e018a166b014c5e6f

diff --git a/dev-vcs/stgit/stgit-0.22.ebuild b/dev-vcs/stgit/stgit-0.22.ebuild
new file mode 100644
index 00000000000..caede5a5d00
--- /dev/null
+++ b/dev-vcs/stgit/stgit-0.22.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit bash-completion-r1 distutils-r1
+
+DESCRIPTION="Manage a stack of patches using GIT as a backend"
+HOMEPAGE="http://www.procode.org/stgit/"
+UPSTREAM_VER=
+[[ -n ${UPSTREAM_VER} ]] && \
+	UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz"
+
+SRC_URI="https://github.com/ctmarinas/stgit/archive/v${PV}.tar.gz -> ${P}.tar.gz
+	${UPSTREAM_PATCHSET_URI}"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc"
+
+RDEPEND=">=dev-vcs/git-1.6.3.3"
+
+# NOTE: It seems to be quite important which asciidoc version to use.
+# So keep an eye on it for the future.
+DEPEND="${RDEPEND}
+	doc? (
+		app-text/asciidoc
+		app-text/xmlto
+		dev-lang/perl
+	)"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-0.16-man-linkfix.patch"
+)
+
+pkg_setup() {
+	if ! use doc; then
+		echo
+		ewarn "Manpages will not be built and installed."
+		ewarn "Enable the 'doc' useflag, if you want them."
+		echo
+	fi
+}
+
+python_prepare_all() {
+	# Upstream's patchset
+	[[ -n ${UPSTREAM_VER} ]] && \
+		eapply "${WORKDIR}"/patches-upstream
+
+	# this will be a noop, as we are working with a tarball,
+	# but throws git errors --> just get rid of it
+	echo "version=\"${PV}\"" > "${S}"/stgit/builtin_version.py
+
+	distutils-r1_python_prepare_all
+}
+
+src_compile() {
+	distutils-r1_src_compile
+
+	# bug 526468
+	if use doc; then
+		emake DESTDIR="${D}" \
+			htmldir="${EPREFIX}/usr/share/doc/${PF}/html/" \
+			mandir="${EPREFIX}/usr/share/man/" \
+			doc
+	fi
+}
+
+src_install() {
+	if use doc; then
+		emake DESTDIR="${D}" \
+			htmldir="${EPREFIX}/usr/share/doc/${PF}/html/" \
+			mandir="${EPREFIX}/usr/share/man/" \
+			install-doc install-html
+	fi
+
+	distutils-r1_src_install
+
+	newbashcomp completion/stgit.bash 'stg'
+}


             reply	other threads:[~2020-05-29 14:25 UTC|newest]

Thread overview: 112+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-29 14:25 Yixun Lan [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-12  3:21 [gentoo-commits] repo/gentoo:master commit in: dev-vcs/stgit/ Yixun Lan
2024-08-29 13:36 Yixun Lan
2024-08-29 13:36 Yixun Lan
2024-08-22 10:51 Yixun Lan
2024-08-12  9:25 Yixun Lan
2024-05-09 13:54 Yixun Lan
2024-05-09 11:33 Sam James
2024-05-09 11:33 Sam James
2024-05-09 11:33 Sam James
2024-05-09 11:33 Sam James
2024-05-09  9:20 Sam James
2024-05-09  9:20 Sam James
2024-05-09  3:05 Yixun Lan
2024-04-11 23:25 Yixun Lan
2024-04-11 23:25 Yixun Lan
2024-02-19 12:32 Yixun Lan
2024-02-19 12:32 Yixun Lan
2024-02-16 11:01 Yixun Lan
2024-02-16 11:01 Yixun Lan
2024-02-10 22:36 Yixun Lan
2024-02-10 22:36 Yixun Lan
2024-01-11 11:09 Yixun Lan
2023-12-13 11:47 Yixun Lan
2023-12-13 11:47 Yixun Lan
2023-12-06  4:33 Yixun Lan
2023-12-05 15:22 Michał Górny
2023-12-05 15:22 Michał Górny
2023-12-05 15:22 Michał Górny
2023-12-05 15:22 Michał Górny
2023-12-05 15:22 Michał Górny
2023-12-05 15:22 Michał Górny
2023-10-17  0:10 Yixun Lan
2023-10-17  0:10 Yixun Lan
2023-10-08  3:53 Yixun Lan
2023-10-08  3:53 Yixun Lan
2023-08-27  7:19 Yixun Lan
2023-08-27  7:19 Yixun Lan
2023-08-09 14:10 Yixun Lan
2023-08-09 14:10 Yixun Lan
2023-06-19 14:19 Yixun Lan
2023-06-19 14:19 Yixun Lan
2023-05-17 10:42 Yixun Lan
2023-05-17 10:42 Yixun Lan
2023-03-19 23:55 Yixun Lan
2023-03-17 21:13 Yixun Lan
2023-03-17 21:13 Yixun Lan
2023-03-17 14:29 Yixun Lan
2023-03-17 14:29 Yixun Lan
2023-03-17 14:29 Yixun Lan
2022-12-31  8:33 Yixun Lan
2022-12-05 19:43 Arthur Zamarin
2022-12-05  0:24 Yixun Lan
2022-12-01  2:25 Yixun Lan
2022-11-22  5:43 Arthur Zamarin
2022-11-22  5:31 Arthur Zamarin
2022-11-22  5:31 Arthur Zamarin
2022-11-22  4:51 Yixun Lan
2022-05-06 23:46 Yixun Lan
2022-05-06 23:46 Yixun Lan
2022-05-06 14:25 Jakov Smolić
2022-01-31 14:38 Yixun Lan
2022-01-11  4:27 Yixun Lan
2022-01-10 23:00 Sam James
2021-12-23 14:26 Yixun Lan
2021-11-24  9:50 Yixun Lan
2021-09-14 14:15 Yixun Lan
2021-07-15 13:30 Yixun Lan
2021-06-07 16:16 Sam James
2021-05-15  9:34 Yixun Lan
2021-05-15  9:03 Yixun Lan
2021-05-15  9:02 Yixun Lan
2021-04-25  5:14 Sam James
2021-04-25  5:14 Sam James
2021-04-25  5:14 Sam James
2021-04-25  5:11 Sam James
2021-04-25  2:51 Yixun Lan
2021-02-15  0:38 Sam James
2021-02-11  6:47 Yixun Lan
2021-02-11  6:47 Yixun Lan
2021-02-05 12:29 Sam James
2021-02-02 23:46 Sam James
2021-01-30 10:03 Sam James
2021-01-28 19:47 Sam James
2021-01-28 17:48 Sam James
2021-01-26  6:49 Yixun Lan
2021-01-16 14:37 Yixun Lan
2021-01-16 14:37 Yixun Lan
2021-01-16 14:37 Yixun Lan
2020-07-09 13:54 Yixun Lan
2020-06-08 10:03 Yixun Lan
2020-06-06 19:31 Mart Raudsepp
2020-06-03 18:43 Agostino Sarubbo
2020-06-03 15:12 Agostino Sarubbo
2020-06-02  6:26 Yixun Lan
2020-06-02  3:25 Yixun Lan
2020-06-01 20:51 Sergei Trofimovich
2020-03-17  6:30 Yixun Lan
2020-02-11 12:16 Michał Górny
2019-11-12 18:07 Agostino Sarubbo
2019-11-12 13:36 Agostino Sarubbo
2019-11-03 14:04 Mikle Kolyada
2019-10-16  5:54 Yixun Lan
2019-10-13 16:21 Piotr Karbowski
2019-10-09  6:56 Yixun Lan
2018-11-11 13:47 Yixun Lan
2018-10-26 14:58 Yixun Lan
2017-12-05  1:29 Yixun Lan
2017-12-05  1:29 Yixun Lan
2017-10-19 21:32 Jonas Stein
2017-10-16  7:02 Yixun Lan
2015-10-29  2:04 Yixun Lan

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=1590762306.70182c5145b91fd178a6d2115a2b1520337320c5.dlan@gentoo \
    --to=dlan@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