From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E84061382C5 for ; Fri, 19 Mar 2021 03:44:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3ABE1E0849; Fri, 19 Mar 2021 03:44:17 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1188EE0849 for ; Fri, 19 Mar 2021 03:44:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D7830340CF2 for ; Fri, 19 Mar 2021 03:44:15 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3E86E573 for ; Fri, 19 Mar 2021 03:44:14 +0000 (UTC) From: "Yixun Lan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" Message-ID: <1616125287.300ca15b52e08471e02602f7422010f1e05d166a.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-vcs/git-publish/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-vcs/git-publish/Manifest dev-vcs/git-publish/git-publish-1.7.0.ebuild dev-vcs/git-publish/metadata.xml X-VCS-Directories: dev-vcs/git-publish/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 300ca15b52e08471e02602f7422010f1e05d166a X-VCS-Branch: master Date: Fri, 19 Mar 2021 03:44:14 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2701c0ed-0f3a-4fc7-8104-639b413ef2aa X-Archives-Hash: 3b43620332f4ea61a7f868c0df7f4485 commit: 300ca15b52e08471e02602f7422010f1e05d166a Author: Yixun Lan gentoo org> AuthorDate: Thu Mar 18 01:08:30 2021 +0000 Commit: Yixun Lan gentoo org> CommitDate: Fri Mar 19 03:41:27 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=300ca15b dev-vcs/git-publish: add version 1.7.0 git-pushlish make it easy to send patches Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Yixun Lan gentoo.org> dev-vcs/git-publish/Manifest | 1 + dev-vcs/git-publish/git-publish-1.7.0.ebuild | 43 ++++++++++++++++++++++++++++ dev-vcs/git-publish/metadata.xml | 17 +++++++++++ 3 files changed, 61 insertions(+) diff --git a/dev-vcs/git-publish/Manifest b/dev-vcs/git-publish/Manifest new file mode 100644 index 00000000000..09e46d1b96d --- /dev/null +++ b/dev-vcs/git-publish/Manifest @@ -0,0 +1 @@ +DIST git-publish-1.7.0.tar.gz 21569 BLAKE2B 1438e5018ebe7d258fee2527597e56080b574765a87b03d814b6d0d41c68397cba6099866382e9f2c560d8bab58214fb9e5f54f0127433917178337df81ff789 SHA512 dbf343e0284c52edd42ba8d844a9db90810ddd02e7a98bcd1c2af72cd9f5242e9c0a9ea921edf47583bfe05943288286e57a018a7a6b2dcf25bae4f663225025 diff --git a/dev-vcs/git-publish/git-publish-1.7.0.ebuild b/dev-vcs/git-publish/git-publish-1.7.0.ebuild new file mode 100644 index 00000000000..7a000d78110 --- /dev/null +++ b/dev-vcs/git-publish/git-publish-1.7.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8..9} ) +inherit python-single-r1 + +DESCRIPTION="Tool for preparing and storing patch revisions as git tag" +HOMEPAGE="https://github.com/stefanha/git-publish" +SRC_URI="https://github.com/stefanha/git-publish/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="+man" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + dev-vcs/git +" +BDEPEND="${PYTHON_DEPS} + man? ( dev-lang/perl ) +" + +src_prepare() { + default + python_fix_shebang git-publish +} + +src_compile() { + if use man; then + pod2man --center "git-publish Documentation" --release "${PV}" \ + git-publish.pod git-publish.1 || die + fi +} + +src_install() { + dobin git-publish + use man && doman git-publish.1 + insinto /usr/share/${PN}/hooks + doins hooks/pre-publish-send-email.example +} diff --git a/dev-vcs/git-publish/metadata.xml b/dev-vcs/git-publish/metadata.xml new file mode 100644 index 00000000000..b97d2e99f3b --- /dev/null +++ b/dev-vcs/git-publish/metadata.xml @@ -0,0 +1,17 @@ + + + + + git-publish prepares patches and stores them as git tags for future reference. + It works with individual patches as well as patch series. Revision numbering + is handled automatically. + + + dlan@gentoo.org + Yixun Lan + + + + stefanha/git-publish + +