daniel 136fb68394 Update to 2018.7; from wen heping.
ok rpointel@, shadchin@ (MAINTAINER)
2018-11-12 19:39:12 +00:00

29 lines
551 B
Makefile

# $OpenBSD: Makefile,v 1.48 2018/11/12 19:39:12 daniel Exp $
COMMENT = Python API for dealing with timezones
MODPY_EGG_VERSION = 2018.7
DISTNAME = pytz-${MODPY_EGG_VERSION}
PKGNAME = ${DISTNAME:S/^py/py-/}
CATEGORIES = devel
HOMEPAGE = http://pytz.sourceforge.net/
MAINTAINER = Alexandr Shadchin <shadchin@openbsd.org>
# BSD
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
FLAVORS= python3
FLAVOR?=
do-test:
cd ${WRKSRC} && ${MODPY_BIN} -m unittest discover pytz/tests
.include <bsd.port.mk>