Upstream tagged 1.4 and I'm still struggling with the python3 rdep.
MODULES= lang/python
MODPY_VERSION= ${MODPY_DEFAULT_VERSION_3}
stops "make build" with the error: can't find ./setup.py
No setup.py exists in the upstream code.
python3 is not a build dependency and is only needed if
"jgmenurc pmenu" is invoked.
https://github.com/johanmalm/jgmenu/blob/master/INSTALL.md#dependencies
Johan Malm tells me that python3 is just used to produce text output.
My understanding is that "MODULES" appends to BUILD_DEPENDS,
RUN_DEPENDS, LIB_DEPENDS and WANTLIB but for this port only RUN_DEPENDS
is needed. Would the most concise way to deal with the RUN_DEPENDS be
to fully specify lang/python3 in RUN_DEPENDS. I've looked at other
recent, python based ports and have not found a similar, python3
RUN_DEPENDS. The closest seems to be productivity/calcurse.
Or use MODULES and disable the appending of BUILD_DEPENDS, LIB_DEPENDS
and WANTLIB?
What I have currently:
# $OpenBSD: Makefile.template,v 1.78 2018/07/09 15:00:06 jca Exp $
COMMENT= freedesktop-complaint menu for openbox and tint2
V= 1.4
CATEGORIES= x11
DISTNAME= jgmenu-${V}
HOMEPAGE= https://github.com/johanmalm/jgmenu
GH_ACCOUNT= johanmalm
GH_PROJECT= jgmenu
# GPLv2 only
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES = https://github.com/johanmalm/jgmenu/archive/v${V}/
WANTLIB+= X11 Xrandr c m pthread z
WANTLIB+= cairo gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0 iconv
WANTLIB+= intl lzma menu-cache pango-1.0 pangocairo-1.0 png
WANTLIB+= rsvg-2 xml2
BUILD_DEPENDS= x11/menu-cache
USE_GMAKE= Yes
RUN_DEPENDS= devel/desktop-file-utils \
x11/gtk+3,-guic \
x11/menu-cache
.include <bsd.port.mk>
Thanks
--
J. Scott Heppler