public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Lars Wendler" <polynomial-c@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/mmv/
Date: Thu, 21 Jan 2021 10:01:44 +0000 (UTC)	[thread overview]
Message-ID: <1611223300.a86cc33d1a1435c269b2ab76d111293a08b9df78.polynomial-c@gentoo> (raw)

commit:     a86cc33d1a1435c269b2ab76d111293a08b9df78
Author:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 21 10:00:46 2021 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Thu Jan 21 10:01:40 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a86cc33d

app-misc/mmv: Bump to version 1.01b_p19

Don't apply broken Debian patch (#661492)

Closes: https://bugs.gentoo.org/661492
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 app-misc/mmv/Manifest             |  1 +
 app-misc/mmv/mmv-1.01b_p19.ebuild | 51 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)

diff --git a/app-misc/mmv/Manifest b/app-misc/mmv/Manifest
index 35010770331..7ecf2f8256a 100644
--- a/app-misc/mmv/Manifest
+++ b/app-misc/mmv/Manifest
@@ -1,2 +1,3 @@
 DIST mmv_1.01b-18.debian.tar.gz 13463 BLAKE2B db67247bddd38580401d8b1a18aa9ce82af42a994bfe60141066aa08e19a01f35903cc1d8184cb4271ebe2a4a187607a7c5a6a750c121caafdf71fdc0ccb8896 SHA512 3543aff53c67cab00689d4c8b778447c976a7860a569bd51f74534bec8bd3b67b9e12743bd03bc6fda930748abddd12e16f1965686cbce04bd48bf191fc4127b
+DIST mmv_1.01b-19.debian.tar.xz 12436 BLAKE2B d75251528cfdbfc343880450481973dad932707c00af38b1bf4b74f917f3e74b0b60aea2aa5d65b8ee63edf8beea61bedd6fa1859f109a7c3e02eabbd0a1bbeb SHA512 86fb93180a8645a40f45d0b9331693f6a86fbe1a378857350c9573e45261e008ab2154836df09a4f569bc35b6601d0317a0f1f1a901530e26e391c3a25c666f5
 DIST mmv_1.01b.orig.tar.gz 25656 BLAKE2B 4e3c7c27831fb5aeeb09461116330a993998da510b32a7ba3b1151c0d14a336eab7cf37bc3ac91720f38fb41258a60488e5d066b152d0c717f5413f8514d9026 SHA512 4bf4e096b930bdde225ba5de761e968af3aed33dc13194b1a1a79078cd27e158b04aae131b5167cf5f844e35355d67359443cd598db22da15a5af06752438917

diff --git a/app-misc/mmv/mmv-1.01b_p19.ebuild b/app-misc/mmv/mmv-1.01b_p19.ebuild
new file mode 100644
index 00000000000..c5125cc5d68
--- /dev/null
+++ b/app-misc/mmv/mmv-1.01b_p19.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit flag-o-matic toolchain-funcs
+
+DEB_PATCH_VER=${PV#*_p}
+MY_VER=${PV%_p*}
+
+DESCRIPTION="Move/copy/append/link multiple files according to a set of wildcard patterns"
+HOMEPAGE="https://packages.debian.org/unstable/utils/mmv"
+SRC_URI="
+	mirror://debian/pool/main/m/mmv/${PN}_${MY_VER}.orig.tar.gz
+	mirror://debian/pool/main/m/mmv/${PN}_${MY_VER}-${DEB_PATCH_VER}.debian.tar.xz"
+
+LICENSE="LGPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm64 ~ppc ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+
+S="${WORKDIR}/${PN}-${MY_VER}.orig"
+
+src_prepare() {
+	default
+	rm "${WORKDIR}"/debian/patches/better-diagnostics-for-directories-584850.diff \
+		|| die #661492
+	eapply "${WORKDIR}"/debian/patches/*.diff
+}
+
+src_compile() {
+	# i wonder how this works on other platforms if CFLAGS from makefile are
+	# overridden, see bug #218082
+	[[ ${CHOST} == *-interix* ]] && append-flags -DIS_SYSV -DHAS_RENAME -DHAS_DIRENT
+	[[ ${CHOST} == *-interix* ]] || append-lfs-flags
+
+	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}"
+}
+
+src_install() {
+	dobin "${PN}"
+	dosym "${PN}" /usr/bin/mcp
+	dosym "${PN}" /usr/bin/mln
+	dosym "${PN}" /usr/bin/mad
+
+	doman "${PN}.1"
+	newman "${PN}.1" mcp.1
+	newman "${PN}.1" mln.1
+	newman "${PN}.1" mad.1
+
+	dodoc ANNOUNCE "${WORKDIR}"/debian/{changelog,control}
+}


             reply	other threads:[~2021-01-21 10:01 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-21 10:01 Lars Wendler [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-08 18:54 [gentoo-commits] repo/gentoo:master commit in: app-misc/mmv/ Arthur Zamarin
2025-03-08 15:33 Sam James
2025-03-08 13:50 Jakov Smolić
2024-12-01 12:42 Sam James
2024-11-01 20:42 Sam James
2024-11-01 20:42 Sam James
2024-11-01 17:50 Arthur Zamarin
2024-10-07  3:27 Eli Schwartz
2023-10-20 20:18 Arthur Zamarin
2023-10-19 15:41 Sam James
2023-10-19 15:41 Sam James
2023-09-18  9:20 Sam James
2023-09-18  9:20 Sam James
2023-09-18  9:20 Sam James
2021-04-19 19:12 Sam James
2021-03-30 18:14 Sam James
2021-03-30 18:14 Sam James
2021-03-30 17:36 Thomas Deutschmann
2021-01-06 13:19 Fabian Groffen
2020-09-26 19:40 Aaron Bauman
2020-09-26 19:40 Aaron Bauman
2019-05-04 10:35 Andreas K. Hüttel
2019-02-13 22:16 Patrice Clement
2019-02-13 22:16 Patrice Clement
2017-01-29 14:59 Fabian Groffen
2015-09-07  6:33 Justin Lecher

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=1611223300.a86cc33d1a1435c269b2ab76d111293a08b9df78.polynomial-c@gentoo \
    --to=polynomial-c@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