diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2021-02-03 12:39:12 +0100 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2021-02-03 12:39:12 +0100 |
commit | 5153b98b8bf036df8fa51e1c7749df0253fc6af5 (patch) | |
tree | 61c95415a90fb8c73fce5e7fc7608e7d2309b9d3 /x11-misc/zim | |
parent | media-gfx/iscan: Version bump to 3.65 (diff) | |
download | gentoo-5153b98b8bf036df8fa51e1c7749df0253fc6af5.tar.gz gentoo-5153b98b8bf036df8fa51e1c7749df0253fc6af5.tar.bz2 gentoo-5153b98b8bf036df8fa51e1c7749df0253fc6af5.zip |
x11-misc/zim: 0.73.5 bump
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'x11-misc/zim')
-rw-r--r-- | x11-misc/zim/Manifest | 1 | ||||
-rw-r--r-- | x11-misc/zim/zim-0.73.5.ebuild | 73 |
2 files changed, 74 insertions, 0 deletions
diff --git a/x11-misc/zim/Manifest b/x11-misc/zim/Manifest index 6ca15bfa24e6..61734bc3f006 100644 --- a/x11-misc/zim/Manifest +++ b/x11-misc/zim/Manifest @@ -2,3 +2,4 @@ DIST zim-0.73.1.tar.gz 2615382 BLAKE2B 055857b20dbdebc1e5d8d6b13c344fcf665d9889f DIST zim-0.73.2.tar.gz 2611490 BLAKE2B 05fd020b3add3ac9c6fd860ca002a5c0755a1a1f1ee07c6e5027e16e3b8c64d9116971e96ed235b249b65b9097551b9fcdf46ed929a03a877c36a02a7d54e8fd SHA512 26c987906759436063f88863e90cf2643996913a2fae12ebc4ae623731ad97d488d37ad70e72153aba7aaac7fe2dff9bb6f9f06c4d899a0ac20e3bfbd20ff3db DIST zim-0.73.3.tar.gz 2648597 BLAKE2B c3709fc418317bfbd355f3715e5fceb346026393bfaec65ca8713fb2cd33243189dc3328b4be20b08452545704d4d1196f99f96df9445aaed5d0277b310d37f0 SHA512 880839495e3aa434267ac02abe2c1779c8cb3c9c7b73de91a19e962e7face2cd05399871789d719d89d0776d09fb9b339370f4fac8e4019be538e282accbe180 DIST zim-0.73.4.tar.gz 2648686 BLAKE2B 47ac293494fb61808c80afccbc7b97c5539ceed050abdfd84048b5d0a6dd0667f8f23e1fd9cbd06aa77f8895787da76c3297e041e435ac45d0b5874fd8054fc4 SHA512 8205335e07d99ab340af4f75a429aeb3114446cc9ae2ccfbced4eb95b723c26b5d8c8624e94c5b38373a9368cf058c03f160a36730feb37d9c00abcd61b6d147 +DIST zim-0.73.5.tar.gz 2702734 BLAKE2B 494dbe8ac0cbb46c15655cdf56bc25010591bd00faec94608ccd9fa7cec01385c6756480e5a3f37b50f44984ed69d30f33570ca913dab7ede2b89a4bf0cc4016 SHA512 f2c335d4697e7d0535b2abb200af45b7d753f2964e94a35c2ec8d4fb8deae0842aef086e09430a50d4ff5ecee89eb1f6f881a0b430877209e4a8d83ee046c4f9 diff --git a/x11-misc/zim/zim-0.73.5.ebuild b/x11-misc/zim/zim-0.73.5.ebuild new file mode 100644 index 000000000000..3ddba84025c2 --- /dev/null +++ b/x11-misc/zim/zim-0.73.5.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{7,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_MULTI_USEDEP}] + dev-python/pyxdg[${PYTHON_MULTI_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 +} |