public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/nextcloud-notify_push/
Date: Sat, 15 Feb 2025 09:29:27 +0000 (UTC)	[thread overview]
Message-ID: <1739611600.e3216034947b36f6d70bc2ce32782a4072f7619a.ulm@gentoo> (raw)

commit:     e3216034947b36f6d70bc2ce32782a4072f7619a
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 14 14:12:21 2025 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Feb 15 09:26:40 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3216034

www-apps/nextcloud-notify_push: Port to ver_replacing

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 .../nextcloud-notify_push-0.7.0-r1.ebuild          | 26 +++++++++-------------
 1 file changed, 10 insertions(+), 16 deletions(-)

diff --git a/www-apps/nextcloud-notify_push/nextcloud-notify_push-0.7.0-r1.ebuild b/www-apps/nextcloud-notify_push/nextcloud-notify_push-0.7.0-r1.ebuild
index d5f61873f5fb..49611c777024 100644
--- a/www-apps/nextcloud-notify_push/nextcloud-notify_push-0.7.0-r1.ebuild
+++ b/www-apps/nextcloud-notify_push/nextcloud-notify_push-0.7.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # Autogenerated by pycargoebuild 0.13.2
@@ -356,7 +356,7 @@ CRATES="
 	zeroize@1.8.1
 "
 
-inherit cargo systemd
+inherit cargo eapi9-ver systemd
 
 DESCRIPTION="Push daemon for Nextcloud clients"
 HOMEPAGE="https://github.com/nextcloud/notify_push"
@@ -392,18 +392,12 @@ src_install() {
 }
 
 pkg_postinst() {
-	# According to PMS this can be a space-separated list of version
-	# numbers, even though in practice it is typically just one.
-	local oldver
-	for oldver in ${REPLACING_VERSIONS}; do
-		if ver_test "${oldver}" -lt "0.6.6"; then
-			ewarn "You are upgrading from $oldver to ${PVR}"
-			ewarn "The systemd unit file for nextcloud-notify_push no longer sources ${EPREFIX}/etc/conf.d/nextcloud-notify_push ."
-			ewarn "Configuration is still done via ${EPREFIX}/etc/conf.d/nextcloud-notify_push for OpenRC systems"
-			ewarn "while for systemd systems, a systemd drop-in file located at"
-			ewarn "${EPREFIX}/etc/systemd/system/nextcloud-notify_push.d/00gentoo.conf"
-			ewarn "is used for configuration."
-			break
-		fi
-	done
+	if ver_replacing -lt "0.6.6"; then
+		ewarn "You are upgrading from $oldver to ${PVR}"
+		ewarn "The systemd unit file for nextcloud-notify_push no longer sources ${EPREFIX}/etc/conf.d/nextcloud-notify_push ."
+		ewarn "Configuration is still done via ${EPREFIX}/etc/conf.d/nextcloud-notify_push for OpenRC systems"
+		ewarn "while for systemd systems, a systemd drop-in file located at"
+		ewarn "${EPREFIX}/etc/systemd/system/nextcloud-notify_push.d/00gentoo.conf"
+		ewarn "is used for configuration."
+	fi
 }


             reply	other threads:[~2025-02-15  9:30 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-02-15  9:29 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-02-27 19:05 [gentoo-commits] repo/gentoo:master commit in: www-apps/nextcloud-notify_push/ Arthur Zamarin
2025-02-15  8:27 Arthur Zamarin
2024-09-05 14:37 Yixun Lan
2024-09-05 14:37 Yixun Lan
2024-07-09  9:41 Yixun Lan
2024-02-28 23:53 Yixun Lan
2023-11-30  6:43 Yixun Lan
2023-11-29 23:59 Yixun Lan
2023-11-29 12:57 Yixun Lan
2023-05-30  0:12 Yixun Lan
2022-06-07 10:20 Yixun Lan
2021-11-14  3:49 Thomas Deutschmann
2021-09-29 16:55 Thomas Deutschmann
2021-08-04 23:15 Thomas Deutschmann
2021-06-25 11:16 Thomas Deutschmann
2021-06-18 10:06 Thomas Deutschmann
2021-04-10 21:08 Thomas Deutschmann
2021-04-10 15:11 Thomas Deutschmann

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=1739611600.e3216034947b36f6d70bc2ce32782a4072f7619a.ulm@gentoo \
    --to=ulm@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