diff options
author | Alexey Dokuchaev <danfe@FreeBSD.org> | 2025-03-02 06:29:06 +0000 |
---|---|---|
committer | Alexey Dokuchaev <danfe@FreeBSD.org> | 2025-03-02 06:29:06 +0000 |
commit | 0ce3d4967fbdf3f28d27b8ab8dd3009a2cb9792b (patch) | |
tree | 9a6f3ec883eeebfa6ca2adfbdbe740e4b29c24a5 /x11-wm | |
parent | devel/py-gql: Update to 3.5.1 (diff) |
x11-wm/xdgmenumaker: the port had been updated to version 2.3
- Try to improve the tests by using correct locale names
- Add the note from the author that some tests are expected
to fail because they rely on user's specific environment
- Relinquish control, the port is stable enough to fly solo
Reported by: portscout
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/xdgmenumaker/Makefile | 16 | ||||
-rw-r--r-- | x11-wm/xdgmenumaker/distinfo | 6 |
2 files changed, 14 insertions, 8 deletions
diff --git a/x11-wm/xdgmenumaker/Makefile b/x11-wm/xdgmenumaker/Makefile index b73f174a8736..1b2f4c84b51e 100644 --- a/x11-wm/xdgmenumaker/Makefile +++ b/x11-wm/xdgmenumaker/Makefile @@ -1,18 +1,18 @@ PORTNAME= xdgmenumaker -PORTVERSION= 2.2 -PORTREVISION= 1 +PORTVERSION= 2.3 CATEGORIES= x11-wm python -MAINTAINER= danfe@FreeBSD.org -COMMENT= Generates XDG menus for several window managers +MAINTAINER= ports@FreeBSD.org +COMMENT= Generate XDG menus for various window managers WWW= https://github.com/gapan/xdgmenumaker LICENSE= GPLv3 BUILD_DEPENDS= txt2tags:textproc/txt2tags RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}xdg>=0:devel/py-xdg@${PY_FLAVOR} +TEST_DEPENDS:= ${RUN_DEPENDS} -USES= gnome python:run shebangfix +USES= display:test gnome python:run shebangfix USE_GNOME= gtk30 pygobject3 USE_GITHUB= yes GH_ACCOUNT= gapan @@ -22,4 +22,10 @@ ALL_TARGET= man TEST_ENV= PYTHON=${PYTHON_CMD} TEST_TARGET= test +post-patch: +# This should have improved locale-specific tests, but 10 out of 24 still fail +# (note that it is normal for tests that produce menus with icons to fail as +# they expect the exact same icon theme and applications the author is using). + @${REINPLACE_CMD} -e 's,utf8,UTF-8,' ${WRKSRC}/tests/Makefile + .include <bsd.port.mk> diff --git a/x11-wm/xdgmenumaker/distinfo b/x11-wm/xdgmenumaker/distinfo index ac8e9e665d38..4c77c211dd6a 100644 --- a/x11-wm/xdgmenumaker/distinfo +++ b/x11-wm/xdgmenumaker/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1720911082 -SHA256 (gapan-xdgmenumaker-2.2_GH0.tar.gz) = 1e9fa73413f46f74b28085e412d42570dd892862437bbd85fcff7d4cb934d657 -SIZE (gapan-xdgmenumaker-2.2_GH0.tar.gz) = 309431 +TIMESTAMP = 1721913050 +SHA256 (gapan-xdgmenumaker-2.3_GH0.tar.gz) = 585d9a54e4b0031e1dc8c70d551e177e9b5b31987918dab982cd8fa9ca53845c +SIZE (gapan-xdgmenumaker-2.3_GH0.tar.gz) = 311160 |