sthen 3cbe1c2f30 Reverse the polarity of MODPY_VERSION; default is now 3.x,
if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}.

This commit doesn't change any versions currently used; it may be that
some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those
should be cleaned up in the course of updating ports where possible.

Python module ports providing py3-* packages should still use
FLAVOR=python3 so that we don't have a mixture of dependencies some
using ${MODPY_FLAVOR} and others not.
2021-02-23 19:39:08 +00:00

41 lines
1015 B
Makefile

# $OpenBSD: Makefile,v 1.93 2021/02/23 19:39:32 sthen Exp $
COMMENT= jabber client written in pygtk
MODPY_EGG_VERSION= 1.2.2
DISTNAME= gajim-${MODPY_EGG_VERSION}
CATEGORIES= net x11
REVISION= 0
HOMEPAGE= https://www.gajim.org
MAINTAINER= Pierre-Emmanuel Andre <pea@openbsd.org>
MASTER_SITES= ${HOMEPAGE}/downloads/1.2/
# GPLv3 only
PERMIT_PACKAGE= Yes
MODULES= lang/python
MODPY_SETUPTOOLS= Yes
BUILD_DEPENDS= devel/gettext,-tools
RUN_DEPENDS= devel/desktop-file-utils \
devel/glib2>=2.6.0 \
devel/libsoup \
graphics/py-Pillow${MODPY_FLAVOR} \
graphics/py-cairo${MODPY_FLAVOR} \
net/py-nbxmpp${MODPY_FLAVOR}>=1.0.2 \
security/py-cryptodome${MODPY_FLAVOR} \
security/py-gnupg${MODPY_FLAVOR} \
security/py-keyring${MODPY_FLAVOR} \
security/py-openssl${MODPY_FLAVOR} \
sysutils/py-packaging${MODPY_FLAVOR} \
textproc/gspell \
textproc/py-css-parser${MODPY_FLAVOR} \
textproc/py-precis_i18n${MODPY_FLAVOR} \
x11/dbus-python${MODPY_FLAVOR} \
x11/gtk+3,-guic
.include <bsd.port.mk>