sthen d7f0752227 bump all the py3 things, _SYSTEM_VERSION didn't quite work out how
we expected and it's easier|safer to do it this way than fiddle with
pkg_add now. thanks aja for update tests with a quick bulk.
2019-04-28 20:51:26 +00:00

49 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.26 2019/04/28 20:51:27 sthen Exp $
COMMENT= audio player and tagger for GTK+ with regex support
MODPY_EGG_VERSION= 4.1.0
DISTNAME= quodlibet-${MODPY_EGG_VERSION}
PORTROACH= skipv:release-${MODPY_EGG_VERSION}
REVISION= 3
CATEGORIES= audio
MAINTAINER= Stuart Henderson <sthen@openbsd.org>
HOMEPAGE= https://quodlibet.readthedocs.org/
# GPLv2+
PERMIT_PACKAGE_CDROM= Yes
MASTER_SITES= https://github.com/quodlibet/quodlibet/releases/download/release-${MODPY_EGG_VERSION}/
MODULES= lang/python \
textproc/intltool
MODPY_VERSION= ${MODPY_DEFAULT_VERSION_3}
RUN_DEPENDS= audio/py-mutagen${MODPY_FLAVOR}>=1.34 \
devel/py-gobject3${MODPY_FLAVOR}>=3.18 \
graphics/py-cairo${MODPY_FLAVOR}>=1.8 \
textproc/py-feedparser${MODPY_FLAVOR} \
x11/dbus-python${MODPY_FLAVOR}
# others
RUN_DEPENDS+= devel/desktop-file-utils \
devel/libsoup \
multimedia/gstreamer1/plugins-good \
multimedia/gstreamer1/plugins-libav \
multimedia/xine-lib \
x11/gtksourceview3 \
x11/gtk+3,-guic
BUILD_DEPENDS= ${RUN_DEPENDS}
MODPY_ADJ_FILES= *py
MODPY_DISTUTILS_INSTALLARGS= --mandir=${PREFIX}/man
do-test:
cd ${WRKSRC}; ${MODPY_BIN} ./setup.py test
.include <bsd.port.mk>