+py3-typing

This commit is contained in:
sthen 2018-03-08 15:08:50 +00:00
parent 7f2823e085
commit d8b7fd3abe
3 changed files with 11 additions and 4 deletions

View File

@ -1,4 +1,4 @@
#${MODPY_COMMENT} $OpenBSD: Makefile,v 1.1708 2018/03/08 09:18:31 rpointel Exp $
#${MODPY_COMMENT} $OpenBSD: Makefile,v 1.1709 2018/03/08 15:08:50 sthen Exp $
SUBDIR =
SUBDIR += ElectricFence
@ -1559,6 +1559,7 @@
SUBDIR += py-twisted
SUBDIR += py-txaio
SUBDIR += py-typing
SUBDIR += py-typing,python3
SUBDIR += py-tz
SUBDIR += py-tz,python3
SUBDIR += py-tzlocal

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.3 2018/01/19 21:45:21 jung Exp $
# $OpenBSD: Makefile,v 1.4 2018/03/08 15:08:50 sthen Exp $
COMMENT = type hints for python
@ -15,7 +15,13 @@ MODULES = lang/python
MODPY_PI = Yes
MODPY_SETUPTOOLS = Yes
FLAVORS = python3
FLAVOR ?=
# python3 tests require py-flake8-* ports
.if ! ${FLAVOR:Mpython3}
do-test:
cd ${WRKSRC} && ${MODPY_BIN} -m unittest discover python2
.endif
.include <bsd.port.mk>

View File

@ -1,8 +1,8 @@
@comment $OpenBSD: PLIST,v 1.2 2018/01/19 21:45:21 jung Exp $
@comment $OpenBSD: PLIST,v 1.3 2018/03/08 15:08:50 sthen Exp $
lib/python${MODPY_VERSION}/site-packages/${MODPY_PYCACHE}typing.${MODPY_PYC_MAGIC_TAG}pyc
lib/python${MODPY_VERSION}/site-packages/typing-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/
lib/python${MODPY_VERSION}/site-packages/typing-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/PKG-INFO
lib/python${MODPY_VERSION}/site-packages/typing-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/SOURCES.txt
lib/python${MODPY_VERSION}/site-packages/typing-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/dependency_links.txt
lib/python${MODPY_VERSION}/site-packages/typing-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info/top_level.txt
lib/python${MODPY_VERSION}/site-packages/typing.py
lib/python${MODPY_VERSION}/site-packages/typing.pyc