1 |
commit: 36197da085ac71086be1971796e1e3998460664f |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jul 29 07:54:21 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jul 29 07:54:21 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36197da0 |
7 |
|
8 |
app-editors/nano: Removed old. |
9 |
|
10 |
Package-Manager: Portage-2.3.69, Repoman-2.3.16 |
11 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
12 |
|
13 |
app-editors/nano/Manifest | 1 - |
14 |
app-editors/nano/nano-3.2.ebuild | 83 ---------------------------------------- |
15 |
2 files changed, 84 deletions(-) |
16 |
|
17 |
diff --git a/app-editors/nano/Manifest b/app-editors/nano/Manifest |
18 |
index a60dce5f73e..0903871775f 100644 |
19 |
--- a/app-editors/nano/Manifest |
20 |
+++ b/app-editors/nano/Manifest |
21 |
@@ -1,3 +1,2 @@ |
22 |
-DIST nano-3.2.tar.gz 2944045 BLAKE2B 8d29d574ebf543f82608d4df26f551c0b3c77863b2ac8cfd0d3aea45340954abe6221069c9c72beab256c2c8cc4fcd3de27804404d97a98144c69ad26223de09 SHA512 33b3bbc5b5044b4003347e87926046fb5a0e83edfd6de858085526b7eaa9ea7ee26a598da00060a6b62edbd0366c7cb06b5a9878f6f0149a9501e4ada80b88f3 |
23 |
DIST nano-4.2.tar.gz 2928595 BLAKE2B 42bb0ccbf4961706c6c645eb2310a646a7decd3617117a079ffe9e3718c8054ab823a5aff3e543c06c4c398f83579a679267a9ad6f113ba451b76d67e14b07cc SHA512 a5dd9ce96cd09d12c65108ea6a18b2cf1c2b055929e58d3e84beb0725607b4b5a3f8ae3fda0ab658c853cc4cac70c089fee716e1bb5a700f2506a7a3e1bea1bd |
24 |
DIST nano-4.3.tar.gz 2939418 BLAKE2B 2464118a1cd16477637a8e98c1d179cbea1f33cc1548eff09b3b77b613b5b2b628915da1d11c04064f7211a0254461eab09ddae6dda582004d77adea9dff2360 SHA512 2fb76e61079efb0a16f3ea27fdc7da749c71d61a752d96beee4f8376ad0071792ecaa5f3dc627fbcce175227ca48c60c1a4a3e17bfbc89180aa484c28fe37746 |
25 |
|
26 |
diff --git a/app-editors/nano/nano-3.2.ebuild b/app-editors/nano/nano-3.2.ebuild |
27 |
deleted file mode 100644 |
28 |
index 9c28db49f39..00000000000 |
29 |
--- a/app-editors/nano/nano-3.2.ebuild |
30 |
+++ /dev/null |
31 |
@@ -1,83 +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 |
-inherit flag-o-matic |
38 |
-if [[ ${PV} == "9999" ]] ; then |
39 |
- EGIT_REPO_URI="git://git.sv.gnu.org/nano.git" |
40 |
- inherit git-r3 autotools |
41 |
-else |
42 |
- MY_P="${PN}-${PV/_}" |
43 |
- SRC_URI="https://www.nano-editor.org/dist/v${PV:0:1}/${MY_P}.tar.gz" |
44 |
- KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
45 |
-fi |
46 |
- |
47 |
-DESCRIPTION="GNU GPL'd Pico clone with more functionality" |
48 |
-HOMEPAGE="https://www.nano-editor.org/ https://wiki.gentoo.org/wiki/Nano/Basics_Guide" |
49 |
- |
50 |
-LICENSE="GPL-3" |
51 |
-SLOT="0" |
52 |
-IUSE="debug justify +magic minimal ncurses nls slang +spell +split-usr static unicode" |
53 |
- |
54 |
-LIB_DEPEND=">=sys-libs/ncurses-5.9-r1:0=[unicode?] |
55 |
- sys-libs/ncurses:0=[static-libs(+)] |
56 |
- magic? ( sys-apps/file[static-libs(+)] ) |
57 |
- nls? ( virtual/libintl ) |
58 |
- !ncurses? ( slang? ( sys-libs/slang[static-libs(+)] ) )" |
59 |
-RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )" |
60 |
-DEPEND="${RDEPEND} |
61 |
- nls? ( sys-devel/gettext ) |
62 |
- virtual/pkgconfig |
63 |
- static? ( ${LIB_DEPEND} )" |
64 |
- |
65 |
-src_prepare() { |
66 |
- default |
67 |
- if [[ ${PV} == "9999" ]] ; then |
68 |
- eautoreconf |
69 |
- fi |
70 |
-} |
71 |
- |
72 |
-src_configure() { |
73 |
- use static && append-ldflags -static |
74 |
- local myconf=( |
75 |
- --bindir="${EPREFIX}"/bin |
76 |
- --htmldir=/trash |
77 |
- $(use_enable !minimal color) |
78 |
- $(use_enable !minimal multibuffer) |
79 |
- $(use_enable !minimal nanorc) |
80 |
- --disable-wrapping-as-root |
81 |
- $(use_enable magic libmagic) |
82 |
- $(use_enable spell speller) |
83 |
- $(use_enable justify) |
84 |
- $(use_enable debug) |
85 |
- $(use_enable nls) |
86 |
- $(use_enable unicode utf8) |
87 |
- $(use_enable minimal tiny) |
88 |
- $(usex ncurses --without-slang $(use_with slang)) |
89 |
- ) |
90 |
- case ${CHOST} in |
91 |
- *-gnu*|*-uclibc*) myconf+=( "--with-wordbounds" ) ;; #467848 |
92 |
- esac |
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 |
- fi |
112 |
- |
113 |
- use split-usr && dosym ../../bin/nano /usr/bin/nano |
114 |
-} |