28 lines
504 B
Makefile
Raw Normal View History

2020-02-03 20:40:37 +00:00
# $OpenBSD: Makefile,v 1.54 2020/02/03 20:40:38 sthen Exp $
COMMENT = Python API for dealing with timezones
2019-10-23 14:59:32 +00:00
MODPY_EGG_VERSION = 2019.3
DISTNAME = pytz-${MODPY_EGG_VERSION}
PKGNAME = ${DISTNAME:S/^py/py-/}
CATEGORIES = devel
2020-02-03 20:40:37 +00:00
REVISION = 0
HOMEPAGE = https://pythonhosted.org/pytz/
# MIT
PERMIT_PACKAGE = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
2013-09-05 08:34:47 +00:00
FLAVORS= python3
FLAVOR?=
do-test:
2016-12-07 06:59:58 +00:00
cd ${WRKSRC} && ${MODPY_BIN} -m unittest discover pytz/tests
.include <bsd.port.mk>