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.
52 lines
1.1 KiB
Makefile
52 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.17 2021/02/23 19:39:49 sthen Exp $
|
|
|
|
COMMENT = web out of browsers
|
|
|
|
MODPY_EGG_VERSION = 2.0
|
|
DISTNAME = weboob-${MODPY_EGG_VERSION}
|
|
REVISION = 0
|
|
|
|
CATEGORIES = www
|
|
HOMEPAGE = https://weboob.org
|
|
|
|
MAINTAINER = Sebastien Marie <semarie@online.fr>
|
|
|
|
# LGPLv3
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MODULES = lang/python
|
|
|
|
MODPY_PI = Yes
|
|
MODPY_SETUPTOOLS = Yes
|
|
|
|
RUN_DEPENDS += converters/py-html2text${MODPY_FLAVOR} \
|
|
devel/py-babel${MODPY_FLAVOR} \
|
|
devel/py-dateutil${MODPY_FLAVOR} \
|
|
devel/py-simplejson${MODPY_FLAVOR} \
|
|
devel/py-six${MODPY_FLAVOR} \
|
|
graphics/py-Pillow${MODPY_FLAVOR} \
|
|
net/curl \
|
|
security/gnupg \
|
|
textproc/py-lxml${MODPY_FLAVOR} \
|
|
textproc/py-feedparser${MODPY_FLAVOR} \
|
|
textproc/py-prettytable${MODPY_FLAVOR} \
|
|
textproc/py-yaml${MODPY_FLAVOR} \
|
|
textproc/py-cssselect${MODPY_FLAVOR} \
|
|
textproc/py-unidecode${MODPY_FLAVOR} \
|
|
www/py-requests${MODPY_FLAVOR}
|
|
|
|
TEST_DEPENDS += devel/flake8 \
|
|
devel/py-nose${MODPY_FLAVOR} \
|
|
devel/py-coverage${MODPY_FLAVOR} \
|
|
www/py-selenium${MODPY_FLAVOR}
|
|
|
|
# missing dependencies for test:
|
|
# xunitparser
|
|
# python3-nss
|
|
# PyQt5.QtWebEngineWidgets
|
|
# gtk
|
|
#
|
|
NO_TEST = Yes
|
|
|
|
.include <bsd.port.mk>
|