31 lines
575 B
Makefile
Raw Normal View History

2017-04-22 20:37:39 +00:00
# $OpenBSD: Makefile,v 1.45 2017/04/22 20:37:39 shadchin Exp $
COMMENT = Python API for dealing with timezones
2017-04-22 20:37:39 +00:00
MODPY_EGG_VERSION = 2017.2
DISTNAME = pytz-${MODPY_EGG_VERSION}
PKGNAME = ${DISTNAME:S/^py/py-/}
CATEGORIES = devel
HOMEPAGE = http://pytz.sourceforge.net/
MAINTAINER = Alexandr Shadchin <shadchin@openbsd.org>
2004-11-11 03:50:41 +00:00
# BSD
PERMIT_PACKAGE_CDROM = Yes
2017-04-22 20:37:39 +00:00
EXTRACT_SUFX = .zip
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>