1 |
commit: 93385f1c2f76c653c8e00d874ed5c5814120c926 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 23 02:01:17 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 23 02:08:50 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93385f1c |
7 |
|
8 |
app-editors/nano: drop 6.2 |
9 |
|
10 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
11 |
|
12 |
app-editors/nano/Manifest | 1 - |
13 |
app-editors/nano/nano-6.2.ebuild | 93 ---------------------------------------- |
14 |
2 files changed, 94 deletions(-) |
15 |
|
16 |
diff --git a/app-editors/nano/Manifest b/app-editors/nano/Manifest |
17 |
index c5b73d5ebd4a..9df8f4a66755 100644 |
18 |
--- a/app-editors/nano/Manifest |
19 |
+++ b/app-editors/nano/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
-DIST nano-6.2.tar.gz 3146876 BLAKE2B be6dbc1f53890764184a701e97e792762600c892933830bfcb5c2c4eab19d659583fe797d7197c9045ea8912215aa5885a05f02c66194df17253d6788e0ba599 SHA512 5a59906664a88a03f215d8dba8f7e481fbaffc7bdf93c89ca997df7a8aba2cbb4d45ac84d11f03a796488b82b01ca75161a5ab49fd9115661575451b6ab018c4 |
22 |
DIST nano-6.3.tar.xz 1581772 BLAKE2B 92ef2acac0dacebc0bf8364bfee928a8394d8e4323e622ad6ba9d35bebd18d3976ab0ca747f7c9b5597874775b44ba4b5560e7392606aa68736158c2bda62b92 SHA512 42279bee54f4d83a0dc06e93c2f385798c304a41e995461b018f5724010213761455563cb53e2411e12bc43c7245e289f4254c359717ca1b89a34d5af8b8c3f3 |
23 |
DIST nano-6.4.tar.xz 1593804 BLAKE2B b59ff7a741ce4c8b31afdbbfaf1d704cccbceddcd7f1421f30a6dd40495ec456ca891aeb9777c070c6cce4e9c594f83798ff0cdacdfe06e81b0aa0b700033da3 SHA512 cff2d9d90f1a23ab8905320e651f8bbc9d38046153a4f64bbc21927687d9628135915468b00b28f88a0eb7d395d1bcb0b9b7abcf367e5a46a5f3da01d8d6e72b |
24 |
|
25 |
diff --git a/app-editors/nano/nano-6.2.ebuild b/app-editors/nano/nano-6.2.ebuild |
26 |
deleted file mode 100644 |
27 |
index c76f1abb21ba..000000000000 |
28 |
--- a/app-editors/nano/nano-6.2.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,93 +0,0 @@ |
31 |
-# Copyright 1999-2022 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=8 |
35 |
- |
36 |
-inherit flag-o-matic |
37 |
-if [[ ${PV} == "9999" ]] ; then |
38 |
- EGIT_REPO_URI="https://git.savannah.gnu.org/git/nano.git" |
39 |
- inherit git-r3 autotools |
40 |
-else |
41 |
- MY_P="${PN}-${PV/_}" |
42 |
- SRC_URI="https://www.nano-editor.org/dist/v${PV:0:1}/${MY_P}.tar.gz" |
43 |
- KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
44 |
-fi |
45 |
- |
46 |
-DESCRIPTION="GNU GPL'd Pico clone with more functionality" |
47 |
-HOMEPAGE="https://www.nano-editor.org/ https://wiki.gentoo.org/wiki/Nano/Basics_Guide" |
48 |
- |
49 |
-LICENSE="GPL-3" |
50 |
-SLOT="0" |
51 |
-IUSE="debug justify magic minimal ncurses nls +spell +split-usr static unicode" |
52 |
- |
53 |
-LIB_DEPEND=" |
54 |
- >=sys-libs/ncurses-5.9-r1:=[unicode(+)?] |
55 |
- sys-libs/ncurses:=[static-libs(+)] |
56 |
- magic? ( sys-apps/file[static-libs(+)] ) |
57 |
- nls? ( virtual/libintl )" |
58 |
-RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )" |
59 |
-DEPEND="${RDEPEND} |
60 |
- static? ( ${LIB_DEPEND} )" |
61 |
-BDEPEND=" |
62 |
- nls? ( sys-devel/gettext ) |
63 |
- virtual/pkgconfig |
64 |
-" |
65 |
- |
66 |
-REQUIRED_USE=" |
67 |
- magic? ( !minimal ) |
68 |
-" |
69 |
- |
70 |
-src_prepare() { |
71 |
- default |
72 |
- if [[ ${PV} == "9999" ]] ; then |
73 |
- eautoreconf |
74 |
- fi |
75 |
-} |
76 |
- |
77 |
-src_configure() { |
78 |
- use static && append-ldflags -static |
79 |
- local myconf=( |
80 |
- --bindir="${EPREFIX}"/bin |
81 |
- --htmldir=/trash |
82 |
- $(use_enable !minimal color) |
83 |
- $(use_enable !minimal multibuffer) |
84 |
- $(use_enable !minimal nanorc) |
85 |
- $(use_enable magic libmagic) |
86 |
- $(use_enable spell speller) |
87 |
- $(use_enable justify) |
88 |
- $(use_enable debug) |
89 |
- $(use_enable nls) |
90 |
- $(use_enable unicode utf8) |
91 |
- $(use_enable minimal tiny) |
92 |
- ) |
93 |
- econf "${myconf[@]}" |
94 |
-} |
95 |
- |
96 |
-src_install() { |
97 |
- default |
98 |
- # don't use "${ED}" here or things break (#654534) |
99 |
- rm -r "${D}"/trash || die |
100 |
- |
101 |
- dodoc doc/sample.nanorc |
102 |
- docinto html |
103 |
- dodoc doc/faq.html |
104 |
- insinto /etc |
105 |
- newins doc/sample.nanorc nanorc |
106 |
- if ! use minimal ; then |
107 |
- # Enable colorization by default. |
108 |
- sed -i \ |
109 |
- -e '/^# include /s:# *::' \ |
110 |
- "${ED}"/etc/nanorc || die |
111 |
- |
112 |
- # Since nano-5.0 these are no longer being "enabled" by default |
113 |
- # (bug #736848) |
114 |
- local rcdir="/usr/share/nano" |
115 |
- mv "${ED}"${rcdir}/extra/* "${ED}"/${rcdir}/ || die |
116 |
- rmdir "${ED}"${rcdir}/extra || die |
117 |
- |
118 |
- insinto "${rcdir}" |
119 |
- doins "${FILESDIR}/gentoo.nanorc" |
120 |
- fi |
121 |
- |
122 |
- use split-usr && dosym ../../bin/nano /usr/bin/nano |
123 |
-} |