diff options
author | Marek Szuba <marecki@gentoo.org> | 2019-01-09 11:47:41 +0000 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2019-01-09 14:38:39 +0000 |
commit | 748aae056a6071787592551a584bd0be252f0833 (patch) | |
tree | 9a9f0faaa830c5f0914511b3f31885980a9d304c /app-misc/gramps | |
parent | xfce-extra/xfce4-alsa-plugin: Bump to 0.1.2 (diff) | |
download | gentoo-748aae056a6071787592551a584bd0be252f0833.tar.gz gentoo-748aae056a6071787592551a584bd0be252f0833.tar.bz2 gentoo-748aae056a6071787592551a584bd0be252f0833.zip |
app-misc/gramps: bump to 5.0.1
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'app-misc/gramps')
-rw-r--r-- | app-misc/gramps/Manifest | 1 | ||||
-rw-r--r-- | app-misc/gramps/gramps-5.0.1.ebuild | 71 |
2 files changed, 72 insertions, 0 deletions
diff --git a/app-misc/gramps/Manifest b/app-misc/gramps/Manifest index 8478a9d033e8..56379d0b7274 100644 --- a/app-misc/gramps/Manifest +++ b/app-misc/gramps/Manifest @@ -1,3 +1,4 @@ DIST gramps-4.2.5.tar.gz 18694912 BLAKE2B f91bc665ab4a970e7de193ba3bea4250e99b692cb92e76fae4a37cfa2c46280e6a45ff6712c7a68213735b6e7016f2caa3180971976c92aaa7e61d73ad2e3d5a SHA512 20a8ebff7ea2e3a80248830e55d58ebe0b5a350e1ac31efb3f2b900af38c134037bae91a58fb441be54f9fac8226555a3f5771cc358d3a4a92e89af911433b9c DIST gramps-4.2.8.tar.gz 18704769 BLAKE2B 795febcc2c93a0c9b72aceeba1ac4c4f10953c2bf3b23dd8d38f662a231e21967e6f263e14d2344ef2f422e170617b7b80be4fafc2cb20c4a659366836b0e641 SHA512 c814914eb3a650dd5753d83e492d91d5db11b55321f63bd460e4eb8d80a36dd727a3792a203e3061dfaa89fd13549f51809bb83cc65b2a494c1fb8f42dcb4b8f DIST gramps-5.0.0.tar.gz 16773759 BLAKE2B 603a73b448fd41e4d491ca681c0177112541ff780566756f26a2bca7614a4699b90006d321e7925dd936a32367ccfd9b4b93d6ce70af5b750de641b17dd9c2d8 SHA512 95d775fc48a8165b14431a76cd9e60a80df5db0256c98d953fd1a270849446748d8630e0b5ff1b823345fcc7992b48a7c9d577c81a28e10ba0a6177f2501b6e3 +DIST gramps-5.0.1.tar.gz 16718439 BLAKE2B 75b4a70275f7e6e181ba948df6fe44cbb9221436c2e860db8ef83bcc02b916aa3921ae09fa8ed18876f28551ed10b5047ae1aef0967b48532b54ad97c8af6d8a SHA512 68b905a8e59eedb620329b05bdd4cca842a79f885645140d31b637fc82ec7470892ebf0fd899aeb6a1205473f79e7f13d6c5e05b36da94b9049dcbb78e07aa76 diff --git a/app-misc/gramps/gramps-5.0.1.ebuild b/app-misc/gramps/gramps-5.0.1.ebuild new file mode 100644 index 000000000000..cbfbb66359b6 --- /dev/null +++ b/app-misc/gramps/gramps-5.0.1.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{4,5,6} ) +PYTHON_REQ_USE="sqlite" + +DISTUTILS_SINGLE_IMPL=1 +inherit distutils-r1 xdg-utils + +DESCRIPTION="Genealogical Research and Analysis Management Programming System" +HOMEPAGE="https://gramps-project.org/" +SRC_URI="https://github.com/gramps-project/${PN}/archive/v${PV}.tar.gz + -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+rcs +reports exif geo postscript spell" + +RDEPEND=" + dev-python/bsddb3[${PYTHON_USEDEP}] + dev-python/pycairo[${PYTHON_USEDEP}] + >=dev-python/pygobject-3.12:3[cairo,${PYTHON_USEDEP}] + dev-python/pyicu[${PYTHON_USEDEP}] + gnome-base/librsvg:2 + >x11-libs/gtk+-3.14.8:3[introspection] + x11-libs/pango[introspection] + x11-misc/xdg-utils + reports? ( media-gfx/graphviz[postscript?] ) + exif? ( >=media-libs/gexiv2-0.5[${PYTHON_USEDEP},introspection] ) + geo? ( >=sci-geosciences/osm-gps-map-1.1.0 ) + spell? ( app-text/gtkspell:3[introspection] ) + rcs? ( dev-vcs/rcs ) +" + +python_prepare_all() { + # Install documentation to the proper location. This can't be done + # easily with a patch because we substitute in the $PF variable, + # and that changes with every revision. + sed -i "s:share/doc/gramps:share/doc/${PF}:g" setup.py || die + distutils-r1_python_prepare_all +} + +python_configure_all() { + mydistutilsargs=( + --resourcepath=/usr/share + --no-compress-manpages + ) +} + +python_test_all() { + # GRAMPS builds just fine out of tree but it confuses its test suite. + # The following might be an ugly hack but at least it lets the tests + # run properly until either I or upstream have come up with something + # better. + rm -rf "${S}/build" && ln -s "${BUILD_DIR}" "${S}"/build || \ + die "Failed to symlink build directory to source directory" + + esetup.py test +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +} |