convert py-dateutil to py3-only

This commit is contained in:
sthen 2022-02-26 20:54:37 +00:00
parent fca47f621f
commit 22987070b8
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.37 2021/11/02 00:00:47 sthen Exp $
# $OpenBSD: Makefile,v 1.38 2022/02/26 20:54:37 sthen Exp $
COMMENT = Python API for advanced date calculations
@ -6,7 +6,7 @@ MODPY_EGG_VERSION = 2.8.2
DISTNAME = python-dateutil-${MODPY_EGG_VERSION}
PKGNAME = ${DISTNAME:S/^python-/py-/}
CATEGORIES = devel
REVISION = 0
REVISION = 1
HOMEPAGE = https://dateutil.readthedocs.org/
@ -14,6 +14,8 @@ HOMEPAGE = https://dateutil.readthedocs.org/
PERMIT_PACKAGE = Yes
MODULES = lang/python
FLAVORS = python3
FLAVOR = python3
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
@ -25,7 +27,4 @@ TEST_DEPENDS = devel/py-freezegun${MODPY_FLAVOR} \
devel/py-hypothesis${MODPY_FLAVOR} \
devel/py-six${MODPY_FLAVOR}
FLAVORS = python3
FLAVOR ?=
.include <bsd.port.mk>

View File

@ -1,4 +1,5 @@
@comment $OpenBSD: PLIST,v 1.11 2018/09/07 11:22:25 sthen Exp $
@comment $OpenBSD: PLIST,v 1.12 2022/02/26 20:54:37 sthen Exp $
@pkgpath devel/py-dateutil
lib/python${MODPY_VERSION}/site-packages/dateutil/
lib/python${MODPY_VERSION}/site-packages/dateutil/__init__.py
${MODPY_COMMENT}lib/python${MODPY_VERSION}/site-packages/dateutil/${MODPY_PYCACHE}/