Revert "app-backup/portage-snapper: add 0.3.1-r1, drop 0.3.1"

This reverts commit c569b82d7c.

Breaks AI policy: <https://wiki.gentoo.org/wiki/Project:Council/AI_policy

Acked-by: Sam James <sam@gentoo.org>
Signed-off-by: bakedsnake <bakedsnake@vagrantz.xyz>
This commit is contained in:
bakedsnake committed 2026-07-23 10:25:43 +02:00
1 parent f5015e2692
commit 1a84c04ce7
2 files changed
+34 -40

No files matched your search

@@ -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
}
@@ -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)."
}