mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-10-12 17:51:11 -04:00
app-backup/portage-snapper: Revert "add 0.3.1-r1, drop 0.3.0"
Blatant violation of AI policy, this time masked by removing
the trailer.
Reverts: fc0cbb887d
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
3 files changed
+35
-41
No files matched your search
@@ -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
|
||||
@@ -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)."
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user