summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2012-06-13 12:22:47 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2012-06-13 12:22:47 +0000
commitdc89d22a61e467e4fc00ebd4e58010a6b891c91d (patch)
treecdab1451d965bd1c0fee4118551fff11b4e32126 /app-dicts
parentMake the oxt unpacking really work. (diff)
downloadgentoo-2-dc89d22a61e467e4fc00ebd4e58010a6b891c91d.tar.gz
gentoo-2-dc89d22a61e467e4fc00ebd4e58010a6b891c91d.tar.bz2
gentoo-2-dc89d22a61e467e4fc00ebd4e58010a6b891c91d.zip
Use upstream packages and versioning for the 20120418 version. Prune older.
(Portage version: 2.2.0_alpha110/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'app-dicts')
-rw-r--r--app-dicts/myspell-es/ChangeLog8
-rw-r--r--app-dicts/myspell-es/myspell-es-0.6.ebuild47
-rw-r--r--app-dicts/myspell-es/myspell-es-20060316.ebuild86
-rw-r--r--app-dicts/myspell-es/myspell-es-20120418.ebuild115
4 files changed, 54 insertions, 202 deletions
diff --git a/app-dicts/myspell-es/ChangeLog b/app-dicts/myspell-es/ChangeLog
index 8f54935264d8..02fb3f779048 100644
--- a/app-dicts/myspell-es/ChangeLog
+++ b/app-dicts/myspell-es/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-dicts/myspell-es
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-dicts/myspell-es/ChangeLog,v 1.20 2012/05/17 18:13:33 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/myspell-es/ChangeLog,v 1.21 2012/06/13 12:22:47 scarabeus Exp $
+
+*myspell-es-0.6 (13 Jun 2012)
+
+ 13 Jun 2012; Tomáš Chvátal <scarabeus@gentoo.org> +myspell-es-0.6.ebuild,
+ -myspell-es-20060316.ebuild, -myspell-es-20120418.ebuild:
+ Use upstream packages and versioning for the 20120418 version. Prune older.
17 May 2012; Alexis Ballier <aballier@gentoo.org> myspell-es-20060316.ebuild,
myspell-es-20120418.ebuild:
diff --git a/app-dicts/myspell-es/myspell-es-0.6.ebuild b/app-dicts/myspell-es/myspell-es-0.6.ebuild
new file mode 100644
index 000000000000..811fe551c7e7
--- /dev/null
+++ b/app-dicts/myspell-es/myspell-es-0.6.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-dicts/myspell-es/myspell-es-0.6.ebuild,v 1.1 2012/06/13 12:22:47 scarabeus Exp $
+
+EAPI=4
+
+MUTATIONS="es_ANY es_AR es_BO es_CL es_CO es_CR es_CU es_DO es_EC es_ES es_GT
+es_HN es_MX es_NI es_PA es_PE es_PR es_SV es_UY es_VE"
+
+MYSPELL_DICT=( )
+MYSPELL_HYPH=(
+ "hyph_es_ANY.dic"
+)
+MYSPELL_THES=(
+ "th_es_ES_v2.dat"
+ "th_es_ES_v2.idx"
+)
+SRC_URI=""
+j=2618
+for i in ${MUTATIONS}; do
+ MYSPELL_DICT+=(
+ "${i}.dic"
+ "${i}.aff"
+ )
+ SRC_URI+=" http://forja.rediris.es/frs/download.php/${j}/${i}.oxt -> ${i}-${PV}.oxt"
+ let j=${j}+1
+done
+unset i j
+
+
+inherit myspell-r2
+
+DESCRIPTION="Spanish dictionaries for myspell/hunspell"
+HOMEPAGE="http://rla-es.forja.rediris.es/"
+# yay for modern download tools like redmine and their unique IDs as part of URL
+# this means that someone needs to check the download page if there are new releases:
+# http://forja.rediris.es/frs/?group_id=341
+
+LICENSE="GPL-3 LGPL-3 MPL-1.1"
+SLOT="0"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 ~sh sparc x86 ~amd64-fbsd ~x86-fbsd"
+IUSE=""
+
+src_prepare() {
+ # remove license files
+ rm -rf {GPL,LGPL,MPL}*
+}
diff --git a/app-dicts/myspell-es/myspell-es-20060316.ebuild b/app-dicts/myspell-es/myspell-es-20060316.ebuild
deleted file mode 100644
index 41f8122f931d..000000000000
--- a/app-dicts/myspell-es/myspell-es-20060316.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-dicts/myspell-es/myspell-es-20060316.ebuild,v 1.19 2012/05/17 18:13:33 aballier Exp $
-
-MYSPELL_SPELLING_DICTIONARIES=(
-"es,AR,es_AR,Spanish (Argentina),es_AR.zip"
-"es,BZ,es_HN,Spanish (Belize),es_HN.zip"
-"es,BO,es_BO,Spanish (Bolivia),es_BO.zip"
-"es,CL,es_CL,Spanish (Chile),es_CL.zip"
-"es,CO,es_CO,Spanish (Colombia),es_CO.zip"
-"es,CR,es_CR,Spanish (Costa Rica),es_CR.zip"
-"es,CU,es_CU,Spanish (Cuba),es_CU.zip"
-"es,DO,es_DO,Spanish (Dominican Republic),es_DO.zip"
-"es,EC,es_EC,Spanish (Ecuador),es_EC.zip"
-"es,SV,es_SV,Spanish (El Salvador),es_SV.zip"
-"es,GT,es_GT,Spanish (Guatemala),es_GT.zip"
-"es,HN,es_HN,Spanish (Honduras),es_HN.zip"
-"es,MX,es_MX,Spanish (Mexico),es_MX.zip"
-"es,NI,es_NI,Spanish (Nicaragua),es_NI.zip"
-"es,PA,es_PA,Spanish (Panama),es_PA.zip"
-"es,PY,es_PY,Spanish (Paraguay),es_PY.zip"
-"es,PE,es_PE,Spanish (Peru),es_PE.zip"
-"es,PR,es_PR,Spanish (Puerto Rico),es_PR.zip"
-"es,ES,es_ES,Spanish (Spain),es_ES.zip"
-"es,UY,es_UY,Spanish (Uruguay),es_UY.zip"
-"es,VE,es_VE,Spanish (Venezuela),es_VE.zip"
-"gl,ES,gl_ES,Galician (Spain),gl_ES.zip"
-)
-
-MYSPELL_HYPHENATION_DICTIONARIES=(
-"es,AR,hyph_es_ES,Spanish (Argentina),hyph_es_ES.zip"
-"es,BZ,hyph_es_ES,Spanish (Belize),hyph_es_ES.zip"
-"es,BO,hyph_es_ES,Spanish (Bolivia),hyph_es_ES.zip"
-"es,CL,hyph_es_ES,Spanish (Chile),hyph_es_ES.zip"
-"es,CO,hyph_es_ES,Spanish (Colombia),hyph_es_ES.zip"
-"es,CR,hyph_es_ES,Spanish (Costa Rica),hyph_es_ES.zip"
-"es,CU,hyph_es_ES,Spanish (Cuba),hyph_es_ES.zip"
-"es,DO,hyph_es_ES,Spanish (Dominican Republic),hyph_es_ES.zip"
-"es,EC,hyph_es_ES,Spanish (Ecuador),hyph_es_ES.zip"
-"es,SV,hyph_es_ES,Spanish (El Salvador),hyph_es_ES.zip"
-"es,GT,hyph_es_ES,Spanish (Guatemala),hyph_es_ES.zip"
-"es,HN,hyph_es_ES,Spanish (Honduras),hyph_es_ES.zip"
-"es,MX,hyph_es_ES,Spanish (Mexico),hyph_es_ES.zip"
-"es,NI,hyph_es_ES,Spanish (Nicaragua),hyph_es_ES.zip"
-"es,PA,hyph_es_ES,Spanish (Panama),hyph_es_ES.zip"
-"es,PY,hyph_es_ES,Spanish (Paraguay),hyph_es_ES.zip"
-"es,PE,hyph_es_ES,Spanish (Peru),hyph_es_ES.zip"
-"es,PR,hyph_es_ES,Spanish (Puerto Rico),hyph_es_ES.zip"
-"es,ES,hyph_es_ES,Spanish (Spain),hyph_es_ES.zip"
-"es,UY,hyph_es_ES,Spanish (Uruguay),hyph_es_ES.zip"
-"es,VE,hyph_es_ES,Spanish (Venezuela),hyph_es_ES.zip"
-"gl,ES,hyph_es_ES,Galician (Spain),hyph_es_ES.zip"
-)
-
-MYSPELL_THESAURUS_DICTIONARIES=(
-"es,AR,th_es_ES,Spanish (Argentina),thes_es_ES.zip"
-"es,BZ,th_es_ES,Spanish (Belize),thes_es_ES.zip"
-"es,BO,th_es_ES,Spanish (Bolivia),thes_es_ES.zip"
-"es,CL,th_es_ES,Spanish (Chile),thes_es_ES.zip"
-"es,CO,th_es_ES,Spanish (Colombia),thes_es_ES.zip"
-"es,CR,th_es_ES,Spanish (Costa Rica),thes_es_ES.zip"
-"es,CU,th_es_ES,Spanish (Cuba),thes_es_ES.zip"
-"es,DO,th_es_ES,Spanish (Dominican Republic),thes_es_ES.zip"
-"es,EC,th_es_ES,Spanish (Ecuador),thes_es_ES.zip"
-"es,SV,th_es_ES,Spanish (El Salvador),thes_es_ES.zip"
-"es,GT,th_es_ES,Spanish (Guatemala),thes_es_ES.zip"
-"es,HN,th_es_ES,Spanish (Honduras),thes_es_ES.zip"
-"es,MX,th_es_ES,Spanish (Mexico),thes_es_ES.zip"
-"es,NI,th_es_ES,Spanish (Nicaragua),thes_es_ES.zip"
-"es,PA,th_es_ES,Spanish (Panama),thes_es_ES.zip"
-"es,PY,th_es_ES,Spanish (Paraguay),thes_es_ES.zip"
-"es,PE,th_es_ES,Spanish (Peru),thes_es_ES.zip"
-"es,PR,th_es_ES,Spanish (Puerto Rico),thes_es_ES.zip"
-"es,ES,th_es_ES,Spanish (Spain),thes_es_ES.zip"
-"es,UY,th_es_ES,Spanish (Uruguay),thes_es_ES.zip"
-"es,VE,th_es_ES,Spanish (Venezuela),thes_es_ES.zip"
-)
-
-inherit myspell
-
-DESCRIPTION="Spanish and Galician dictionaries for myspell/hunspell"
-LICENSE="GPL-2 LGPL-2.1"
-HOMEPAGE="http://lingucomponent.openoffice.org/ http://sourceforge.net/projects/openoffice-es/ http://openoffice-es.sf.net/thesaurus/"
-IUSE=""
-
-KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd"
diff --git a/app-dicts/myspell-es/myspell-es-20120418.ebuild b/app-dicts/myspell-es/myspell-es-20120418.ebuild
deleted file mode 100644
index 18a1696f22c4..000000000000
--- a/app-dicts/myspell-es/myspell-es-20120418.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-dicts/myspell-es/myspell-es-20120418.ebuild,v 1.2 2012/05/17 18:13:33 aballier Exp $
-
-MYSPELL_SPELLING_DICTIONARIES=(
-"es,AR,es_AR,Spanish (Argentina),es_AR.zip"
-"es,BZ,es_HN,Spanish (Belize),es_HN.zip"
-"es,BO,es_BO,Spanish (Bolivia),es_BO.zip"
-"es,CL,es_CL,Spanish (Chile),es_CL.zip"
-"es,CO,es_CO,Spanish (Colombia),es_CO.zip"
-"es,CR,es_CR,Spanish (Costa Rica),es_CR.zip"
-"es,CU,es_CU,Spanish (Cuba),es_CU.zip"
-"es,DO,es_DO,Spanish (Dominican Republic),es_DO.zip"
-"es,EC,es_EC,Spanish (Ecuador),es_EC.zip"
-"es,SV,es_SV,Spanish (El Salvador),es_SV.zip"
-"es,GT,es_GT,Spanish (Guatemala),es_GT.zip"
-"es,HN,es_HN,Spanish (Honduras),es_HN.zip"
-"es,MX,es_MX,Spanish (Mexico),es_MX.zip"
-"es,NI,es_NI,Spanish (Nicaragua),es_NI.zip"
-"es,PA,es_PA,Spanish (Panama),es_PA.zip"
-"es,PY,es_PY,Spanish (Paraguay),es_PY.zip"
-"es,PE,es_PE,Spanish (Peru),es_PE.zip"
-"es,PR,es_PR,Spanish (Puerto Rico),es_PR.zip"
-"es,ES,es_ES,Spanish (Spain),es_ES.zip"
-"es,UY,es_UY,Spanish (Uruguay),es_UY.zip"
-"es,VE,es_VE,Spanish (Venezuela),es_VE.zip"
-)
-
-MYSPELL_HYPHENATION_DICTIONARIES=(
-"es,AR,hyph_es_ANY,Spanish (Argentina),hyph_es_ANY.zip"
-"es,BZ,hyph_es_ANY,Spanish (Belize),hyph_es_ANY.zip"
-"es,BO,hyph_es_ANY,Spanish (Bolivia),hyph_es_ANY.zip"
-"es,CL,hyph_es_ANY,Spanish (Chile),hyph_es_ANY.zip"
-"es,CO,hyph_es_ANY,Spanish (Colombia),hyph_es_ANY.zip"
-"es,CR,hyph_es_ANY,Spanish (Costa Rica),hyph_es_ANY.zip"
-"es,CU,hyph_es_ANY,Spanish (Cuba),hyph_es_ANY.zip"
-"es,DO,hyph_es_ANY,Spanish (Dominican Republic),hyph_es_ANY.zip"
-"es,EC,hyph_es_ANY,Spanish (Ecuador),hyph_es_ANY.zip"
-"es,SV,hyph_es_ANY,Spanish (El Salvador),hyph_es_ANY.zip"
-"es,GT,hyph_es_ANY,Spanish (Guatemala),hyph_es_ANY.zip"
-"es,HN,hyph_es_ANY,Spanish (Honduras),hyph_es_ANY.zip"
-"es,MX,hyph_es_ANY,Spanish (Mexico),hyph_es_ANY.zip"
-"es,NI,hyph_es_ANY,Spanish (Nicaragua),hyph_es_ANY.zip"
-"es,PA,hyph_es_ANY,Spanish (Panama),hyph_es_ANY.zip"
-"es,PY,hyph_es_ANY,Spanish (Paraguay),hyph_es_ANY.zip"
-"es,PE,hyph_es_ANY,Spanish (Peru),hyph_es_ANY.zip"
-"es,PR,hyph_es_ANY,Spanish (Puerto Rico),hyph_es_ANY.zip"
-"es,ES,hyph_es_ANY,Spanish (Spain),hyph_es_ANY.zip"
-"es,UY,hyph_es_ANY,Spanish (Uruguay),hyph_es_ANY.zip"
-"es,VE,hyph_es_ANY,Spanish (Venezuela),hyph_es_ANY.zip"
-)
-
-MYSPELL_THESAURUS_DICTIONARIES=(
-"es,AR,th_es_ES_v2,Spanish (Argentina),th_es_ES_v2.zip"
-"es,BZ,th_es_ES_v2,Spanish (Belize),th_es_ES_v2.zip"
-"es,BO,th_es_ES_v2,Spanish (Bolivia),th_es_ES_v2.zip"
-"es,CL,th_es_ES_v2,Spanish (Chile),th_es_ES_v2.zip"
-"es,CO,th_es_ES_v2,Spanish (Colombia),th_es_ES_v2.zip"
-"es,CR,th_es_ES_v2,Spanish (Costa Rica),th_es_ES_v2.zip"
-"es,CU,th_es_ES_v2,Spanish (Cuba),th_es_ES_v2.zip"
-"es,DO,th_es_ES_v2,Spanish (Dominican Republic),th_es_ES_v2.zip"
-"es,EC,th_es_ES_v2,Spanish (Ecuador),th_es_ES_v2.zip"
-"es,SV,th_es_ES_v2,Spanish (El Salvador),th_es_ES_v2.zip"
-"es,GT,th_es_ES_v2,Spanish (Guatemala),th_es_ES_v2.zip"
-"es,HN,th_es_ES_v2,Spanish (Honduras),th_es_ES_v2.zip"
-"es,MX,th_es_ES_v2,Spanish (Mexico),th_es_ES_v2.zip"
-"es,NI,th_es_ES_v2,Spanish (Nicaragua),th_es_ES_v2.zip"
-"es,PA,th_es_ES_v2,Spanish (Panama),th_es_ES_v2.zip"
-"es,PY,th_es_ES_v2,Spanish (Paraguay),th_es_ES_v2.zip"
-"es,PE,th_es_ES_v2,Spanish (Peru),th_es_ES_v2.zip"
-"es,PR,th_es_ES_v2,Spanish (Puerto Rico),th_es_ES_v2.zip"
-"es,ES,th_es_ES_v2,Spanish (Spain),th_es_ES_v2.zip"
-"es,UY,th_es_ES_v2,Spanish (Uruguay),th_es_ES_v2.zip"
-"es,VE,th_es_ES_v2,Spanish (Venezuela),th_es_ES_v2.zip"
-)
-
-set_fields() {
- local old_IFS
- old_IFS="${IFS}"
- IFS=$2
- fields=($1)
- IFS="${old_IFS}"
-}
-
-get_uri() {
- local files fields newfile filestem srcfile dict uris
- files=()
- uris=""
- for dict in \
- "${MYSPELL_SPELLING_DICTIONARIES[@]}" \
- "${MYSPELL_HYPHENATION_DICTIONARIES[@]}" \
- "${MYSPELL_THESAURUS_DICTIONARIES[@]}"; do
- set_fields "${dict}" ","
- newfile=${fields[4]// }
- for file in "${files[@]}"; do
- [[ ${file} == ${newfile} ]] && continue 2
- done
- filestem=${newfile/.zip}
- files=("${files[@]}" "${newfile}")
- srcfile="myspell-${filestem}-${PV}.zip"
- uris+=" http://ravengentoo.perso.sfr.fr/gentoo/app-dicts/${PN}/${PV}/${srcfile}"
- done
- echo "${uris}"
-}
-
-SRC_URI=$(get_uri)
-
-inherit myspell
-
-DESCRIPTION="Spanish dictionaries for myspell/hunspell"
-LICENSE="GPL-3 LGPL-3 MPL-1.1"
-HOMEPAGE="http://rla-es.forja.rediris.es/"
-IUSE=""
-
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"