Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-admin/customrescuecd-x86/
Date: Fri, 23 Oct 2020 14:51:53
Message-Id: 1603461760.9725c9c32848f0828b1b491108fa8ed493f9c1b1.andrewammerlaan@gentoo
1 commit: 9725c9c32848f0828b1b491108fa8ed493f9c1b1
2 Author: Andrea Postiglione <andrea.postiglione <AT> gmail <DOT> com>
3 AuthorDate: Fri Oct 23 14:02:40 2020 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Fri Oct 23 14:02:40 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9725c9c3
7
8 app-admin/customrescuecd-x86: drop old versions
9
10 Signed-off-by: Andrea Postiglione <andrea.postiglione <AT> gmail.com>
11
12 app-admin/customrescuecd-x86/Manifest | 2 -
13 .../customrescuecd-x86-0.3.1.ebuild | 55 ----------------------
14 .../customrescuecd-x86-0.4.0.ebuild | 55 ----------------------
15 3 files changed, 112 deletions(-)
16
17 diff --git a/app-admin/customrescuecd-x86/Manifest b/app-admin/customrescuecd-x86/Manifest
18 index 17dfa9e8..c9378b19 100644
19 --- a/app-admin/customrescuecd-x86/Manifest
20 +++ b/app-admin/customrescuecd-x86/Manifest
21 @@ -1,3 +1 @@
22 -DIST CUSTOMRESCUECD-x86-0.3.1.iso 1426063360 BLAKE2B 8116b657aed9f5fb9ac0d56f6284bc45a4e050ad7e84cd4cb7c5217b07c9151c82776589aefa3c030cf766106bca7948d48cde2055c408c4e32ea081297b6117 SHA512 3aa0d2ab54920a19046fc1038313e01a99287301b06f25b1346c54d680c4ca2395e9c9010b3299cdc94a0198ec0f63209d09a1d086243e3b82216e7f4d63e0e6
23 -DIST CUSTOMRESCUECD-x86-0.4.0.iso 1322811392 BLAKE2B f93550977a41d1d19a35f7ff2cc2cb7cdd94eb1ca1ade9fed6db7d7963297366b839c5590a17f85f2dec13e86588d651e94792dd12064f094eaffe3608117e03 SHA512 45bb47fc2b72e653c8f9d23a483aa5c59a92aabd306240d06f33d1c7249c905d7961670cbefc6d9d132a9a5fe1fdc7743ee3f1356a8e58724fea6a3073b08a86
24 DIST CUSTOMRESCUECD-x86-0.4.1.iso 1322811392 BLAKE2B bd63d40baf6426ed525c13e91ce65469f8f2a263072003c4dc1adea1ca75f894d2517c94063488fa75e1fa6012202ddbbf5281378c17a26edad683ce49996391 SHA512 46f1a2f20697b666fc4506abb405a8ebf58b63a83c5faacfc70e352c9eb9cd4a75ca742ac0011119e8baadd6fb467cfb306d8009994dbf2879a45486ccfe57bc
25
26 diff --git a/app-admin/customrescuecd-x86/customrescuecd-x86-0.3.1.ebuild b/app-admin/customrescuecd-x86/customrescuecd-x86-0.3.1.ebuild
27 deleted file mode 100644
28 index 4c3a5f62..00000000
29 --- a/app-admin/customrescuecd-x86/customrescuecd-x86-0.3.1.ebuild
30 +++ /dev/null
31 @@ -1,55 +0,0 @@
32 -# Copyright 1999-2019 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -MY_P="CUSTOMRESCUECD-x86"
38 -DESCRIPTION="A system rescue cd or usbstick for desktop and server based on gentoo"
39 -HOMEPAGE="https://sourceforge.net/projects/customrescuecd"
40 -SRC_URI="mirror://sourceforge/customrescuecd/"${MY_P}"-"${PV}".iso"
41 -
42 -LICENSE="GPL-3"
43 -SLOT="${PV}"
44 -KEYWORDS="~x86"
45 -RESTRICT="bindist mirror"
46 -
47 -S=${WORKDIR}
48 -
49 -src_unpack() { :; }
50 -
51 -src_install() {
52 - insinto "/usr/share/${PN%-*}"
53 - doins "${DISTDIR}/${MY_P}-${PV}.iso"
54 -}
55 -
56 -pkg_postinst() {
57 - local f=${EROOT%/}/usr/share/${PN%-*}/${PN}-newest.iso
58 -
59 - # no version newer than ours? we're the newest!
60 - if ! has_version ">${CATEGORY}/${PF}"; then
61 - ln -f -s -v "${MY_P}-${PV}.iso" "${f}" || die
62 - fi
63 -}
64 -
65 -pkg_postrm() {
66 - local f=${EROOT%/}/usr/share/${PN%-*}/${PN}-newest.iso
67 -
68 - # if there is no version newer than ours installed
69 - if ! has_version ">${CATEGORY}/${PF}"; then
70 - # and we are truly and completely uninstalled...
71 - if [[ ! ${REPLACED_BY_VERSION} ]]; then
72 - # then find an older version to set the symlink to
73 - local newest_version=$(best_version "<${CATEGORY}/${PF}")
74 -
75 - if [[ ${newest_version} ]]; then
76 - # update the symlink
77 - ln -f -s -v "${newest_version%-r*}.iso" "${f}" || die
78 - else
79 - # last version removed? clean up the symlink
80 - rm -v "${f}" || die
81 - # and the parent directory
82 - rmdir "${f%/*}" || die
83 - fi
84 - fi
85 - fi
86 -}
87
88 diff --git a/app-admin/customrescuecd-x86/customrescuecd-x86-0.4.0.ebuild b/app-admin/customrescuecd-x86/customrescuecd-x86-0.4.0.ebuild
89 deleted file mode 100644
90 index 4c3a5f62..00000000
91 --- a/app-admin/customrescuecd-x86/customrescuecd-x86-0.4.0.ebuild
92 +++ /dev/null
93 @@ -1,55 +0,0 @@
94 -# Copyright 1999-2019 Gentoo Authors
95 -# Distributed under the terms of the GNU General Public License v2
96 -
97 -EAPI=7
98 -
99 -MY_P="CUSTOMRESCUECD-x86"
100 -DESCRIPTION="A system rescue cd or usbstick for desktop and server based on gentoo"
101 -HOMEPAGE="https://sourceforge.net/projects/customrescuecd"
102 -SRC_URI="mirror://sourceforge/customrescuecd/"${MY_P}"-"${PV}".iso"
103 -
104 -LICENSE="GPL-3"
105 -SLOT="${PV}"
106 -KEYWORDS="~x86"
107 -RESTRICT="bindist mirror"
108 -
109 -S=${WORKDIR}
110 -
111 -src_unpack() { :; }
112 -
113 -src_install() {
114 - insinto "/usr/share/${PN%-*}"
115 - doins "${DISTDIR}/${MY_P}-${PV}.iso"
116 -}
117 -
118 -pkg_postinst() {
119 - local f=${EROOT%/}/usr/share/${PN%-*}/${PN}-newest.iso
120 -
121 - # no version newer than ours? we're the newest!
122 - if ! has_version ">${CATEGORY}/${PF}"; then
123 - ln -f -s -v "${MY_P}-${PV}.iso" "${f}" || die
124 - fi
125 -}
126 -
127 -pkg_postrm() {
128 - local f=${EROOT%/}/usr/share/${PN%-*}/${PN}-newest.iso
129 -
130 - # if there is no version newer than ours installed
131 - if ! has_version ">${CATEGORY}/${PF}"; then
132 - # and we are truly and completely uninstalled...
133 - if [[ ! ${REPLACED_BY_VERSION} ]]; then
134 - # then find an older version to set the symlink to
135 - local newest_version=$(best_version "<${CATEGORY}/${PF}")
136 -
137 - if [[ ${newest_version} ]]; then
138 - # update the symlink
139 - ln -f -s -v "${newest_version%-r*}.iso" "${f}" || die
140 - else
141 - # last version removed? clean up the symlink
142 - rm -v "${f}" || die
143 - # and the parent directory
144 - rmdir "${f%/*}" || die
145 - fi
146 - fi
147 - fi
148 -}