commit:     96d761983002c2ea27f0b88d39e6a3a10affa292
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 17 07:40:51 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Sep 17 20:14:47 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96d76198

app-text/hunspell: Fix DESCRIPTION, HOMEPAGE, DEPEND->BDEPEND

- drop superfluous MY_P var
- sort ebuild vars to follow conventions

Package-Manager: Portage-3.0.7, Repoman-3.0.1
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 app-text/hunspell/hunspell-1.7.0-r2.ebuild | 27 +++++++++------------------
 1 file changed, 9 insertions(+), 18 deletions(-)

diff --git a/app-text/hunspell/hunspell-1.7.0-r2.ebuild 
b/app-text/hunspell/hunspell-1.7.0-r2.ebuild
index 2b7966634c0..8d9db7372ee 100644
--- a/app-text/hunspell/hunspell-1.7.0-r2.ebuild
+++ b/app-text/hunspell/hunspell-1.7.0-r2.ebuild
@@ -2,16 +2,17 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-inherit autotools flag-o-matic
 
-MY_P="${PN}-${PV/_beta/b}"
+LANGS="af bg ca cs cy da de de-1901 el en eo es et fo fr ga gl he hr hu ia id 
is
+it kk km ku lt lv mi mk ms nb nl nn pl pt pt-BR ro ru sk sl sq sv sw tn uk zu"
+inherit autotools flag-o-matic
 
-DESCRIPTION="Hunspell spell checker - an improved replacement for myspell in 
OOo"
+DESCRIPTION="Spell checker, morphological analyzer library and command-line 
tool"
+HOMEPAGE="https://hunspell.github.io/";
 SRC_URI="https://github.com/hunspell/hunspell/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-HOMEPAGE="https://github.com/hunspell";
 
-SLOT="0/$(ver_cut 1-2)"
 LICENSE="MPL-1.1 GPL-2 LGPL-2.1"
+SLOT="0/$(ver_cut 1-2)"
 IUSE="ncurses nls readline static-libs"
 KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
 
@@ -19,13 +20,8 @@ RDEPEND="
        ncurses? ( sys-libs/ncurses:0= )
        readline? ( sys-libs/readline:= )
 "
-DEPEND="${RDEPEND}
-       sys-devel/gettext
-"
-
-LANGS="af bg ca cs cy da de de-1901 el en eo es et fo fr ga gl he hr hu ia id
-is it kk km ku lt lv mi mk ms nb nl nn pl pt pt-BR ro ru sk sl sq sv sw tn uk
-zu"
+DEPEND="${RDEPEND}"
+BDEPEND="sys-devel/gettext"
 
 PDEPEND=""
 for lang in ${LANGS}; do
@@ -39,12 +35,7 @@ for lang in ${LANGS}; do
 done
 unset dict lang LANGS
 
-S="${WORKDIR}/${MY_P}"
-
-DOCS=(
-       AUTHORS ChangeLog NEWS THANKS license.hunspell
-       license.myspell README.md
-)
+DOCS=( AUTHORS ChangeLog NEWS THANKS license.{hunspell,myspell} README.md )
 
 PATCHES=(
        # Upstream package creates some executables which names are too generic

Reply via email to