1 |
commit: 7bddda28f38e3b487fef484cd1bc6f07308ae0e8 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 5 12:19:12 2021 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 5 12:19:12 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7bddda28 |
7 |
|
8 |
app-editors/nano: Removed old |
9 |
|
10 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
11 |
|
12 |
app-editors/nano/Manifest | 1 - |
13 |
app-editors/nano/nano-5.6.1-r2.ebuild | 90 ----------------------------------- |
14 |
2 files changed, 91 deletions(-) |
15 |
|
16 |
diff --git a/app-editors/nano/Manifest b/app-editors/nano/Manifest |
17 |
index 27609301a35..8b3194b5ca7 100644 |
18 |
--- a/app-editors/nano/Manifest |
19 |
+++ b/app-editors/nano/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
-DIST nano-5.6.1.tar.gz 2957693 BLAKE2B dbd1a63b6e0997a30a2ef40ad3248a7f53e2613d4662d5b9fc585bd0e2dfe78f8e8c71354e1a5bbf043ca99e0a69742df7846656d1f0706af79bcbfc53b6d1a6 SHA512 e27ca4411472409bd6ff8d812405e4d8aa869c1348c0a6adbb1c538fb5bdd112b322ef6d8a13df0b43c472d925b94111ac676d03f360d79181dee335a4fd09cf |
22 |
DIST nano-5.8.tar.gz 3038948 BLAKE2B 126976539e8ab3a7be986edc7422bc58d31e0c81dffbf34c9b701d09d268233ed0de4f07ac8d2dd0963b768cce4e2afe89a4f8ed9fd216a71ebac98c7f403deb SHA512 dd3a7e328f256052707c4d28f2ca32f9e44de123e3dee3c0747fbab222d215b2a895c403b9274fd286e19477b8be3314fc83167eec32194370105b1e70c05a3f |
23 |
DIST nano-5.9.tar.gz 3093675 BLAKE2B d4fa2f0e64b6ab243a2b127ff894e900098f6261f5d46657ff3459cc0b51683a63fc5de54bd4545b47bc16c633b09142f8501b84a09df3e8123da5233a063766 SHA512 61bf4de300579bc6f0028a2237e105228d8657819c02f32c7ef8f84f9c54734df8fb9a9cddbce0f7721ebc5ac8ae4799c118291ae15480082f8b1317019a485d |
24 |
|
25 |
diff --git a/app-editors/nano/nano-5.6.1-r2.ebuild b/app-editors/nano/nano-5.6.1-r2.ebuild |
26 |
deleted file mode 100644 |
27 |
index 64cdf0ed0eb..00000000000 |
28 |
--- a/app-editors/nano/nano-5.6.1-r2.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,90 +0,0 @@ |
31 |
-# Copyright 1999-2021 Gentoo Authors |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=7 |
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 ~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 |
- fi |
118 |
- |
119 |
- use split-usr && dosym ../../bin/nano /usr/bin/nano |
120 |
-} |