From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AFDE41582EF for ; Sat, 15 Feb 2025 09:30:03 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 98B9334305A for ; Sat, 15 Feb 2025 09:30:03 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id ACFF8110483; Sat, 15 Feb 2025 09:29:31 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id A1FF3110480 for ; Sat, 15 Feb 2025 09:29:31 +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 55142343088 for ; Sat, 15 Feb 2025 09:29:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EDF732729 for ; Sat, 15 Feb 2025 09:29:27 +0000 (UTC) From: "Ulrich Müller" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" Message-ID: <1739611600.e3216034947b36f6d70bc2ce32782a4072f7619a.ulm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/nextcloud-notify_push/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-apps/nextcloud-notify_push/nextcloud-notify_push-0.7.0-r1.ebuild X-VCS-Directories: www-apps/nextcloud-notify_push/ X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: e3216034947b36f6d70bc2ce32782a4072f7619a X-VCS-Branch: master Date: Sat, 15 Feb 2025 09:29:27 +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: 9545b336-60a6-4467-950e-d4f00a8866c6 X-Archives-Hash: f2a3dd37f9c7df7523980c7ff6126521 commit: e3216034947b36f6d70bc2ce32782a4072f7619a Author: Ulrich Müller gentoo org> AuthorDate: Fri Feb 14 14:12:21 2025 +0000 Commit: Ulrich Müller gentoo 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 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 }