# $OpenBSD: Makefile,v 1.6 2021/11/02 00:02:38 sthen Exp $

COMMENT=	Python library to read/write Excel 2010 xlsx/xlsm files

MODPY_EGG_VERSION=	3.0.9

DISTNAME=	openpyxl-${MODPY_EGG_VERSION}
PKGNAME=	py-${DISTNAME}
REVISION=	0

CATEGORIES=	textproc

HOMEPAGE=	https://openpyxl.readthedocs.io/

# MIT
PERMIT_PACKAGE=	Yes

MODULES=		lang/python

MODPY_PI=		Yes
MODPY_SETUPTOOLS=	Yes

FLAVOR=			python3
FLAVORS=		python3

# not in pypi distfile
NO_TEST=		Yes

RUN_DEPENDS=		misc/py-jdcal${MODPY_FLAVOR} \
			textproc/py-defusedxml${MODPY_FLAVOR}>=0.6.0 \
			textproc/py-et_xmlfile${MODPY_FLAVOR} \
			textproc/py-lxml${MODPY_FLAVOR}

FIX_EXTRACT_PERMISSIONS= Yes

.include <bsd.port.mk>
