From 1f709ed82b8014b4c156f87c66cee7d0d1d3905d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 4 Nov 2022 03:13:19 +0000 Subject: gentoo auto-resync : 04:11:2022 - 03:13:18 --- x11-misc/zim/Manifest | 12 ++----- x11-misc/zim/zim-0.73.5.ebuild | 73 -------------------------------------- x11-misc/zim/zim-0.74.0.ebuild | 73 -------------------------------------- x11-misc/zim/zim-0.74.1.ebuild | 73 -------------------------------------- x11-misc/zim/zim-0.74.2.ebuild | 73 -------------------------------------- x11-misc/zim/zim-0.75.0.ebuild | 73 -------------------------------------- x11-misc/zim/zim-0.75.1.ebuild | 80 ++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 82 insertions(+), 375 deletions(-) delete mode 100644 x11-misc/zim/zim-0.73.5.ebuild delete mode 100644 x11-misc/zim/zim-0.74.0.ebuild delete mode 100644 x11-misc/zim/zim-0.74.1.ebuild delete mode 100644 x11-misc/zim/zim-0.74.2.ebuild delete mode 100644 x11-misc/zim/zim-0.75.0.ebuild create mode 100644 x11-misc/zim/zim-0.75.1.ebuild (limited to 'x11-misc/zim') diff --git a/x11-misc/zim/Manifest b/x11-misc/zim/Manifest index d1354b469a56..3a96559ee6f5 100644 --- a/x11-misc/zim/Manifest +++ b/x11-misc/zim/Manifest @@ -1,14 +1,6 @@ AUX zim-0.60-remove-ubuntu-theme.patch 669 BLAKE2B fbb3fe0082e7567f4ae9d0bd031096cf2bcbd4d4cb86b31ceff18dda880b5cf1f8441e452642dd28275c9ce6e20c7da0a3a77b4157da13d5d4bbe9b6a30a9086 SHA512 a2e202986c77490898c15f6c4e647667fd6662422e8bbd638624a52a33989cd4259f95b37f488ff4a947f04354704ee9df7b9d60aae2fcc928f1f3186955ea1a -DIST zim-0.73.5.tar.gz 2702734 BLAKE2B 494dbe8ac0cbb46c15655cdf56bc25010591bd00faec94608ccd9fa7cec01385c6756480e5a3f37b50f44984ed69d30f33570ca913dab7ede2b89a4bf0cc4016 SHA512 f2c335d4697e7d0535b2abb200af45b7d753f2964e94a35c2ec8d4fb8deae0842aef086e09430a50d4ff5ecee89eb1f6f881a0b430877209e4a8d83ee046c4f9 -DIST zim-0.74.0.tar.gz 2917916 BLAKE2B 32b1086395142d07b46425264e3ee6d6782d62f138fb661c0bc392b09054f0664e7a2d8b75f409a843b1e85c93a11e41e041019f69ef657e11d311253ba804ae SHA512 39e3849c14bc474b90583a708c8ead287b27a8eb5f714ad63f168f205fb6584c4ff2f9df45755aa3e3b012639891587c7153ae4e0fef71276241ddce6e32c01f -DIST zim-0.74.1.tar.gz 2994036 BLAKE2B 9de89ce74bc08ec0b60f34d693ffdb3b8220efe6f03e3d77686c9d3db135713d7eb5e0beed35eb6f979e489f12b9d65b9b66e0e7449c45b955711684154ae6b8 SHA512 f78bf1ee6082488efe2e581984c85ffbddbfb7e5adfdf491232e93a8376580275f329e2d02c482afd70bbc70f62ca6f0b3bce636cff58b0a1d592dd4b8194e3a -DIST zim-0.74.2.tar.gz 3008954 BLAKE2B d0ecf666804931412f6e32aef54193ed96c67049e0fd3e7a373973d4826f16a9483eaa0940cc953573c104c704115905b036e5d0355961c0be86bebc6189bd9a SHA512 112c1e9d28a10643711f665e03c8a37259637b3471338aaca0a834afcc96c658ca5bf863e63bd5f01ce1fcdfb3eef3f2dcf1d10f8113d2158af2e91234b023b9 DIST zim-0.74.3.tar.gz 3108228 BLAKE2B fbaaddbd5522ccffcba87da2f4080e93e46dfcdc22771a414daa813cdbc2982738c2bf6f068f4bddf788965b4cf45594f2720a697c04d71194f513d1d9b43875 SHA512 9f885571800e3aba327a46b3bc8677ca596fb2d0a58e2f65190d9e2bc90f013655947d86c1fc869e2d79a5c0ba8a7a4d907a00f8d7563116291df47d8c2c677d -DIST zim-0.75.0.tar.gz 3178872 BLAKE2B 71fcd9363fc238be6ca48f44e826d0ca1ac62fdb609f2397f2dbd6acf3601980b861bc1424e1834728179f1a9c29332bf4709010643b77c8daec6299688cbb0c SHA512 9b8c5be64b2d45de2b02770e91f1950928d8f2214fc0c6099cd57bf61e3749911f46c4ec7815c9e322559ce155db2475e3b1347a81d2b76a82cd848dd4af3864 -EBUILD zim-0.73.5.ebuild 1820 BLAKE2B eeb3f5184d8e68aa56f461979e48fc11bb96979aff04a8063993da14b88c05a52c695e7d5163e15992795d3669554c26aa13b12e1d0093f8c815ad57805ef3d5 SHA512 6b82081c2ade2497a49db760a3cf2ea0c7e073de9ca639e2deeeff5e68c0d5a299c93b35839c96fcd6764f8f3c939504f4541fb0d296d390680131def695b5d7 -EBUILD zim-0.74.0.ebuild 1822 BLAKE2B e07614d05c5b81cd4aab38029af5e07675e7a44579b78e27eaf683856e84760603050446535d53262fde93566f24e84822aac9456b0c0a1ec9275650b25ce9b7 SHA512 c8ccbf826b541d23125a2f37c3524257514ddc8c00413586ac43aaf3679e1392baffe48a1346ccab6cad9765ce973d9b10ac7b9fe2f2a5287ff7a9ae93cd4b19 -EBUILD zim-0.74.1.ebuild 1822 BLAKE2B e07614d05c5b81cd4aab38029af5e07675e7a44579b78e27eaf683856e84760603050446535d53262fde93566f24e84822aac9456b0c0a1ec9275650b25ce9b7 SHA512 c8ccbf826b541d23125a2f37c3524257514ddc8c00413586ac43aaf3679e1392baffe48a1346ccab6cad9765ce973d9b10ac7b9fe2f2a5287ff7a9ae93cd4b19 -EBUILD zim-0.74.2.ebuild 1822 BLAKE2B e07614d05c5b81cd4aab38029af5e07675e7a44579b78e27eaf683856e84760603050446535d53262fde93566f24e84822aac9456b0c0a1ec9275650b25ce9b7 SHA512 c8ccbf826b541d23125a2f37c3524257514ddc8c00413586ac43aaf3679e1392baffe48a1346ccab6cad9765ce973d9b10ac7b9fe2f2a5287ff7a9ae93cd4b19 +DIST zim-0.75.1.tar.gz 3212424 BLAKE2B 8db33315a8852b4efc5506cf94576f9b7cfa8574e77798d4e8bb61930a0d9ede5ea0bd2fc8c1ae479f49caee265981d70902b149e151e5f295cdcc5bbe98b131 SHA512 207d40af2342f16ba713a3809b06ddc6656bce22386fcaace65b0e04894218590d4c03b9c65d6eeb3c4edc46e85e103cfcf112e4298be07ba1f126d7732333c5 EBUILD zim-0.74.3.ebuild 1823 BLAKE2B 27fa3c392a5b6f0e8c38d566c2694d7b628acc2d0aca9bc384b3170dc2f65670fb8a961fc0943658303e1c05c9f0e8c7b0c2c21ff8cf38a679b1ad2a1b0dbb89 SHA512 0dd65dccb7dbe718b731d993129839a1a668715c0d466879582f12c4eaeaaf7e53d3a080500e2e15fd086cf0408c770f5e2d88994159f662e2dcec86dbbb4d63 -EBUILD zim-0.75.0.ebuild 1935 BLAKE2B f3a268e1ffe1ff269d99a225bf4e9446306177eaddb66cd20ad6d1c58069d872a254a12ed1c8f84a974e6726040952b4142f00353153586338a601d7d46f9135 SHA512 8021e08533d37cb8bfad05d59446f90ac505d3c0b2f2c44b6e1dd7c3b2b92d691c63166b5bb28dad02964eeb76ad714316e0476d1f0ed4eafc715b66e18ee69a +EBUILD zim-0.75.1.ebuild 2029 BLAKE2B 336beab5409884b90db1187cf54bf37ac17acc91c7ccf115b9e0189c5101cfdf3e32acbfddc6a0a199d6ffc55932303423ea79c988f05d5698f892769647d2f2 SHA512 8ac03234494733bf66c11e6a763c5470f85b8fa698c1e0f4f927cefbafe796c56a59c9e10d3633f1dd8a71291073a6a862d2dc4ea6e3174b9f7764411ccbb963 MISC metadata.xml 805 BLAKE2B 15e1443ba8c937c389eff2a4771ea9ae5c6cd52127fe991e02776bbf17cb18cafab377fcea5572779fa0784344b385d57b2fe19c8ba15c568ea6048bd9ea7a29 SHA512 2489ccdc635377d0e8029e60365a8b72fad3efeff99de9d191bf5e1143f32402ea08a188271cf5c31ff7570c81b9a21a9bca54c59fd50984062e91f6ae54225e diff --git a/x11-misc/zim/zim-0.73.5.ebuild b/x11-misc/zim/zim-0.73.5.ebuild deleted file mode 100644 index db96dd8a5459..000000000000 --- a/x11-misc/zim/zim-0.73.5.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{8,9} ) -PYTHON_REQ_USE="sqlite" -DISTUTILS_SINGLE_IMPL=1 -DISTUTILS_USE_SETUPTOOLS=no -inherit distutils-r1 virtualx xdg - -DESCRIPTION="A desktop wiki" -HOMEPAGE=" - https://zim-wiki.org/ - https://github.com/zim-desktop-wiki/zim-desktop-wiki -" -SRC_URI="https://github.com/${PN}-desktop-wiki/${PN}-desktop-wiki/archive/${PV/_/-}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD GPL-2+" -SLOT="0" -KEYWORDS="amd64 ~arm x86" -RESTRICT="test" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/pygobject:3[${PYTHON_USEDEP}] - dev-python/pyxdg[${PYTHON_USEDEP}] - ') - x11-libs/gtk+:3[introspection] - x11-misc/xdg-utils -" -DEPEND=" - ${RDEPEND} -" -DOCS=( CHANGELOG.md CONTRIBUTING.md PLUGIN_WRITING.md README.md ) -PATCHES=( "${FILESDIR}"/${PN}-0.60-remove-ubuntu-theme.patch ) -S=${WORKDIR}/${PN}-desktop-wiki-${PV/_/-} - -python_prepare_all() { - sed -i -e "s/'USER'/'LOGNAME'/g" zim/__init__.py zim/fs.py || die - - if [[ ${LINGUAS} ]]; then - local lingua - for lingua in translations/*.po; do - lingua=${lingua/.po} - lingua=${lingua/translations\/} - has ${lingua} ${LINGUAS} || \ - { rm translations/${lingua}.po || die; } - done - fi - - distutils-r1_python_prepare_all - export XDG_RUNTIME_DIR=fakethis -} - -python_install() { - distutils-r1_python_install -} - -pkg_postinst() { - xdg_pkg_postinst - if ! has_version ${CATEGORY}/${PN}; then - elog "Please install these packages for additional functionality" - elog " dev-lang/R" - elog " dev-python/gtkspell-python" - elog " dev-vcs/bzr" - elog " media-gfx/graphviz" - elog " media-gfx/imagemagick" - elog " media-gfx/scrot" - elog " media-sound/lilypond" - elog " sci-visualization/gnuplot" - elog " virtual/latex-base app-text/dvipng" - fi -} diff --git a/x11-misc/zim/zim-0.74.0.ebuild b/x11-misc/zim/zim-0.74.0.ebuild deleted file mode 100644 index 131369dc0283..000000000000 --- a/x11-misc/zim/zim-0.74.0.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{8,9} ) -PYTHON_REQ_USE="sqlite" -DISTUTILS_SINGLE_IMPL=1 -DISTUTILS_USE_SETUPTOOLS=no -inherit distutils-r1 virtualx xdg - -DESCRIPTION="A desktop wiki" -HOMEPAGE=" - https://zim-wiki.org/ - https://github.com/zim-desktop-wiki/zim-desktop-wiki -" -SRC_URI="https://github.com/${PN}-desktop-wiki/${PN}-desktop-wiki/archive/${PV/_/-}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -RESTRICT="test" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/pygobject:3[${PYTHON_USEDEP}] - dev-python/pyxdg[${PYTHON_USEDEP}] - ') - x11-libs/gtk+:3[introspection] - x11-misc/xdg-utils -" -DEPEND=" - ${RDEPEND} -" -DOCS=( CHANGELOG.md CONTRIBUTING.md PLUGIN_WRITING.md README.md ) -PATCHES=( "${FILESDIR}"/${PN}-0.60-remove-ubuntu-theme.patch ) -S=${WORKDIR}/${PN}-desktop-wiki-${PV/_/-} - -python_prepare_all() { - sed -i -e "s/'USER'/'LOGNAME'/g" zim/__init__.py zim/fs.py || die - - if [[ ${LINGUAS} ]]; then - local lingua - for lingua in translations/*.po; do - lingua=${lingua/.po} - lingua=${lingua/translations\/} - has ${lingua} ${LINGUAS} || \ - { rm translations/${lingua}.po || die; } - done - fi - - distutils-r1_python_prepare_all - export XDG_RUNTIME_DIR=fakethis -} - -python_install() { - distutils-r1_python_install -} - -pkg_postinst() { - xdg_pkg_postinst - if ! has_version ${CATEGORY}/${PN}; then - elog "Please install these packages for additional functionality" - elog " dev-lang/R" - elog " dev-python/gtkspell-python" - elog " dev-vcs/bzr" - elog " media-gfx/graphviz" - elog " media-gfx/imagemagick" - elog " media-gfx/scrot" - elog " media-sound/lilypond" - elog " sci-visualization/gnuplot" - elog " virtual/latex-base app-text/dvipng" - fi -} diff --git a/x11-misc/zim/zim-0.74.1.ebuild b/x11-misc/zim/zim-0.74.1.ebuild deleted file mode 100644 index 131369dc0283..000000000000 --- a/x11-misc/zim/zim-0.74.1.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{8,9} ) -PYTHON_REQ_USE="sqlite" -DISTUTILS_SINGLE_IMPL=1 -DISTUTILS_USE_SETUPTOOLS=no -inherit distutils-r1 virtualx xdg - -DESCRIPTION="A desktop wiki" -HOMEPAGE=" - https://zim-wiki.org/ - https://github.com/zim-desktop-wiki/zim-desktop-wiki -" -SRC_URI="https://github.com/${PN}-desktop-wiki/${PN}-desktop-wiki/archive/${PV/_/-}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -RESTRICT="test" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/pygobject:3[${PYTHON_USEDEP}] - dev-python/pyxdg[${PYTHON_USEDEP}] - ') - x11-libs/gtk+:3[introspection] - x11-misc/xdg-utils -" -DEPEND=" - ${RDEPEND} -" -DOCS=( CHANGELOG.md CONTRIBUTING.md PLUGIN_WRITING.md README.md ) -PATCHES=( "${FILESDIR}"/${PN}-0.60-remove-ubuntu-theme.patch ) -S=${WORKDIR}/${PN}-desktop-wiki-${PV/_/-} - -python_prepare_all() { - sed -i -e "s/'USER'/'LOGNAME'/g" zim/__init__.py zim/fs.py || die - - if [[ ${LINGUAS} ]]; then - local lingua - for lingua in translations/*.po; do - lingua=${lingua/.po} - lingua=${lingua/translations\/} - has ${lingua} ${LINGUAS} || \ - { rm translations/${lingua}.po || die; } - done - fi - - distutils-r1_python_prepare_all - export XDG_RUNTIME_DIR=fakethis -} - -python_install() { - distutils-r1_python_install -} - -pkg_postinst() { - xdg_pkg_postinst - if ! has_version ${CATEGORY}/${PN}; then - elog "Please install these packages for additional functionality" - elog " dev-lang/R" - elog " dev-python/gtkspell-python" - elog " dev-vcs/bzr" - elog " media-gfx/graphviz" - elog " media-gfx/imagemagick" - elog " media-gfx/scrot" - elog " media-sound/lilypond" - elog " sci-visualization/gnuplot" - elog " virtual/latex-base app-text/dvipng" - fi -} diff --git a/x11-misc/zim/zim-0.74.2.ebuild b/x11-misc/zim/zim-0.74.2.ebuild deleted file mode 100644 index 131369dc0283..000000000000 --- a/x11-misc/zim/zim-0.74.2.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -PYTHON_COMPAT=( python3_{8,9} ) -PYTHON_REQ_USE="sqlite" -DISTUTILS_SINGLE_IMPL=1 -DISTUTILS_USE_SETUPTOOLS=no -inherit distutils-r1 virtualx xdg - -DESCRIPTION="A desktop wiki" -HOMEPAGE=" - https://zim-wiki.org/ - https://github.com/zim-desktop-wiki/zim-desktop-wiki -" -SRC_URI="https://github.com/${PN}-desktop-wiki/${PN}-desktop-wiki/archive/${PV/_/-}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -RESTRICT="test" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/pygobject:3[${PYTHON_USEDEP}] - dev-python/pyxdg[${PYTHON_USEDEP}] - ') - x11-libs/gtk+:3[introspection] - x11-misc/xdg-utils -" -DEPEND=" - ${RDEPEND} -" -DOCS=( CHANGELOG.md CONTRIBUTING.md PLUGIN_WRITING.md README.md ) -PATCHES=( "${FILESDIR}"/${PN}-0.60-remove-ubuntu-theme.patch ) -S=${WORKDIR}/${PN}-desktop-wiki-${PV/_/-} - -python_prepare_all() { - sed -i -e "s/'USER'/'LOGNAME'/g" zim/__init__.py zim/fs.py || die - - if [[ ${LINGUAS} ]]; then - local lingua - for lingua in translations/*.po; do - lingua=${lingua/.po} - lingua=${lingua/translations\/} - has ${lingua} ${LINGUAS} || \ - { rm translations/${lingua}.po || die; } - done - fi - - distutils-r1_python_prepare_all - export XDG_RUNTIME_DIR=fakethis -} - -python_install() { - distutils-r1_python_install -} - -pkg_postinst() { - xdg_pkg_postinst - if ! has_version ${CATEGORY}/${PN}; then - elog "Please install these packages for additional functionality" - elog " dev-lang/R" - elog " dev-python/gtkspell-python" - elog " dev-vcs/bzr" - elog " media-gfx/graphviz" - elog " media-gfx/imagemagick" - elog " media-gfx/scrot" - elog " media-sound/lilypond" - elog " sci-visualization/gnuplot" - elog " virtual/latex-base app-text/dvipng" - fi -} diff --git a/x11-misc/zim/zim-0.75.0.ebuild b/x11-misc/zim/zim-0.75.0.ebuild deleted file mode 100644 index c1c46330e03f..000000000000 --- a/x11-misc/zim/zim-0.75.0.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{8..11} ) -PYTHON_REQ_USE="sqlite" -DISTUTILS_USE_PEP517=setuptools -DISTUTILS_SINGLE_IMPL=1 -VIRTUALX_REQUIRED=test -inherit distutils-r1 optfeature virtualx xdg - -DESCRIPTION="A desktop wiki" -HOMEPAGE=" - https://zim-wiki.org/ - https://github.com/zim-desktop-wiki/zim-desktop-wiki -" -SRC_URI="https://github.com/${PN}-desktop-wiki/${PN}-desktop-wiki/archive/${PV/_/-}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" - -RDEPEND=" - $(python_gen_cond_dep ' - dev-python/pygobject:3[${PYTHON_USEDEP}] - dev-python/pyxdg[${PYTHON_USEDEP}] - ') - x11-libs/gtk+:3[introspection] - x11-misc/xdg-utils -" -DEPEND="${RDEPEND}" - -DOCS=( CHANGELOG.md CONTRIBUTING.md PLUGIN_WRITING.md README.md ) -PATCHES=( "${FILESDIR}"/${PN}-0.60-remove-ubuntu-theme.patch ) -S=${WORKDIR}/${PN}-desktop-wiki-${PV/_/-} - -python_prepare_all() { - if [[ ${LINGUAS} ]]; then - local lingua - for lingua in translations/*.po; do - lingua=${lingua/.po} - lingua=${lingua/translations\/} - has ${lingua} ${LINGUAS} || \ - { rm translations/${lingua}.po || die; } - done - fi - - distutils-r1_python_prepare_all - export XDG_RUNTIME_DIR=fakethis -} - -python_test() { - if has_version dev-vcs/git; then - git config --global user.email "git@example.com" || die - git config --global user.name "GitExample" || die - fi - - virtx ./test.py -} - -pkg_postinst() { - xdg_pkg_postinst - - optfeature "GNU R Plot Editor" dev-lang/R - optfeature "Spell checker" dev-python/gtkspell-python - optfeature "Version control Bazaar support" dev-vcs/bzr - optfeature "Diagram Editor" media-gfx/graphviz - optfeature "Insert Screenshot" "media-gfx/imagemagick media-gfx/scrot" - optfeature "Score Editor" media-sound/lilypond - optfeature "Gnuplot Editor" sci-visualization/gnuplot - optfeature "Equation Editor" virtual/latex-base app-text/dvipng -} diff --git a/x11-misc/zim/zim-0.75.1.ebuild b/x11-misc/zim/zim-0.75.1.ebuild new file mode 100644 index 000000000000..a7fb11f78c96 --- /dev/null +++ b/x11-misc/zim/zim-0.75.1.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..11} ) +PYTHON_REQ_USE="sqlite" +DISTUTILS_USE_PEP517=setuptools +DISTUTILS_SINGLE_IMPL=1 +VIRTUALX_REQUIRED=test +inherit distutils-r1 optfeature virtualx xdg + +DESCRIPTION="A desktop wiki" +HOMEPAGE=" + https://zim-wiki.org/ + https://github.com/zim-desktop-wiki/zim-desktop-wiki +" +SRC_URI="https://github.com/${PN}-desktop-wiki/${PN}-desktop-wiki/archive/${PV/_/-}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~x86" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/pyxdg[${PYTHON_USEDEP}] + ') + x11-libs/gtk+:3[introspection] + x11-misc/xdg-utils +" +DEPEND="${RDEPEND}" + +DOCS=( CHANGELOG.md CONTRIBUTING.md PLUGIN_WRITING.md README.md ) +PATCHES=( "${FILESDIR}"/${PN}-0.60-remove-ubuntu-theme.patch ) +S=${WORKDIR}/${PN}-desktop-wiki-${PV/_/-} + +python_prepare_all() { + if [[ ${LINGUAS} ]]; then + local lingua + for lingua in translations/*.po; do + lingua=${lingua/.po} + lingua=${lingua/translations\/} + has ${lingua} ${LINGUAS} || \ + { rm translations/${lingua}.po || die; } + done + fi + + distutils-r1_python_prepare_all + export XDG_RUNTIME_DIR=fakethis +} + +python_test() { + if has_version dev-vcs/git; then + git config --global user.email "git@example.com" || die + git config --global user.name "GitExample" || die + fi + + virtx ./test.py +} + +src_install() { + distutils-r1_src_install + + insinto /usr/share/icons + doins -r xdg/hicolor +} + +pkg_postinst() { + xdg_pkg_postinst + + optfeature "GNU R Plot Editor" dev-lang/R + optfeature "Spell checker" dev-python/gtkspell-python + optfeature "Version control Bazaar support" dev-vcs/bzr + optfeature "Diagram Editor" media-gfx/graphviz + optfeature "Insert Screenshot" "media-gfx/imagemagick media-gfx/scrot" + optfeature "Score Editor" media-sound/lilypond + optfeature "Gnuplot Editor" sci-visualization/gnuplot + optfeature "Equation Editor" virtual/latex-base app-text/dvipng +} -- cgit v1.2.3