aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNuno Teixeira <eduardo@FreeBSD.org>2023-06-30 10:15:09 +0000
committerNuno Teixeira <eduardo@FreeBSD.org>2023-06-30 10:19:39 +0000
commita50ba356ddab89b329ed6993cc2ea723fa22c7a3 (patch)
treec7296edc25deffd482085af8fd8372bb89be2775
parenta8a6f6d913479bfb04d3130a5b8d12fec0798500 (diff)
downloadports-a50ba356ddab89b329ed6993cc2ea723fa22c7a3.tar.gz
ports-a50ba356ddab89b329ed6993cc2ea723fa22c7a3.zip
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
-rw-r--r--science/gramps/Makefile17
-rw-r--r--science/gramps/distinfo6
-rw-r--r--science/gramps/files/patch-data_gramps.xml.in4
-rw-r--r--science/gramps/files/patch-gramps_gen_utils_grampslocale.py6
4 files changed, 15 insertions, 18 deletions
diff --git a/science/gramps/Makefile b/science/gramps/Makefile
index 1aa51b87c427..e3f41d6aceb7 100644
--- a/science/gramps/Makefile
+++ b/science/gramps/Makefile
@@ -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
diff --git a/science/gramps/distinfo b/science/gramps/distinfo
index c05f35c0fd5d..5dc29bc56320 100644
--- a/science/gramps/distinfo
+++ b/science/gramps/distinfo
@@ -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
diff --git a/science/gramps/files/patch-data_gramps.xml.in b/science/gramps/files/patch-data_gramps.xml.in
index 8aa72ac5252a..48dff01ff3bd 100644
--- a/science/gramps/files/patch-data_gramps.xml.in
+++ b/science/gramps/files/patch-data_gramps.xml.in
@@ -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>
diff --git a/science/gramps/files/patch-gramps_gen_utils_grampslocale.py b/science/gramps/files/patch-gramps_gen_utils_grampslocale.py
index eaad4287fa38..7f29913142d1 100644
--- a/science/gramps/files/patch-gramps_gen_utils_grampslocale.py
+++ b/science/gramps/files/patch-gramps_gen_utils_grampslocale.py
@@ -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':