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