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
This commit is contained in:
Alexey Dokuchaev 2025-03-02 06:29:06 +00:00
parent bc9ddb12a8
commit 0ce3d4967f
2 changed files with 14 additions and 8 deletions

View File

@ -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>

View File

@ -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