diff options
Diffstat (limited to 'app-doc')
-rw-r--r-- | app-doc/Manifest.gz | bin | 7127 -> 7130 bytes | |||
-rw-r--r-- | app-doc/cantera-docs/Manifest | 2 | ||||
-rw-r--r-- | app-doc/cantera-docs/metadata.xml | 2 | ||||
-rw-r--r-- | app-doc/diveintopython/Manifest | 2 | ||||
-rw-r--r-- | app-doc/diveintopython/diveintopython-2.ebuild | 5 | ||||
-rw-r--r-- | app-doc/gnucash-docs/Manifest | 10 | ||||
-rw-r--r-- | app-doc/gnucash-docs/gnucash-docs-3.2-r2.ebuild (renamed from app-doc/gnucash-docs/gnucash-docs-3.2-r1.ebuild) | 33 | ||||
-rw-r--r-- | app-doc/gnucash-docs/gnucash-docs-3.3-r1.ebuild (renamed from app-doc/gnucash-docs/gnucash-docs-3.3.ebuild) | 33 | ||||
-rw-r--r-- | app-doc/gnucash-docs/gnucash-docs-3.4-r1.ebuild (renamed from app-doc/gnucash-docs/gnucash-docs-3.4.ebuild) | 31 | ||||
-rw-r--r-- | app-doc/gnucash-docs/gnucash-docs-3.5-r1.ebuild (renamed from app-doc/gnucash-docs/gnucash-docs-3.5.ebuild) | 31 | ||||
-rw-r--r-- | app-doc/gnucash-docs/metadata.xml | 3 |
11 files changed, 37 insertions, 115 deletions
diff --git a/app-doc/Manifest.gz b/app-doc/Manifest.gz Binary files differindex 819c48555232..0f050b5a1d27 100644 --- a/app-doc/Manifest.gz +++ b/app-doc/Manifest.gz diff --git a/app-doc/cantera-docs/Manifest b/app-doc/cantera-docs/Manifest index fb738d626c97..f9f00487ba75 100644 --- a/app-doc/cantera-docs/Manifest +++ b/app-doc/cantera-docs/Manifest @@ -1,3 +1,3 @@ DIST cantera-docs-2.4.0.tar.xz 4915944 BLAKE2B c7c40651ec8b4c6f6488c49cc991a115f08d6053b3383e28660028e72a55b2c231bfcfde976bec5e2be85828e642668d71730bdc803198bdcdee0631c09208ec SHA512 182475b180e65bb8bd7d5259a3b2a385b2b7c7db61a258a460c3e5fa91ae101306702ea3f00c6996a65ae8ebd1985dcc84b6d8291434578938efbb584db94c40 EBUILD cantera-docs-2.4.0.ebuild 831 BLAKE2B d9a095ee817e46ea3c6d150d602d693971d519edb07936802c4253668393658cf76ba49eeb983442829cbcce3e69e28187814ce031caab581033a8ab74fe238e SHA512 5028e20ed26a2620895ec0ab97aaf3fc26f4998254b7714c0eed259fd1b41d10d3a50114f56d0af8de7973bb8a56e9b6159da8b85e3181736f0f411ec238d74f -MISC metadata.xml 556 BLAKE2B 92adebd88552dd951baf150654d1178a76ef694389b153f53b37c51fea550b09769bdf0a1089a64746a81507131bc17c7f7d69f519460793bd5d4ff728fa65c3 SHA512 e6e3aa0e314da217e54d1073704cad4220d45ac1b3f573bbf711c1f30242140aa243de3fbe716b7ead35dee2bb77e45b9ed80500044661f45255e457d543b873 +MISC metadata.xml 558 BLAKE2B 680e77b9d2e6a370b965775e92e2cb82f3c9fb60070ee1b59ca33232b3c942ed866de824e00efeb0bcfe8cd3f22f5f0fe11c8ca760cc25d1929d5455548a7a86 SHA512 c955ccd4ef1409345468a6e9f904f70397fad224f2fa333c03e524e7fc6456dd2ef105e54738dde93f1edddc98d9edfe79efefbda03b84f0234037088061c63c diff --git a/app-doc/cantera-docs/metadata.xml b/app-doc/cantera-docs/metadata.xml index 8515d6895ba1..fcc1fbde7c8c 100644 --- a/app-doc/cantera-docs/metadata.xml +++ b/app-doc/cantera-docs/metadata.xml @@ -2,7 +2,7 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <maintainer type="person"> - <email>torokhov_s_a@mail.ru</email> + <email>torokhov-s-a@yandex.ru</email> <name>Sergey Torokhov</name> </maintainer> <maintainer type="project"> diff --git a/app-doc/diveintopython/Manifest b/app-doc/diveintopython/Manifest index 0e1f4cdc1530..6ed1c3e59fea 100644 --- a/app-doc/diveintopython/Manifest +++ b/app-doc/diveintopython/Manifest @@ -2,6 +2,6 @@ DIST diveintopython-2-pdf.zip 782047 BLAKE2B aecb0dab23fc9737a22e032628e23eecdec DIST diveintopython-2.zip 865555 BLAKE2B 55c541c3c77f3b0c4942212f4a15925571d1eb5974af4330f9edd610ba0037a9042442d2c1283d05e893888b2e2bb3da8cfe17c62a699fe8cb6e2682cbe0cd35 SHA512 9c57a9e228d30186b1e6fc10a47d4fa69704fd83ea68bba030d7909ad8df2b9cfeee942caf359b1dd1fd8f9459fee58ea8ddb3813759b17f06b93b3ccf4ca296 DIST diveintopython-3-pdf.tar.gz 2235256 BLAKE2B 2617ae5fc8e7a61402a56aa43c094412bdf9b3350901980d4d0e33179f7e1ae9100e4d3ca8201e18a473c17205a7ee6a8efab55cfd230249f1eb07b671f90c96 SHA512 ecca7ba1540a48eb41b5bfd7ca878962939b9ec47eac6100f13d75eb24c6cae20177110877d34e6d1de47bed6883f9a25b379ced5c03b8c220103774a00a54b4 DIST diveintopython-3.tar.gz 9958889 BLAKE2B 5c0b9764b6bb5f51af05142446750e9831fa6edb53336c47b398bf604c349e6c5c002c8f19f390d4929c94e2c19c5f0bb18a71ddb4b8b85d3701ee5feb35a4a4 SHA512 19a8498e4d91fc2ea2c899400336696732dae73da48faf55de43507e41e72a68c6ac25cea0acfdf3ca783344cd12c41326190ac9bbaf7ebdc113833e8bfea3a4 -EBUILD diveintopython-2.ebuild 690 BLAKE2B 95510d6829762d4dabe7d007713a58e3d011aa2bc9bdec8666368f2bca6262179a9d4399bbb672aeb4f2277f82be0b3a658f29c6aa826317877b35b88968a85c SHA512 565ce1c3f25d175afab136c4ea02c47db641da7fa5f74aaad93c96d4e166bdc65ddab7edff7f62e9949a8c95f3038cbdf62dd0a726af52ab5befa47955eb9b29 +EBUILD diveintopython-2.ebuild 711 BLAKE2B f31d98f14ece25e859c0ee720750fe0047060c62a13a6ab42ffda722403667f2e5a24917cdc916bd6fb805c8a18ba2314158e7cd9b595bae5a3012ee1b3b0d75 SHA512 46c96e92705aed1d72cb8d3e6ae0a35a8d5ffc0269429a7579899e82e83242f7e469b0325ca3f607ce0457c371e400ac98601f66ed0136f584a22bd1f1042f5d EBUILD diveintopython-3.ebuild 532 BLAKE2B 53e0c84b8661e5148321d84172bdebb4b2ce1fc2190fb96b3497efd96a6a760978799de2b8f0c2ccdd3c34ac6eb54247067505588526bd3149eb0c211371730a SHA512 ced251ed888ea41ad5e0cb688a55f8a0278d2124a34b32fa9ab158a0fde087644b67149a8cebd9a145b94aa573fb688e98f2df8d6a4a4fd6beb1209c21412955 MISC metadata.xml 487 BLAKE2B ca7286e38e6ee1ec327d7fa0c396c8e7ae13e256270bf8624a725dddf08d2088fee2fec19d92c30bf3614a1ec3f504da9aec4acb4886cde87e36c74184ffe379 SHA512 eac11ca2f544ef0a681218f31a792faaad13dc0de625b1a0ce260abf64538a1a87381bf0aff9024634bc7d44ec36b246ddeaf16a6a1c2efb4d04b1364fbc9fe5 diff --git a/app-doc/diveintopython/diveintopython-2.ebuild b/app-doc/diveintopython/diveintopython-2.ebuild index 391c52aba09b..194048ff03a2 100644 --- a/app-doc/diveintopython/diveintopython-2.ebuild +++ b/app-doc/diveintopython/diveintopython-2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -15,10 +15,11 @@ pdf? ( http://www.diveintopython.net/download/${PN}-pdf-${MY_PV}.zip -> ${P}-pdf LICENSE="FDL-1.1" SLOT="2" - KEYWORDS="amd64 ppc ppc64 x86" IUSE="pdf" +DEPEND="app-arch/unzip" + S="${WORKDIR}/${MY_P}" src_install() { diff --git a/app-doc/gnucash-docs/Manifest b/app-doc/gnucash-docs/Manifest index 4a9b5fb3742c..3fcfb775df29 100644 --- a/app-doc/gnucash-docs/Manifest +++ b/app-doc/gnucash-docs/Manifest @@ -3,9 +3,9 @@ DIST gnucash-docs-3.3.tar.gz 92417386 BLAKE2B 200f9b8d3006589eac5f0d66300d658f69 DIST gnucash-docs-3.4.tar.gz 92762652 BLAKE2B 1aad3f1e7fe5b6ec11b38dc778e8994544d50f9549450b4632e5fcbd370332f05c7c68f9f6bf0e274b654dee6304924d17089b61318e0e4356bf01133ad47508 SHA512 0a64c8fcc88988a08d5b2f7c472356c580dff17b1a2a37b66a6bed790fba9d7bb437955050656656a0be399b2ce1635902f4548f44b62233c1fcd1d75fbb38ec DIST gnucash-docs-3.5.tar.gz 97187415 BLAKE2B f35a3a25a120d3807771d74ee1c97713e21617f7ac7b4fdc1f58b9d12f7c0cc899a9af6abca21bd4f91a0978ebf5b93604deaae29f39c8ab86bd83ec93e32642 SHA512 aa832a1929ae91b9fe2a6a4ada0c7dbd8c1a4cf76086ec3ab0b82c7396d45aabbb6971f2db788bbdde71a68c8faca5f4621429819ef6c0d1156bcefdc5d289b5 DIST gnucash-docs-3.6.tar.gz 96986567 BLAKE2B 753ee011cadec37320fafe3c0973bc5772c300dcf641ba34f05d03b9c13ec159c10f8571876adecfd7816956f2dfa9e83ad5879387536c15e7d1b138f7e38a47 SHA512 1fd36c74633ba699116914eaef245d4b84ab85a6e65578c602db8b2e3150f7fb97b549c12068a691e38b90ae0fa5cc22f8026b6d50de1ac967eb52b8296eb135 -EBUILD gnucash-docs-3.2-r1.ebuild 1665 BLAKE2B 16ad7acf14b9e37dafded93957de6c3246be6902ccea2198832b6dc5409f93ae06bcaf52e091f88d6df6b8327a77198140b67671b0f7a242a0e2bdccfb510222 SHA512 e95eab369275cfac0b5944ae8a0659e5743f44e76c650b78c055246d66c0b953ff8398070b87c3e1f341722b7d51ceaa6896b27b2dc8e424bc9a5e5ae40c3406 -EBUILD gnucash-docs-3.3.ebuild 1666 BLAKE2B 83ab7ebba3c17425df70be4e85f9c26032faf67bd88d16f42dc65cee0486ede8bf50b8bd8eecfbbb5a2d7e2d552cea6ec48370edf8b8c3ed0505abad0cb9e544 SHA512 38f8145072110b0611563ad592113d5f60a96a43986c8ec819ad3a66f6064406f5e929e37090e9bfcd3dae4ffe387ac6fb7dbf2e4610bde6b80a7bc14f6d4e8c -EBUILD gnucash-docs-3.4.ebuild 1667 BLAKE2B c232b46024f80a9ff86833431ff983722a72d3f9953dff610cc5e86e8a9c22174d168a5d5ae32d5ff942bc2b7c8f1424c04f3012e83765af02446a2fe3266194 SHA512 026d7aae62cb09b435de0c50e4e3b1decf32a863fee0c11791a098e5847795b4467a63cfd80fa2bf52c1659bcf63d3426b1e4f3e160d7e13bdb54c7c4adb7ab0 -EBUILD gnucash-docs-3.5.ebuild 1667 BLAKE2B c232b46024f80a9ff86833431ff983722a72d3f9953dff610cc5e86e8a9c22174d168a5d5ae32d5ff942bc2b7c8f1424c04f3012e83765af02446a2fe3266194 SHA512 026d7aae62cb09b435de0c50e4e3b1decf32a863fee0c11791a098e5847795b4467a63cfd80fa2bf52c1659bcf63d3426b1e4f3e160d7e13bdb54c7c4adb7ab0 +EBUILD gnucash-docs-3.2-r2.ebuild 1347 BLAKE2B c6e0b8869682edb5bb8af7d2e18c83ee7cf42f2e99590cb5f5474a369f7a9040ecc301dda70ec3e2e46a2c39322d681484a00abc5f73d4bd5dfe6eb4ed3cca65 SHA512 44bd23ae64ed96efc0b2c7d3b0547cd8a8f02250bde1d8579b118f403c2e9b831703f5651b396ddf0868df9f3500229f29d18ee394504f02424a2c5c5eddefe2 +EBUILD gnucash-docs-3.3-r1.ebuild 1348 BLAKE2B 8f8ba12abedf43cc5d26ec871ce017778cde7532d791eb902f8c084da980015accc6a04f301f4fbfe6201cd114743c0f35a88c42796ff59ea3a30a7960399e02 SHA512 ec36f57e7f890e0f9a3ba1ed760218b1108ecad611c98f89cc427d744ceb8567c0d8818da9d1a4d468ca60357e494d7e83d91797e647ac15b4a79fb0c19b5808 +EBUILD gnucash-docs-3.4-r1.ebuild 1349 BLAKE2B c49d34af4965a157742bcc809c5d3fe5182ebe5e309248c9fd7e0470b2f3477c528c0ca182790682e1319daed9ab84081fc0b8fd8151d193556030d49329cc6c SHA512 e1813f8f33e80d54129b2826452997d73611a7832401b440c92030e91fdb965f81e880c3f5e4377e09ebbfbece6948e20dec7ace2d14ebda54d3f83f19d355a1 +EBUILD gnucash-docs-3.5-r1.ebuild 1349 BLAKE2B c49d34af4965a157742bcc809c5d3fe5182ebe5e309248c9fd7e0470b2f3477c528c0ca182790682e1319daed9ab84081fc0b8fd8151d193556030d49329cc6c SHA512 e1813f8f33e80d54129b2826452997d73611a7832401b440c92030e91fdb965f81e880c3f5e4377e09ebbfbece6948e20dec7ace2d14ebda54d3f83f19d355a1 EBUILD gnucash-docs-3.6-r1.ebuild 1349 BLAKE2B c49d34af4965a157742bcc809c5d3fe5182ebe5e309248c9fd7e0470b2f3477c528c0ca182790682e1319daed9ab84081fc0b8fd8151d193556030d49329cc6c SHA512 e1813f8f33e80d54129b2826452997d73611a7832401b440c92030e91fdb965f81e880c3f5e4377e09ebbfbece6948e20dec7ace2d14ebda54d3f83f19d355a1 -MISC metadata.xml 496 BLAKE2B a668cda0f44d550b086c539edbd5eeb93092fee992621cbd655b5c30e3bfd658fcd0a65d4140f2f9ba4d368438c224bac887e86e6d36b730afd4a24c195fc448 SHA512 19e5631659fe0153e6f2de3bcc8dc5eb1615dc3e6a3493d71ea0d5e18df48fe64fef31819883add93cd1da425ebea0aa82f62b0052bdc328773b8a3c0bfca26a +MISC metadata.xml 444 BLAKE2B d5ab61b0738eb3124b32f94da3b3f38ef8993039a4797eab95f0c2c2af427c6262cdb2b5885d0e4dfc659e15bad9c492db706f134f8128595eeef6afbcd4b663 SHA512 7a97c9139b410b8054093bd666c6043e6383e5b3ad9f19a52e7b4d2aaafa1b915082408d575064e7be1f0c4b14eae660837d608e88956a4e51fa1c647a19b5b2 diff --git a/app-doc/gnucash-docs/gnucash-docs-3.2-r1.ebuild b/app-doc/gnucash-docs/gnucash-docs-3.2-r2.ebuild index b82237e7a151..4582197df338 100644 --- a/app-doc/gnucash-docs/gnucash-docs-3.2-r1.ebuild +++ b/app-doc/gnucash-docs/gnucash-docs-3.2-r2.ebuild @@ -1,12 +1,9 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PLOCALES="C de it ja pt ru" -PLOCALE_BACKUP="C" - -inherit autotools gnome2 l10n +inherit autotools gnome2 DESCRIPTION="Documentation package for GnuCash" HOMEPAGE="http://www.gnucash.org/" @@ -15,10 +12,8 @@ SRC_URI="https://github.com/Gnucash/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" SLOT="0" LICENSE="GPL-2 FDL-1.1" KEYWORDS="amd64 ~ppc ~ppc64 x86" - -for my_locale in ${PLOCALES}; do - IUSE+=" l10n_${my_locale}" -done +LOCALES=( de it ja pt ru ) +IUSE="${LOCALES[*]/#/l10n_}" DEPEND=" app-text/docbook-xml-dtd @@ -28,18 +23,6 @@ DEPEND=" dev-libs/libxslt " -my_l10n_get_locales() { - local l locales - for l in ${PLOCALES[@]}; do - use "l10n_${l}" && locales+=( $l ) - done - if [[ ${#locales[@]} -gt 0 ]]; then - echo ${locales[@]} - else - echo $PLOCALE_BACKUP - fi -} - src_prepare() { default eautoreconf @@ -53,7 +36,7 @@ src_install() { local doc_type my_lang for doc_type in help guide; do - for my_lang in $(my_l10n_get_locales); do + for my_lang in C ${L10N}; do case $my_lang in # Both help and guides translated C|de|it|pt) ;; @@ -61,7 +44,7 @@ src_install() { if [[ ${doc_type} = "help" ]] ; then elog "Help documentation hasn't been translated for $my_lang" elog "Will do English instead." - my_lang=C + continue fi ;; *) @@ -69,12 +52,10 @@ src_install() { ;; esac - cd "${S}/${doc_type}/${my_lang}" || die - emake DESTDIR="${D}" install + emake -C "${doc_type}/${my_lang}" DESTDIR="${D}" install done done - cd "${S}" || die einstalldocs } diff --git a/app-doc/gnucash-docs/gnucash-docs-3.3.ebuild b/app-doc/gnucash-docs/gnucash-docs-3.3-r1.ebuild index 1faefbd6ed41..da27ce8d5de0 100644 --- a/app-doc/gnucash-docs/gnucash-docs-3.3.ebuild +++ b/app-doc/gnucash-docs/gnucash-docs-3.3-r1.ebuild @@ -1,12 +1,9 @@ -# Copyright 1999-2018 Gentoo Authors +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 -PLOCALES="C de it ja pt ru" -PLOCALE_BACKUP="C" - -inherit autotools gnome2 l10n +inherit autotools gnome2 DESCRIPTION="Documentation package for GnuCash" HOMEPAGE="http://www.gnucash.org/" @@ -15,10 +12,8 @@ SRC_URI="https://github.com/Gnucash/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" SLOT="0" LICENSE="GPL-2 FDL-1.1" KEYWORDS="amd64 ~ppc ~ppc64 ~x86" - -for my_locale in ${PLOCALES}; do - IUSE+=" l10n_${my_locale}" -done +LOCALES=( de it ja pt ru ) +IUSE="${LOCALES[*]/#/l10n_}" DEPEND=" app-text/docbook-xml-dtd @@ -28,18 +23,6 @@ DEPEND=" dev-libs/libxslt " -my_l10n_get_locales() { - local l locales - for l in ${PLOCALES[@]}; do - use "l10n_${l}" && locales+=( $l ) - done - if [[ ${#locales[@]} -gt 0 ]]; then - echo ${locales[@]} - else - echo $PLOCALE_BACKUP - fi -} - src_prepare() { default eautoreconf @@ -53,7 +36,7 @@ src_install() { local doc_type my_lang for doc_type in help guide; do - for my_lang in $(my_l10n_get_locales); do + for my_lang in C ${L10N}; do case $my_lang in # Both help and guides translated C|de|it|pt) ;; @@ -61,7 +44,7 @@ src_install() { if [[ ${doc_type} = "help" ]] ; then elog "Help documentation hasn't been translated for $my_lang" elog "Will do English instead." - my_lang=C + continue fi ;; *) @@ -69,12 +52,10 @@ src_install() { ;; esac - cd "${S}/${doc_type}/${my_lang}" || die - emake DESTDIR="${D}" install + emake -C "${doc_type}/${my_lang}" DESTDIR="${D}" install done done - cd "${S}" || die einstalldocs } diff --git a/app-doc/gnucash-docs/gnucash-docs-3.4.ebuild b/app-doc/gnucash-docs/gnucash-docs-3.4-r1.ebuild index 2fd86099fbde..505a73b78785 100644 --- a/app-doc/gnucash-docs/gnucash-docs-3.4.ebuild +++ b/app-doc/gnucash-docs/gnucash-docs-3.4-r1.ebuild @@ -3,10 +3,7 @@ EAPI=6 -PLOCALES="C de it ja pt ru" -PLOCALE_BACKUP="C" - -inherit autotools gnome2 l10n +inherit autotools gnome2 DESCRIPTION="Documentation package for GnuCash" HOMEPAGE="http://www.gnucash.org/" @@ -15,10 +12,8 @@ SRC_URI="https://github.com/Gnucash/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" SLOT="0" LICENSE="GPL-2 FDL-1.1" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" - -for my_locale in ${PLOCALES}; do - IUSE+=" l10n_${my_locale}" -done +LOCALES=( de it ja pt ru ) +IUSE="${LOCALES[*]/#/l10n_}" DEPEND=" app-text/docbook-xml-dtd @@ -28,18 +23,6 @@ DEPEND=" dev-libs/libxslt " -my_l10n_get_locales() { - local l locales - for l in ${PLOCALES[@]}; do - use "l10n_${l}" && locales+=( $l ) - done - if [[ ${#locales[@]} -gt 0 ]]; then - echo ${locales[@]} - else - echo $PLOCALE_BACKUP - fi -} - src_prepare() { default eautoreconf @@ -53,7 +36,7 @@ src_install() { local doc_type my_lang for doc_type in help guide; do - for my_lang in $(my_l10n_get_locales); do + for my_lang in C ${L10N}; do case $my_lang in # Both help and guides translated C|de|it|pt) ;; @@ -61,7 +44,7 @@ src_install() { if [[ ${doc_type} = "help" ]] ; then elog "Help documentation hasn't been translated for $my_lang" elog "Will do English instead." - my_lang=C + continue fi ;; *) @@ -69,12 +52,10 @@ src_install() { ;; esac - cd "${S}/${doc_type}/${my_lang}" || die - emake DESTDIR="${D}" install + emake -C "${doc_type}/${my_lang}" DESTDIR="${D}" install done done - cd "${S}" || die einstalldocs } diff --git a/app-doc/gnucash-docs/gnucash-docs-3.5.ebuild b/app-doc/gnucash-docs/gnucash-docs-3.5-r1.ebuild index 2fd86099fbde..505a73b78785 100644 --- a/app-doc/gnucash-docs/gnucash-docs-3.5.ebuild +++ b/app-doc/gnucash-docs/gnucash-docs-3.5-r1.ebuild @@ -3,10 +3,7 @@ EAPI=6 -PLOCALES="C de it ja pt ru" -PLOCALE_BACKUP="C" - -inherit autotools gnome2 l10n +inherit autotools gnome2 DESCRIPTION="Documentation package for GnuCash" HOMEPAGE="http://www.gnucash.org/" @@ -15,10 +12,8 @@ SRC_URI="https://github.com/Gnucash/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" SLOT="0" LICENSE="GPL-2 FDL-1.1" KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" - -for my_locale in ${PLOCALES}; do - IUSE+=" l10n_${my_locale}" -done +LOCALES=( de it ja pt ru ) +IUSE="${LOCALES[*]/#/l10n_}" DEPEND=" app-text/docbook-xml-dtd @@ -28,18 +23,6 @@ DEPEND=" dev-libs/libxslt " -my_l10n_get_locales() { - local l locales - for l in ${PLOCALES[@]}; do - use "l10n_${l}" && locales+=( $l ) - done - if [[ ${#locales[@]} -gt 0 ]]; then - echo ${locales[@]} - else - echo $PLOCALE_BACKUP - fi -} - src_prepare() { default eautoreconf @@ -53,7 +36,7 @@ src_install() { local doc_type my_lang for doc_type in help guide; do - for my_lang in $(my_l10n_get_locales); do + for my_lang in C ${L10N}; do case $my_lang in # Both help and guides translated C|de|it|pt) ;; @@ -61,7 +44,7 @@ src_install() { if [[ ${doc_type} = "help" ]] ; then elog "Help documentation hasn't been translated for $my_lang" elog "Will do English instead." - my_lang=C + continue fi ;; *) @@ -69,12 +52,10 @@ src_install() { ;; esac - cd "${S}/${doc_type}/${my_lang}" || die - emake DESTDIR="${D}" install + emake -C "${doc_type}/${my_lang}" DESTDIR="${D}" install done done - cd "${S}" || die einstalldocs } diff --git a/app-doc/gnucash-docs/metadata.xml b/app-doc/gnucash-docs/metadata.xml index e0724f47e4bb..dc94f737b786 100644 --- a/app-doc/gnucash-docs/metadata.xml +++ b/app-doc/gnucash-docs/metadata.xml @@ -9,9 +9,6 @@ <email>gnome@gentoo.org</email> <name>Gentoo GNOME Desktop</name> </maintainer> - <use> - <flag name="l10n_C">English</flag> - </use> <upstream> <remote-id type="sourceforge">gnucash</remote-id> </upstream> |