From a7a90f43b05f3aeebdc90efe9b74799e3a482958 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Sun, 26 Jul 2026 17:27:29 +0200 Subject: [PATCH] app-backup/portage-snapper: Revert "add 0.3.1-r1, drop 0.3.0" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Blatant violation of AI policy, this time masked by removing the trailer. Reverts: fc0cbb887d55c42abf897a44b2450fdb6770224c Signed-off-by: Michał Górny --- app-backup/portage-snapper/Manifest | 2 +- .../portage-snapper-0.3.0.ebuild | 34 ++++++++++++++++ .../portage-snapper-0.3.1-r1.ebuild | 40 ------------------- 3 files changed, 35 insertions(+), 41 deletions(-) create mode 100644 app-backup/portage-snapper/portage-snapper-0.3.0.ebuild delete mode 100644 app-backup/portage-snapper/portage-snapper-0.3.1-r1.ebuild diff --git a/app-backup/portage-snapper/Manifest b/app-backup/portage-snapper/Manifest index 93f602db07..609834151c 100644 --- a/app-backup/portage-snapper/Manifest +++ b/app-backup/portage-snapper/Manifest @@ -1 +1 @@ -DIST portage-snapper-0.3.1.tar.gz 5609 BLAKE2B 7b9290d6eaa31c3cc666940bc2cf965b21404f970125e4bfb6da38eeeb51e4b7f353f8db811204a88a24f5a5d61a74efa74fa270d312734e89cda5a047007365 SHA512 cfcce8f97d5e48603d8301ea112de11f041ad067a17b588ec402b3205da06c53dbfaf4afd7ff0f53fe85bddee6a959fdbd06f00b7401a8f1ddae845a87bb8023 +DIST portage-snapper-0.3.0.tar.gz 5283 BLAKE2B 386d81ec247073f67aab3a07ab3cc045db9436bd4e6744106a412900fc2fd736392a8eac4243b0a7e9b45f5cb8250ba4cd8c006b77f0806722f8ee0ba9c923be SHA512 1dad1cd274223a69bbcb10481986568b50b9c8ffda0267fa4c53ea0b53e451ff0bf0280bc478681e4f34cdc788d47c341c6f8d0f3e24394a3eed43dc4a6379ce diff --git a/app-backup/portage-snapper/portage-snapper-0.3.0.ebuild b/app-backup/portage-snapper/portage-snapper-0.3.0.ebuild new file mode 100644 index 0000000000..41a1ad12b8 --- /dev/null +++ b/app-backup/portage-snapper/portage-snapper-0.3.0.ebuild @@ -0,0 +1,34 @@ +# Copyright 2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Snapper snapshots around Portage transactions, snap-pac style" +HOMEPAGE="https://github.com/ursm/portage-snapper" +SRC_URI="https://github.com/ursm/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="app-backup/snapper" + +src_install() { + emake DESTDIR="${D}" install + einstalldocs +} + +pkg_postinst() { + elog "The scripts are installed, but /etc/portage/ is left untouched." + elog "Enable portage-snapper manually:" + elog + elog " 1. Add to /etc/portage/bashrc:" + elog " source /usr/share/portage-snapper/hook.bash" + elog + elog " 2. Point /etc/portage/bin/post_emerge at it, e.g. as a symlink:" + elog " ln -s /usr/share/portage-snapper/post_emerge /etc/portage/bin/post_emerge" + elog " or call it from your own post_emerge wrapper." + elog + elog "Tune behavior in /etc/portage-snapper.conf. A configured snapper config" + elog "is required (default: root)." +} diff --git a/app-backup/portage-snapper/portage-snapper-0.3.1-r1.ebuild b/app-backup/portage-snapper/portage-snapper-0.3.1-r1.ebuild deleted file mode 100644 index d62b1648ff..0000000000 --- a/app-backup/portage-snapper/portage-snapper-0.3.1-r1.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="Snapper snapshots around Portage transactions, snap-pac style" -HOMEPAGE="https://github.com/ursm/portage-snapper" -SRC_URI="https://github.com/ursm/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" - -RDEPEND="app-backup/snapper" - -src_install() { - emake DESTDIR="${D}" install - einstalldocs -} - -pkg_postinst() { - # Enabling is a one-time manual step that touches nothing under - # /etc/portage/, so only show the setup guide on a fresh install. - # Repeating it on every upgrade would just be noise for users who - # have already wired it up. - if [[ -z ${REPLACING_VERSIONS} ]]; then - elog "The scripts are installed, but /etc/portage/ is left untouched." - elog "Enable portage-snapper manually:" - elog - elog " 1. Add to /etc/portage/bashrc:" - elog " source /usr/share/portage-snapper/hook.bash" - elog - elog " 2. Point /etc/portage/bin/post_emerge at it, e.g. as a symlink:" - elog " ln -s /usr/share/portage-snapper/post_emerge /etc/portage/bin/post_emerge" - elog " or call it from your own post_emerge wrapper." - elog - elog "Tune behavior in /etc/portage-snapper.conf. A configured snapper config" - elog "is required (default: root)." - fi -}