1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-06 11:41:52 +00:00

science/gramps: Update to 5.1.6

- Switch to DISTVERSION
- Remove erroneous CONFIGURE_ARGS
- Regen patches (pet portlint)
- Reformat Makefile (pet portfmt)
- Take maintainership

ChangeLog: https://github.com/gramps-project/gramps/releases/tag/v5.1.6
This commit is contained in:
Nuno Teixeira 2023-06-30 11:15:09 +01:00
parent a8a6f6d913
commit a50ba356dd
4 changed files with 15 additions and 18 deletions

View File

@ -1,10 +1,9 @@
PORTNAME= gramps
PORTVERSION= 5.1.5
DISTVERSIONPREFIX= v
PORTREVISION= 4
DISTVERSION= 5.1.6
CATEGORIES= science gnome python
MAINTAINER= ports@FreeBSD.org
MAINTAINER= eduardo@FreeBSD.org
COMMENT= GTK3-based genealogy program
WWW= https://gramps-project.org/
@ -24,8 +23,6 @@ GH_ACCOUNT= gramps-project
USE_GNOME= cairo gtk30 intltool librsvg2 pango pygobject3
USE_PYTHON= autoplist distutils noflavors
CONFIGURE_ARGS= --disable-mime-install
NO_ARCH= yes
OPTIONS_DEFINE= GEXIV GTKSPELL PIL RCS TTFFREEFONT
@ -36,11 +33,11 @@ PIL_DESC= Crop/convert images with Python Imaging Library (Pillow)
RCS_DESC= Manage revisions of family trees with with GNU RCS
TTFFREEFONT_DESC= More font support in reports
GEXIV_LIB_DEPENDS= libgexiv2.so:graphics/gexiv2
GTKSPELL_LIB_DEPENDS= libgtkspell3-3.so:textproc/gtkspell3
PIL_RUN_DEPENDS= ${PY_PILLOW}
RCS_RUN_DEPENDS= rcsdiff:devel/rcs
TTFFREEFONT_RUN_DEPENDS=${LOCALBASE}/share/fonts/freefont-ttf/FreeMono.ttf:x11-fonts/freefont-ttf
GEXIV_LIB_DEPENDS= libgexiv2.so:graphics/gexiv2
GTKSPELL_LIB_DEPENDS= libgtkspell3-3.so:textproc/gtkspell3
PIL_RUN_DEPENDS= ${PY_PILLOW}
RCS_RUN_DEPENDS= rcsdiff:devel/rcs
TTFFREEFONT_RUN_DEPENDS= ${LOCALBASE}/share/fonts/freefont-ttf/FreeMono.ttf:x11-fonts/freefont-ttf
post-install:
${ECHO_CMD} -n ${PREFIX}/share > ${STAGEDIR}${PYTHON_SITELIBDIR}/gramps/gen/utils/resource-path

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1644342250
SHA256 (gramps-project-gramps-v5.1.5_GH0.tar.gz) = 4045a142a7c3cbe50a41e594bb160dce4112e37ef7dec68d65af42e9269c2df6
SIZE (gramps-project-gramps-v5.1.5_GH0.tar.gz) = 17425167
TIMESTAMP = 1688108081
SHA256 (gramps-project-gramps-v5.1.6_GH0.tar.gz) = bff0b5694e77e0f7075fb76481c4523d37646cc042c8dd9897ff2e0cd401fa3b
SIZE (gramps-project-gramps-v5.1.6_GH0.tar.gz) = 17429153

View File

@ -1,6 +1,6 @@
--- data/gramps.xml.in.orig 2016-01-06 16:44:13 UTC
--- data/gramps.xml.in.orig 2023-06-29 20:37:13 UTC
+++ data/gramps.xml.in
@@ -7,16 +7,6 @@
@@ -6,16 +6,6 @@
<_comment>Gramps database</_comment>
<glob pattern="*.grdb"/>
</mime-type>

View File

@ -1,6 +1,6 @@
--- gramps/gen/utils/grampslocale.py.orig 2022-06-08 13:02:30.116272000 +0200
+++ gramps/gen/utils/grampslocale.py 2022-06-08 12:40:34.253581000 +0200
@@ -527,9 +527,14 @@
--- gramps/gen/utils/grampslocale.py.orig 2023-06-29 20:37:13 UTC
+++ gramps/gen/utils/grampslocale.py
@@ -525,9 +525,14 @@ class GrampsLocale:
# with locale instead of gettext. Win32 doesn't support bindtextdomain.
if self.localedir:
if not sys.platform == 'win32':