diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-02-12 12:38:49 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-02-12 12:39:03 -0500 |
commit | 5815ecbb9e1f5e5539b38258cba3b01192b18214 (patch) | |
tree | 0ad93e34334e48aaeb876362cbd4c4022f566ec1 /app-editors/nano | |
parent | app-editor/nano: version bump to 2.5.2 (diff) | |
download | gentoo-5815ecbb9e1f5e5539b38258cba3b01192b18214.tar.gz gentoo-5815ecbb9e1f5e5539b38258cba3b01192b18214.tar.bz2 gentoo-5815ecbb9e1f5e5539b38258cba3b01192b18214.zip |
app-editor/nano: drop old <2.4.3 versions
Diffstat (limited to 'app-editors/nano')
-rw-r--r-- | app-editors/nano/Manifest | 4 | ||||
-rw-r--r-- | app-editors/nano/files/awk.nanorc | 38 | ||||
-rw-r--r-- | app-editors/nano/files/css.nanorc | 9 | ||||
-rw-r--r-- | app-editors/nano/files/gentoo.nanorc | 50 | ||||
-rw-r--r-- | app-editors/nano/files/nano-2.4.0-no-speller.patch | 88 | ||||
-rw-r--r-- | app-editors/nano/files/xml.nanorc | 9 | ||||
-rw-r--r-- | app-editors/nano/nano-2.3.6.ebuild | 79 | ||||
-rw-r--r-- | app-editors/nano/nano-2.4.0.ebuild | 80 | ||||
-rw-r--r-- | app-editors/nano/nano-2.4.1.ebuild | 79 | ||||
-rw-r--r-- | app-editors/nano/nano-2.4.2.ebuild | 83 |
10 files changed, 0 insertions, 519 deletions
diff --git a/app-editors/nano/Manifest b/app-editors/nano/Manifest index 2b30e71f0392..0fd52b0589eb 100644 --- a/app-editors/nano/Manifest +++ b/app-editors/nano/Manifest @@ -1,7 +1,3 @@ -DIST nano-2.3.6.tar.gz 1816012 SHA256 a74bf3f18b12c1c777ae737c0e463152439e381aba8720b4bc67449f36a09534 SHA512 00d66dbbd1ee59b3d606af8688599ce627aa98cee494611e255293347b9aa4f3f583820ac28adae5f7209410a28669cdd5211258411d83364d3eb788d909bb73 WHIRLPOOL 6900e40e41f7bbd23a0dc76fe24bbf29c46b65bead328cb574008045f397e92643a7cee35605ef044e1921029dca54e49831548828490abbf24b2c63f0f9092b -DIST nano-2.4.0.tar.gz 1886052 SHA256 5076fb502680503e648cbdcbf2077e39fba193420ae19203f0a54cb2d94a75bd SHA512 7f079e307521a47405ba6d107d481df6869dbd7ea9297de6c69e831d00335cee403ac3ec1ef3578488cbec65c2e2ddec15edfddd45071f0fb4e2eccc94cbef1d WHIRLPOOL 1e4aaaa67c44bf051210b9c65db80c30189606fc2ba0d3e1a6802a41e7244901e60858ad412a0c6ee6e0eaa90d65925d8c954b398387cc12109a626811d8ad07 -DIST nano-2.4.1.tar.gz 1890805 SHA256 6a0ceb5e1b9b9bea72d5d1f46488ace4782b1f198ea6ba558480a86d994f29d2 SHA512 0e2bc99627682350496853b2dc8d3d4c25303b3723fd1dec2e26f2860b21d0f4c6cb99810517fc4e86312f3bec5481c327afab84dac55f4c388799453e6f5f11 WHIRLPOOL 3c3decdd0c94c33a2cb3854e6b8cda4082a9a98d55d8e1d256ec73febaa0de597d41b1f63c18cb6308fb7174b6ced0995434697f6c05a2efb53e3588f2ca7d8a -DIST nano-2.4.2.tar.gz 1898633 SHA256 c8cd7f18fcf5696d9df3364ee2a840e0ab7b6bdbd22abf850bbdc951db7f65b9 SHA512 487b03b33ac8fac4a774223e038b00463ca03e08093c506b10f4df56795039eff1c23518c1a4f32695cee1bb9bb5eb0a2dd3e1f8a9befcc573e7fca3d69fa9d3 WHIRLPOOL ac5942114a48d428e64db47afb919feef506e18da8b21627ea421e59bf3c235083b17ffaf7a6e510193b6617c0e2ad9d2460f64d5d8bbd6b828547bcd41b5c7c DIST nano-2.4.3.tar.gz 1878096 SHA256 32d627072b6026678e4f4095c047adec92ac7ec542dd6d91cf27f49b601768f2 SHA512 53c9f93b0f001a3d6c292a6995d66b6bcca033407b6b69995c62b9e9f721fd5566fbd0e22ece1b2561a47e56ef19c3f1ee196e23edfe832289704e0ebef45de9 WHIRLPOOL cd2e4d7175521835c71f0338a2115d2d9fec4da1d4eb2abbb633cfef907fde69fb12acd5e0db343d1f90945f05d60abb85daa5a045d9b97ef8cd19fb9b226607 DIST nano-2.5.0.tar.gz 1909625 SHA256 ff323e6fef74caf0a924304841c07ac65ec30db99dc5c1f8272b4c536a5c89ee SHA512 f05f1afa6a79ff6b87359c46fbdaf6161eacdc265ac6be155a0173e3ab5a17023e205d0b9667a942e754556182a9007fe4438f337a830d20b9546aad9d522ba6 WHIRLPOOL 29fbb67ce561da8255dca70d7554d604094a21e89e39ce94fadb67bc3236550ea1ee3f08838616deed8a4e37657df0ef6d320c701cc77a086d8d1ce2dae43d1d DIST nano-2.5.2.tar.gz 1964016 SHA256 89bd6ac5120880d2a95431d8bad22bf92c7ccbf10b8f1716d4ea062f3faeeb41 SHA512 ec4e35cfb23494dd09c23b195556dfb36b9329007d61bdfe6a25a43c9914e432160969c92ed991bb2221ea5facd5ae1c1e9aef0029dfa259d827b7ea4943a1d3 WHIRLPOOL 3963ed7fad9296ea0d85300dc7ad518a33e2b793d9b94e98056a4c82c9b7984ef187dfa10653f787b262755521321c1e2c37562c1f95cfd338927329c6d0aa97 diff --git a/app-editors/nano/files/awk.nanorc b/app-editors/nano/files/awk.nanorc deleted file mode 100644 index 696ab6ad727c..000000000000 --- a/app-editors/nano/files/awk.nanorc +++ /dev/null @@ -1,38 +0,0 @@ -## Here is an example for awk. -## -syntax "awk" "\.awk$" -## records -icolor brightred "\$[0-9A-Z_!@#$*?-]+" -## awk-set variables -color red "\<(ARGC|ARGIND|ARGV|BINMODE|CONVFMT|ENVIRON|ERRNO|FIELDWIDTHS)\>" -color red "\<(FILENAME|FNR|FS|IGNORECASE|LINT|NF|NR|OFMT|OFS|ORS)\>" -color red "\<(PROCINFO|RS|RT|RSTART|RLENGTH|SUBSEP|TEXTDOMAIN)\>" -## function declarations and special patterns -color brightgreen "\<(function|extension|BEGIN|END)\>" -## operators -color green "(\{|\}|\(|\)|\;|\]|\[|\\|<|>|!|=|&|\+|-|\*|%|/|\?:|\^|\|)" -## flow control -color brightyellow "\<(for|if|while|do|else|in|delete|exit)\>" -color brightyellow "\<(break|continue|return)\>" -## I/O statements -color brightgreen "\<(close|getline|next|nextfile|print|printf)\>" -color brightgreen "\<(system|fflush)\>" -## standard functions -color magenta "\<(atan2|cos|exp|int|log|rand|sin|sqrt|srand)\>" -color magenta "\<(asort|asorti|gensub|gsub|index|length|match)\>" -color magenta "\<(split|sprintf|strtonum|sub|substr|tolower|toupper)\>" -color magenta "\<(mktime|strftime|systime)\>" -color magenta "\<(and|compl|lshift|or|rshift|xor)\>" -color magenta "\<(bindtextdomain|dcgettext|dcngettext)\>" - -## -## String highlighting. You will in general want your comments and -## strings to come last, because syntax highlighting rules will be -## applied in the order they are read in. -color brightyellow "<[^= ]*>" ""(\\.|[^"])*"" - -## Comment highlighting -color brightblue "(^|[[:space:]])#.*$" - -## Trailing whitespace -color ,green "[[:space:]]+$" diff --git a/app-editors/nano/files/css.nanorc b/app-editors/nano/files/css.nanorc deleted file mode 100644 index 62126e8a7833..000000000000 --- a/app-editors/nano/files/css.nanorc +++ /dev/null @@ -1,9 +0,0 @@ -## Here is an example for css files. -## -syntax "css" "\.css$" -color brightred "." -color brightyellow start="\{" end="\}" -color brightwhite start=":" end="[;^\{]" -color brightblue ":active|:focus|:hover|:link|:visited|:link|:after|:before|$" -color brightblue start="\/\*" end="\\*/" -color green ";|:|\{|\}" diff --git a/app-editors/nano/files/gentoo.nanorc b/app-editors/nano/files/gentoo.nanorc deleted file mode 100644 index f08d2e9027ce..000000000000 --- a/app-editors/nano/files/gentoo.nanorc +++ /dev/null @@ -1,50 +0,0 @@ -## Here is an example for ebuilds/eclasses -## -syntax "ebuild" "\.e(build|class)$" -## All the standard portage functions -color brightgreen "^src_(unpack|compile|install|test)" "^pkg_(config|nofetch|setup|(pre|post)(inst|rm))" -## Highlight bash related syntax -color green "\<(case|do|done|elif|else|esac|exit|fi|for|function|if|in|local|read|return|select|shift|then|time|until|while|continue|break)\>" -color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)" -color green "-(e|d|f|r|g|u|w|x|L)\>" -color green "-(eq|ne|gt|lt|ge|le|s|n|z)\>" -## Highlight variables ... official portage ones in red, all others in bright red -color brightred "\$\{?[a-zA-Z_0-9]+\}?" -color red "\<(ARCH|HOMEPAGE|DESCRIPTION|IUSE|SRC_URI|LICENSE|SLOT|KEYWORDS|FILESDIR|WORKDIR|(P|R)?DEPEND|PROVIDE|DISTDIR|RESTRICT|USERLAND)\>" -color red "\<(S|D|T|PV|PF|P|PN|A)\>" "\<C(XX)?FLAGS\>" "\<LDFLAGS\>" "\<C(HOST|TARGET|BUILD)\>" -## Highlight portage commands -color magenta "\<use(_(with|enable))?\> [!a-zA-Z0-9_+ -]*" "inherit.*" -color brightblue "\<e(begin|end|conf|install|make|warn|infon?|error|log|patch|new(group|user))\>" -color brightblue "\<die\>" "\<use(_(with|enable))?\>" "\<inherit\>" "\<has\>" "\<(has|best)_version\>" "\<unpack\>" -color brightblue "\<(do|new)(ins|s?bin|doc|lib(|\.so|\.a)|man|info|exe|initd|confd|envd|pam|menu|icon)\>" -color brightblue "\<do(header|python|sed|dir|hard|sym|html|jar|mo)\>" "\<keepdir\>" -color brightblue "prepall(|docs|info|man|strip)" "prep(info|lib|lib\.(so|a)|man|strip)" -color brightblue "\<(|doc|ins|exe)into\>" "\<f(owners|perms)\>" "\<(exe|ins|dir)opts\>" "\<usex\>" -## Highlight common commands used in ebuilds -color blue "\<make\>" "\<(cat|cd|chmod|chown|cp|echo|env|export|grep|let|ln|mkdir|mv|rm|sed|set|tar|touch|unset)\>" -## Highlight comments (doesnt work that well) -color yellow "#.*$" -## Highlight strings (doesnt work that well) -color brightyellow ""(\\.|[^\"])*"" "'(\\.|[^'])*'" -## Trailing space is bad! -color ,green "[[:space:]]+$" - -## Here is an example for Portage control files -## -syntax "/etc/portage" "\.(keywords|mask|unmask|use)$" -## Base text: -color green "^.+$" -## Use flags: -color brightred "[[:space:]]+\+?[a-zA-Z0-9_-]+" -color brightblue "[[:space:]]+-[a-zA-Z0-9_-]+" -## Likely version numbers: -color magenta "-[[:digit:]].*([[:space:]]|$)" -## Accepted arches: -color white "[~-]?\<(alpha|amd64|arm|hppa|ia64|mips|ppc|ppc64|s390|sh|sparc|x86|x86-fbsd)\>" -color white "[[:space:]][~-]?\*" -## Categories: -color cyan "^[[:space:]]*.*/" -## Masking regulators: -color brightmagenta "^[[:space:]]*(=|~|<|<=|=<|>|>=|=>)" -## Comments: -color yellow "#.*$" diff --git a/app-editors/nano/files/nano-2.4.0-no-speller.patch b/app-editors/nano/files/nano-2.4.0-no-speller.patch deleted file mode 100644 index 4405266bb0af..000000000000 --- a/app-editors/nano/files/nano-2.4.0-no-speller.patch +++ /dev/null @@ -1,88 +0,0 @@ -https://bugs.gentoo.org/show_bug.cgi?id=544296 -https://savannah.gnu.org/bugs/?44607 - -From 14a9c8aa0b124dc580c4805e848e6ff0880b43bd Mon Sep 17 00:00:00 2001 -From: Benno Schulenberg <bensberg@justemail.net> -Date: Fri, 27 Mar 2015 16:55:49 +0000 -Subject: [PATCH] Treating the formatter like a speller, to fix compilation - with --disable-speller. This fixes Savannah bug #44607. - -git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@5168 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 ---- - ChangeLog | 2 ++ - src/global.c | 10 ++++++++-- - src/text.c | 3 ++- - 3 files changed, 12 insertions(+), 3 deletions(-) - -ChangeLog - * src/global.c, src/text.c: Treat the formatter like a speller, to fix - compilation with --disable-speller. Fixes Savannah bug #44607. - -diff --git a/src/global.c b/src/global.c -index 4643af2..27ff938 100644 ---- a/src/global.c -+++ b/src/global.c -@@ -639,8 +639,10 @@ void shortcut_init(void) - const char *nano_lint_msg = N_("Invoke the linter, if available"); - const char *nano_prevlint_msg = N_("Go to previous linter msg"); - const char *nano_nextlint_msg = N_("Go to next linter msg"); -+#ifndef DISABLE_SPELLER - const char *nano_formatter_msg = N_("Invoke formatter, if available"); - #endif -+#endif - #endif /* !DISABLE_HELP */ - - #ifndef DISABLE_HELP -@@ -736,9 +738,11 @@ void shortcut_init(void) - #ifndef DISABLE_COLOR - add_to_funcs(do_linter, MMAIN, - N_("To Linter"), IFSCHELP(nano_lint_msg), TOGETHER, NOVIEW); -+#ifndef DISABLE_SPELLER - add_to_funcs(do_formatter, MMAIN, - N_("Formatter"), IFSCHELP(nano_formatter_msg), BLANKAFTER, NOVIEW); - #endif -+#endif - - #ifndef NANO_TINY - add_to_funcs(case_sens_void, MWHEREIS|MREPLACE, -@@ -1006,12 +1010,14 @@ void shortcut_init(void) - #ifndef DISABLE_SPELLER - add_to_sclist(MMAIN, "^T", do_spell, 0); - add_to_sclist(MMAIN, "F12", do_spell, 0); -+#ifndef DISABLE_COLOR -+ add_to_sclist(MMAIN, "^T", do_formatter, 0); -+ add_to_sclist(MMAIN, "F12", do_formatter, 0); -+#endif - #else - #ifndef DISABLE_COLOR - add_to_sclist(MMAIN, "^T", do_linter, 0); - add_to_sclist(MMAIN, "F12", do_linter, 0); -- add_to_sclist(MMAIN, "^T", do_formatter, 0); -- add_to_sclist(MMAIN, "F12", do_formatter, 0); - #endif - #endif - add_to_sclist(MMAIN, "^C", do_cursorpos_void, 0); -diff --git a/src/text.c b/src/text.c -index 8814b49..98b2f80 100644 ---- a/src/text.c -+++ b/src/text.c -@@ -3223,6 +3223,7 @@ free_lints_and_return: - lint_cleanup(); - } - -+#ifndef DISABLE_SPELLER - /* Run a formatter for the given syntax. - * Expects the formatter to be non-interactive and - * operate on a file in-place, which we'll pass it -@@ -3370,7 +3371,7 @@ void do_formatter(void) - - statusbar(finalstatus); - } -- -+#endif /* !DISABLE_SPELLER */ - #endif /* !DISABLE_COLOR */ - - #ifndef NANO_TINY --- -2.3.3 - diff --git a/app-editors/nano/files/xml.nanorc b/app-editors/nano/files/xml.nanorc deleted file mode 100644 index 1f68c05341ad..000000000000 --- a/app-editors/nano/files/xml.nanorc +++ /dev/null @@ -1,9 +0,0 @@ -## Here is an example for xml files. -## -syntax "xml" "\.([jrs]html?|sgml?|xml|xslt?)$" -color green start="<" end=">" -color cyan "<[^> ]+" -color cyan ">" -color yellow start="<!DOCTYPE" end="[/]?>" -color yellow start="<!--" end="-->" -color red "&[^;]*;" diff --git a/app-editors/nano/nano-2.3.6.ebuild b/app-editors/nano/nano-2.3.6.ebuild deleted file mode 100644 index ee21f62673e8..000000000000 --- a/app-editors/nano/nano-2.3.6.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="4" - -inherit eutils -if [[ ${PV} == "9999" ]] ; then - ESVN_REPO_URI="svn://svn.savannah.gnu.org/nano/trunk/nano" - inherit subversion autotools -else - MY_P=${PN}-${PV/_} - SRC_URI="http://www.nano-editor.org/dist/v${PV:0:3}/${MY_P}.tar.gz" - KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi - -DESCRIPTION="GNU GPL'd Pico clone with more functionality" -HOMEPAGE="http://www.nano-editor.org/ https://wiki.gentoo.org/wiki/Nano/Basics_Guide" - -LICENSE="GPL-3" -SLOT="0" -IUSE="debug justify +magic minimal ncurses nls slang +spell unicode" - -RDEPEND=">=sys-libs/ncurses-5.9-r1[unicode?] - magic? ( sys-apps/file ) - nls? ( virtual/libintl ) - !ncurses? ( slang? ( sys-libs/slang ) )" -DEPEND="${RDEPEND} - nls? ( sys-devel/gettext ) - virtual/pkgconfig" - -src_prepare() { - if [[ ${PV} == "9999" ]] ; then - eautoreconf - fi - epatch_user -} - -src_configure() { - eval export ac_cv_{header_magic_h,lib_magic_magic_open}=$(usex magic) - local myconf=() - case ${CHOST} in - *-gnu*|*-uclibc*) myconf+=( "--with-wordbounds" ) ;; #467848 - esac - econf \ - --bindir="${EPREFIX}"/bin \ - --htmldir=/trash \ - $(use_enable !minimal color) \ - $(use_enable !minimal multibuffer) \ - $(use_enable !minimal nanorc) \ - --disable-wrapping-as-root \ - $(use_enable spell speller) \ - $(use_enable justify) \ - $(use_enable debug) \ - $(use_enable nls) \ - $(use_enable unicode utf8) \ - $(use_enable minimal tiny) \ - $(usex ncurses --without-slang $(use_with slang)) \ - "${myconf[@]}" -} - -src_install() { - default - rm -rf "${D}"/trash - - dodoc doc/nanorc.sample - dohtml doc/faq.html - insinto /etc - newins doc/nanorc.sample nanorc - if ! use minimal ; then - # Enable colorization by default. - sed -i \ - -e '/^# include /s:# *::' \ - "${ED}"/etc/nanorc || die - fi - - dodir /usr/bin - dosym /bin/nano /usr/bin/nano -} diff --git a/app-editors/nano/nano-2.4.0.ebuild b/app-editors/nano/nano-2.4.0.ebuild deleted file mode 100644 index 7e824c28a95a..000000000000 --- a/app-editors/nano/nano-2.4.0.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="4" - -inherit eutils -if [[ ${PV} == "9999" ]] ; then - ESVN_REPO_URI="svn://svn.savannah.gnu.org/nano/trunk/nano" - inherit subversion autotools -else - MY_P=${PN}-${PV/_} - SRC_URI="http://www.nano-editor.org/dist/v${PV:0:3}/${MY_P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi - -DESCRIPTION="GNU GPL'd Pico clone with more functionality" -HOMEPAGE="http://www.nano-editor.org/ https://wiki.gentoo.org/wiki/Nano/Basics_Guide" - -LICENSE="GPL-3" -SLOT="0" -IUSE="debug justify +magic minimal ncurses nls slang +spell unicode" - -RDEPEND=">=sys-libs/ncurses-5.9-r1[unicode?] - magic? ( sys-apps/file ) - nls? ( virtual/libintl ) - !ncurses? ( slang? ( sys-libs/slang ) )" -DEPEND="${RDEPEND} - nls? ( sys-devel/gettext ) - virtual/pkgconfig" - -src_prepare() { - if [[ ${PV} == "9999" ]] ; then - eautoreconf - fi - epatch "${FILESDIR}"/${P}-no-speller.patch #544296 - epatch_user -} - -src_configure() { - eval export ac_cv_{header_magic_h,lib_magic_magic_open}=$(usex magic) - local myconf=() - case ${CHOST} in - *-gnu*|*-uclibc*) myconf+=( "--with-wordbounds" ) ;; #467848 - esac - econf \ - --bindir="${EPREFIX}"/bin \ - --htmldir=/trash \ - $(use_enable !minimal color) \ - $(use_enable !minimal multibuffer) \ - $(use_enable !minimal nanorc) \ - --disable-wrapping-as-root \ - $(use_enable spell speller) \ - $(use_enable justify) \ - $(use_enable debug) \ - $(use_enable nls) \ - $(use_enable unicode utf8) \ - $(use_enable minimal tiny) \ - $(usex ncurses --without-slang $(use_with slang)) \ - "${myconf[@]}" -} - -src_install() { - default - rm -rf "${D}"/trash - - dodoc doc/nanorc.sample - dohtml doc/faq.html - insinto /etc - newins doc/nanorc.sample nanorc - if ! use minimal ; then - # Enable colorization by default. - sed -i \ - -e '/^# include /s:# *::' \ - "${ED}"/etc/nanorc || die - fi - - dodir /usr/bin - dosym /bin/nano /usr/bin/nano -} diff --git a/app-editors/nano/nano-2.4.1.ebuild b/app-editors/nano/nano-2.4.1.ebuild deleted file mode 100644 index 2644916996cd..000000000000 --- a/app-editors/nano/nano-2.4.1.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="4" - -inherit eutils -if [[ ${PV} == "9999" ]] ; then - ESVN_REPO_URI="svn://svn.savannah.gnu.org/nano/trunk/nano" - inherit subversion autotools -else - MY_P=${PN}-${PV/_} - SRC_URI="http://www.nano-editor.org/dist/v${PV:0:3}/${MY_P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi - -DESCRIPTION="GNU GPL'd Pico clone with more functionality" -HOMEPAGE="http://www.nano-editor.org/ https://wiki.gentoo.org/wiki/Nano/Basics_Guide" - -LICENSE="GPL-3" -SLOT="0" -IUSE="debug justify +magic minimal ncurses nls slang +spell unicode" - -RDEPEND=">=sys-libs/ncurses-5.9-r1[unicode?] - magic? ( sys-apps/file ) - nls? ( virtual/libintl ) - !ncurses? ( slang? ( sys-libs/slang ) )" -DEPEND="${RDEPEND} - nls? ( sys-devel/gettext ) - virtual/pkgconfig" - -src_prepare() { - if [[ ${PV} == "9999" ]] ; then - eautoreconf - fi - epatch_user -} - -src_configure() { - eval export ac_cv_{header_magic_h,lib_magic_magic_open}=$(usex magic) - local myconf=() - case ${CHOST} in - *-gnu*|*-uclibc*) myconf+=( "--with-wordbounds" ) ;; #467848 - esac - econf \ - --bindir="${EPREFIX}"/bin \ - --htmldir=/trash \ - $(use_enable !minimal color) \ - $(use_enable !minimal multibuffer) \ - $(use_enable !minimal nanorc) \ - --disable-wrapping-as-root \ - $(use_enable spell speller) \ - $(use_enable justify) \ - $(use_enable debug) \ - $(use_enable nls) \ - $(use_enable unicode utf8) \ - $(use_enable minimal tiny) \ - $(usex ncurses --without-slang $(use_with slang)) \ - "${myconf[@]}" -} - -src_install() { - default - rm -rf "${D}"/trash - - dodoc doc/nanorc.sample - dohtml doc/faq.html - insinto /etc - newins doc/nanorc.sample nanorc - if ! use minimal ; then - # Enable colorization by default. - sed -i \ - -e '/^# include /s:# *::' \ - "${ED}"/etc/nanorc || die - fi - - dodir /usr/bin - dosym /bin/nano /usr/bin/nano -} diff --git a/app-editors/nano/nano-2.4.2.ebuild b/app-editors/nano/nano-2.4.2.ebuild deleted file mode 100644 index 58fa18e0fffb..000000000000 --- a/app-editors/nano/nano-2.4.2.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="5" - -inherit eutils flag-o-matic -if [[ ${PV} == "9999" ]] ; then - ESVN_REPO_URI="svn://svn.savannah.gnu.org/nano/trunk/nano" - inherit subversion autotools -else - MY_P=${PN}-${PV/_} - SRC_URI="http://www.nano-editor.org/dist/v${PV:0:3}/${MY_P}.tar.gz" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -fi - -DESCRIPTION="GNU GPL'd Pico clone with more functionality" -HOMEPAGE="http://www.nano-editor.org/ https://wiki.gentoo.org/wiki/Nano/Basics_Guide" - -LICENSE="GPL-3" -SLOT="0" -IUSE="debug justify +magic minimal ncurses nls slang +spell static unicode" - -LIB_DEPEND=">=sys-libs/ncurses-5.9-r1:0=[unicode?] - sys-libs/ncurses:0=[static-libs(+)] - magic? ( sys-apps/file[static-libs(+)] ) - nls? ( virtual/libintl ) - !ncurses? ( slang? ( sys-libs/slang[static-libs(+)] ) )" -RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )" -DEPEND="${RDEPEND} - nls? ( sys-devel/gettext ) - virtual/pkgconfig - static? ( ${LIB_DEPEND} )" - -src_prepare() { - if [[ ${PV} == "9999" ]] ; then - eautoreconf - fi - epatch_user -} - -src_configure() { - use static && append-ldflags -static - local myconf=() - case ${CHOST} in - *-gnu*|*-uclibc*) myconf+=( "--with-wordbounds" ) ;; #467848 - esac - econf \ - --bindir="${EPREFIX}"/bin \ - --htmldir=/trash \ - $(use_enable !minimal color) \ - $(use_enable !minimal multibuffer) \ - $(use_enable !minimal nanorc) \ - --disable-wrapping-as-root \ - $(use_enable magic libmagic) \ - $(use_enable spell speller) \ - $(use_enable justify) \ - $(use_enable debug) \ - $(use_enable nls) \ - $(use_enable unicode utf8) \ - $(use_enable minimal tiny) \ - $(usex ncurses --without-slang $(use_with slang)) \ - "${myconf[@]}" -} - -src_install() { - default - rm -rf "${D}"/trash - - dodoc doc/nanorc.sample - dohtml doc/faq.html - insinto /etc - newins doc/nanorc.sample nanorc - if ! use minimal ; then - # Enable colorization by default. - sed -i \ - -e '/^# include /s:# *::' \ - "${ED}"/etc/nanorc || die - fi - - dodir /usr/bin - dosym /bin/nano /usr/bin/nano -} |