From 3cf7c3ef441822c889356fd1812ebf2944a59851 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 25 Aug 2020 10:45:55 +0100 Subject: gentoo resync : 25.08.2020 --- app-misc/gramps/Manifest | 4 +- app-misc/gramps/gramps-5.1.2-r1.ebuild | 2 +- app-misc/gramps/gramps-5.1.3.ebuild | 95 ++++++++++++++++++++++++++++++++++ 3 files changed, 99 insertions(+), 2 deletions(-) create mode 100644 app-misc/gramps/gramps-5.1.3.ebuild (limited to 'app-misc/gramps') diff --git a/app-misc/gramps/Manifest b/app-misc/gramps/Manifest index 2923564d0f85..080876e2bef2 100644 --- a/app-misc/gramps/Manifest +++ b/app-misc/gramps/Manifest @@ -1,3 +1,5 @@ DIST gramps-5.1.2.tar.gz 17304294 BLAKE2B 5d253f59e8312b5438922bcc00cce10368b75e45170d3b2f83be4b6226cb734dfd6e90bcde506aea9a572592f5f156aa0a1b977736df90b3eaff9bda3d592690 SHA512 12e88645d14717823457308cba55e1f6899e2a6aebcf281875261765f163529fd75512fca034db59816473c6542319166375bec6d5502e8e6a7c452bfc10c0ad -EBUILD gramps-5.1.2-r1.ebuild 2323 BLAKE2B b237c48264b0a5c6f539571b266b79c1927d38b7732a3b0629422d170a5b04d2f53117accc943ee488d5ae3302c09f003a8c48be3d1615df7e1ad01835a0f7b2 SHA512 3ae328cc32a25f906ef43cd792b668b92a18c4395c5b1ed60d90b0b535142c3edf0b27f69f47e5b90910c49d4b874c84211fea4d7bf296c48b8d8f6b01f6f5d0 +DIST gramps-5.1.3.tar.gz 17352457 BLAKE2B 8356e29d4e9e2ee78f0f09e54db8f77b2db991652f2c6b2fdc742b8f2e160a2c9c2b7df1a43c34e5d05b12b540e88cd8572fe89cfbb3a1ecb6df650a39ac0651 SHA512 045d5dd6aac4745ce527624657bbee25b9130e63b1b66bdd6a8409cdc876f1f3a4a6c0435d433a62bfffb723f6ac66d93829b79fc12c8768694c266b7a3b82cc +EBUILD gramps-5.1.2-r1.ebuild 2323 BLAKE2B 74a8c0694baa94bcb9e902e1f84b534623cf3638f1d4b2dc49d9519d790452f8894f32692d95bf4c123717a4064e190889ddda17823f0d9e4db0a2b99714d984 SHA512 9a66ca305bbfbd492df3392c666a99b1ae5577f7bca37301cbffacf6f94baf40712c76432fcf81bc755a43b8886749ac53dd2580779cf3714e7d44f4964a0793 +EBUILD gramps-5.1.3.ebuild 2744 BLAKE2B 85f9935ff698fa766d7c57795ac0e6f750cf5ac72169dbc831da91f248df9f7e4d67cd9477197727745a63e94b3ca7c35af9c73d2fbdc3fed2ec1bdec672cde5 SHA512 cf06cf91b24013d7c2107351fbdf2912b14f71dd34d818ef3a1d652e8c15b8dcf0ce8d248ca868b3217b4256b25c062bb6fff37f5caf9e863e14c21bd39f5dcc MISC metadata.xml 5598 BLAKE2B 4516bb11bb4fa57403d9b86409a073021dc9372b4d6d53af2c90cb31d5988b960ce4ab9f190b7e82948c1118f1fb0581bef1f8e1e4bbc9da8c294541eabbeda5 SHA512 74b37ffecc01f6c140f349d822ceedf20eb36af2c7a09faca53abaacede12d916cae4b514d066026600bd46d04943c4948dda7fe8c85e7e01714ebd24e428359 diff --git a/app-misc/gramps/gramps-5.1.2-r1.ebuild b/app-misc/gramps/gramps-5.1.2-r1.ebuild index 86a7c50dab9e..3cebfc2a081a 100644 --- a/app-misc/gramps/gramps-5.1.2-r1.ebuild +++ b/app-misc/gramps/gramps-5.1.2-r1.ebuild @@ -24,7 +24,7 @@ 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}] + dev-python/PyICU[${PYTHON_USEDEP}] exif? ( >=media-libs/gexiv2-0.5[${PYTHON_USEDEP},introspection] ) ') gnome-base/librsvg:2 diff --git a/app-misc/gramps/gramps-5.1.3.ebuild b/app-misc/gramps/gramps-5.1.3.ebuild new file mode 100644 index 000000000000..c3faf372f1cb --- /dev/null +++ b/app-misc/gramps/gramps-5.1.3.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6..9} ) +PYTHON_REQ_USE="sqlite" + +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_SETUPTOOLS=no +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 test" +RESTRICT="!test? ( test )" + +RDEPEND=" + $(python_gen_cond_dep ' + dev-python/bsddb3[${PYTHON_USEDEP}] + dev-python/pycairo[${PYTHON_USEDEP}] + >=dev-python/pygobject-3.12:3[cairo,${PYTHON_USEDEP}] + dev-python/PyICU[${PYTHON_USEDEP}] + exif? ( >=media-libs/gexiv2-0.5[${PYTHON_USEDEP},introspection] ) + ') + 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?] ) + geo? ( >=sci-geosciences/osm-gps-map-1.1.0 ) + spell? ( app-text/gtkspell:3[introspection] ) + rcs? ( dev-vcs/rcs ) +" +BDEPEND="test? ( ${RDEPEND} + $(python_gen_cond_dep ' + dev-python/jsonschema[${PYTHON_USEDEP}] + dev-python/lxml[${PYTHON_USEDEP}] + ') +)" + +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. FIXME: test this when a new release comes out. + rm -rf "${S}/build" && ln -s "${BUILD_DIR}" "${S}"/build || \ + die "Failed to symlink build directory to source directory" + + # FIXME: some of the tests fail if the locale 'en_US.UTF-8' is absent, + # at least as of 5.1.2 this failure does not propagate back to this + # function but we should still handle this properly somehow. + esetup.py test +} + +# Ugly hack to work around Bug #717922 +python_install() { + local mydistutilsargs=( + --resourcepath=/usr/share + --no-compress-manpages + build + ) + distutils-r1_python_install + echo -n "/usr/share" > "${D}$(python_get_sitedir)/gramps/gen/utils/resource-path" || die +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_mimeinfo_database_update +} -- cgit v1.2.3