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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F3431158041 for ; Sat, 30 Mar 2024 22:14:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1D2FEE2A85; Sat, 30 Mar 2024 22:14:18 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F1548E2A85 for ; Sat, 30 Mar 2024 22:14:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2A683343138 for ; Sat, 30 Mar 2024 22:14:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8B40515F4 for ; Sat, 30 Mar 2024 22:14:15 +0000 (UTC) From: "Mike Pagano" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Pagano" Message-ID: <1711836807.30cdee7d040469f0f00cf0a304ba8d94f077d03e.mpagano@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/quilt/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/quilt/Manifest dev-util/quilt/quilt-0.68.ebuild X-VCS-Directories: dev-util/quilt/ X-VCS-Committer: mpagano X-VCS-Committer-Name: Mike Pagano X-VCS-Revision: 30cdee7d040469f0f00cf0a304ba8d94f077d03e X-VCS-Branch: master Date: Sat, 30 Mar 2024 22:14:15 +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: 5b38ad55-3ca0-40c5-9385-e4a911bd0c28 X-Archives-Hash: db9996fa8f4f3b39697f42ce92bd1b8f commit: 30cdee7d040469f0f00cf0a304ba8d94f077d03e Author: Mike Pagano gentoo org> AuthorDate: Sat Mar 30 22:13:27 2024 +0000 Commit: Mike Pagano gentoo org> CommitDate: Sat Mar 30 22:13:27 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30cdee7d dev-util/quilt: add 0.68 Signed-off-by: Mike Pagano gentoo.org> dev-util/quilt/Manifest | 1 + dev-util/quilt/quilt-0.68.ebuild | 63 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+) diff --git a/dev-util/quilt/Manifest b/dev-util/quilt/Manifest index 5608841b89ba..65fe7208155f 100644 --- a/dev-util/quilt/Manifest +++ b/dev-util/quilt/Manifest @@ -1 +1,2 @@ DIST quilt-0.67.tar.gz 543713 BLAKE2B 691b42378a862bfaa8ac9ca042d03d149aaada05894e1d9b92ad4ddf213bf13674c08b72788626ed49c8ccbc792c31e5bc827f8911bf7b0e23733fbc75fca1d1 SHA512 2dcf9396444484e1664f3dc9bf6a024d11fbaac4e984a295b269bab2649e254dafe3dd89d8f79cfaf1c33d2aa80a803ea55eef4debbc1ebc8d3459ecfa52e4ec +DIST quilt-0.68.tar.gz 551096 BLAKE2B b012d0ccc0efaa2b645eafe9279a511a9fbd7546f22f35aebdb5488bde433e841472b907cacdd5f451e20a15b348f651028591f9a2d5b195613948f754c06cb5 SHA512 a2a58b330ccb3dd55b1f280310d506c605166bceedf7439582cdf8a198ca4aa34a375fd8bfd4027c540481bcdf5e6175eafd19707aaabe194b01cf7caa40572e diff --git a/dev-util/quilt/quilt-0.68.ebuild b/dev-util/quilt/quilt-0.68.ebuild new file mode 100644 index 000000000000..f3192f796103 --- /dev/null +++ b/dev-util/quilt/quilt-0.68.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit bash-completion-r1 + +DESCRIPTION="quilt patch manager" +HOMEPAGE="https://savannah.nongnu.org/projects/quilt" +SRC_URI="https://savannah.nongnu.org/download/quilt/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-solaris" +IUSE="emacs graphviz" +# unresolved test failures +RESTRICT="test" + +RDEPEND="sys-apps/ed + dev-util/diffstat + graphviz? ( media-gfx/graphviz ) + elibc_Darwin? ( app-misc/getopt ) + elibc_SunOS? ( app-misc/getopt ) + >=sys-apps/coreutils-9.4-r1 + app-arch/zstd:=" + +PDEPEND="emacs? ( app-emacs/quilt-el )" + +pkg_setup() { + use graphviz && return 0 + echo + elog "If you intend to use the folding functionality (graphical illustration of the" + elog "patch stack) then you'll need to remerge this package with USE=graphviz." + echo +} + +src_prepare() { + # Add support for USE=graphviz + use graphviz || PATCHES+=( "${FILESDIR}"/${PN}-0.66-no-graphviz.patch ) + default +} + +src_configure() { + [[ ${CHOST} == *-darwin* || ${CHOST} == *-solaris* ]] && \ + myconf="${myconf} --with-getopt=${EPREFIX}/usr/bin/getopt-long" + econf ${myconf} +} + +src_install() { + emake BUILD_ROOT="${D}" install + + rm -rf "${ED}"/usr/share/doc/${P} + dodoc AUTHORS COPYING NEWS TODO "doc/README" "doc/README.MAIL" "doc/quilt.pdf" + + rm -rf "${ED}"/etc/bash_completion.d + newbashcomp bash_completion ${PN} + + # Remove the compat symlinks + rm -rf "${ED}"/usr/share/quilt/compat + + # Remove Emacs mode; newer version is in app-emacs/quilt-el, bug 247500 + rm -rf "${ED}"/usr/share/emacs +}