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

61 lines
1.6 KiB
Makefile

# $OpenBSD: Makefile,v 1.7 2021/02/23 19:39:47 sthen Exp $
COMMENT= all-in-one management software
MV= 13.0
SV= 20201216
V= ${MV}.${SV}
DISTNAME= odoo_${V}
PKGNAME= ${DISTNAME:S/_/-/}
CATEGORIES= www
MAINTAINER= Robert Nagy <robert@openbsd.org>
HOMEPAGE= https://www.odoo.com
MASTER_SITES= https://nightly.odoocdn.com/${MV}/nightly/src/
MODULES= lang/python
MODPY_SETUPTOOLS= Yes
WRKDIST= ${WRKDIR}/odoo-${MV}.post${SV}
RUN_DEPENDS= converters/py-html2text${MODPY_FLAVOR} \
converters/py-num2words${MODPY_FLAVOR} \
databases/postgresql,-main \
databases/py-psycopg2${MODPY_FLAVOR} \
devel/py-babel${MODPY_FLAVOR} \
devel/py-dateutil${MODPY_FLAVOR} \
devel/py-decorator${MODPY_FLAVOR} \
devel/py-gevent${MODPY_FLAVOR} \
devel/py-stdnum${MODPY_FLAVOR} \
devel/py-xlsxwriter${MODPY_FLAVOR} \
graphics/py-Pillow${MODPY_FLAVOR} \
lang/node \
print/py-reportlab${MODPY_FLAVOR} \
security/py-passlib${MODPY_FLAVOR} \
sysutils/py-psutil${MODPY_FLAVOR} \
telephony/py-phonenumbers${MODPY_FLAVOR} \
textproc/py-PyPDF2${MODPY_FLAVOR} \
textproc/py-docutils${MODPY_FLAVOR} \
textproc/py-lxml${MODPY_FLAVOR} \
textproc/py-polib${MODPY_FLAVOR} \
textproc/py-vobject${MODPY_FLAVOR} \
textproc/py-yaml${MODPY_FLAVOR} \
textproc/wkhtmltopdf \
www/py-jinja2${MODPY_FLAVOR} \
www/py-requests${MODPY_FLAVOR} \
www/py-requests-futures${MODPY_FLAVOR} \
www/py-requests-toolbelt${MODPY_FLAVOR} \
www/py-werkzeug${MODPY_FLAVOR} \
www/sassc
# LGPL
PERMIT_PACKAGE = Yes
PKG_ARCH= *
.include <bsd.port.mk>