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 E992915811D for ; Sat, 8 Jul 2023 18:08:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 28660E08DD; Sat, 8 Jul 2023 18:08:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0CFA9E08DD for ; Sat, 8 Jul 2023 18:08:33 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2555A340DFF for ; Sat, 8 Jul 2023 18:08:32 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 22DBEAD3 for ; Sat, 8 Jul 2023 18:08:29 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1688839597.272bfb060021a8f22d329bd8b6520ae06c6d5840.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/grabcartoons/, app-misc/grabcartoons/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/grabcartoons/Manifest app-misc/grabcartoons/files/2.8.5-fix-install-paths.patch app-misc/grabcartoons/grabcartoons-2.8.5.ebuild X-VCS-Directories: app-misc/grabcartoons/ app-misc/grabcartoons/files/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: 272bfb060021a8f22d329bd8b6520ae06c6d5840 X-VCS-Branch: master Date: Sat, 8 Jul 2023 18:08:29 +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: ddbc4597-b753-4cf9-b58c-9503c84511e7 X-Archives-Hash: bffd8d78b6fce02f5a02cd9c1ea37973 commit: 272bfb060021a8f22d329bd8b6520ae06c6d5840 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Tue Jul 4 13:04:18 2023 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sat Jul 8 18:06:37 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=272bfb06 app-misc/grabcartoons: version bump (v2.8.5) Signed-off-by: Michael Mair-Keimberger levelnine.at> Signed-off-by: Conrad Kostecki gentoo.org> app-misc/grabcartoons/Manifest | 1 + .../files/2.8.5-fix-install-paths.patch | 28 +++++++++++++++++++ app-misc/grabcartoons/grabcartoons-2.8.5.ebuild | 31 ++++++++++++++++++++++ 3 files changed, 60 insertions(+) diff --git a/app-misc/grabcartoons/Manifest b/app-misc/grabcartoons/Manifest index 0e03ab816d43..d88db82a478f 100644 --- a/app-misc/grabcartoons/Manifest +++ b/app-misc/grabcartoons/Manifest @@ -1 +1,2 @@ DIST grabcartoons-2.8.4_p20141112.tar.gz 40998 BLAKE2B 616dde080c8e35548a527ede7c844fb23b733408bb21ce621065d698220111637b9cf8b044d56dabc6b0987123c656743a8c111b8e9c01cbeb589ed3bf35eb94 SHA512 6de81d151414ccbb7b00c2f472f0d811a7024c67a3c4bdc929babf2ff8990280ba1fde0851e4405dbc487c58e99f13a1dd07a0cd202099f6289dd0ed61296ee5 +DIST grabcartoons-2.8.5.tar.gz 48140 BLAKE2B 436c50f35f482b96d19cd5a61017fd0912674b7904ebaecc698806dbbf7faa7030424198568d0001c5be5ffe6567f34e877f11720dcf90c3a71332bd0ca9a470 SHA512 dc20e5ee04585c2a8279991025973ffe0805887a41195e8e5cb38dcd3652174a4f45174f7ecbbb7130a753f5ee63b87ad002ef1062406f95efb76c74186ef5ad diff --git a/app-misc/grabcartoons/files/2.8.5-fix-install-paths.patch b/app-misc/grabcartoons/files/2.8.5-fix-install-paths.patch new file mode 100644 index 000000000000..f3cb0c9fe3d9 --- /dev/null +++ b/app-misc/grabcartoons/files/2.8.5-fix-install-paths.patch @@ -0,0 +1,28 @@ +--- a/Makefile ++++ b/Makefile +@@ -23,9 +23,9 @@ + + install: + mkdir -p -m 755 $(PREFIX)/bin +- mkdir -p -m 755 $(PREFIX)/lib/grabcartoons/modules +- install -m 755 grabcartoons.pl $(PREFIX)/bin +- install -m 644 modules/*.pl $(PREFIX)/lib/grabcartoons/modules ++ mkdir -p -m 755 $(PREFIX)/share/grabcartoons/modules ++ install -m 755 grabcartoons.pl $(PREFIX)/bin/grabcartoons ++ install -m 644 modules/*.pl $(PREFIX)/share/grabcartoons/modules + + test: + ./grabcartoons.pl $(V) "$(C)" > "$(OUT)" +--- a/grabcartoons.pl ++++ b/grabcartoons.pl +@@ -39,8 +39,8 @@ + # Where to load cartoon modules from + @MODULE_DIRS=("$FindBin::Bin/modules", + "$FindBin::RealBin/modules", +- "$FindBin::Bin/../lib/grabcartoons/modules", +- "$FindBin::RealBin/../lib/grabcartoons/modules", ++ "$FindBin::Bin/../share/grabcartoons/modules", ++ "$FindBin::RealBin/../share/grabcartoons/modules", + "$HOME/.grabcartoons/modules", + "$HOME/.grabcartoons", + @GRABCARTOONS_DIRS, diff --git a/app-misc/grabcartoons/grabcartoons-2.8.5.ebuild b/app-misc/grabcartoons/grabcartoons-2.8.5.ebuild new file mode 100644 index 000000000000..bbd0173a4e06 --- /dev/null +++ b/app-misc/grabcartoons/grabcartoons-2.8.5.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +if [[ ${PV} == *9999 ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/zzamboni/grabcartoons.git" +else + SRC_URI="https://github.com/zzamboni/grabcartoons/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="Comic-summarizing utility" +HOMEPAGE="https://zzamboni.org/code/grabcartoons/" + +LICENSE="BSD" +SLOT="0" +# Opens a web page, which is unacceptable during an emerge. +RESTRICT="test" + +RDEPEND=" + dev-lang/perl + virtual/perl-Getopt-Long" + +PATCHES=( "${FILESDIR}"/${PV}-fix-install-paths.patch ) + +src_install() { + emake PREFIX="${ED}"/usr install + einstalldocs +}