svn commit: r508401 - in head/science/py-onnx: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Thu Aug 8 19:22:20 UTC 2019
Author: sunpoet
Date: Thu Aug 8 19:22:20 2019
New Revision: 508401
URL: https://svnweb.freebsd.org/changeset/ports/508401
Log:
Fix RUN_DEPENDS: typing is used for Python 3.4 and below
- Bump PORTREVISION for dependency change
With hat: python
Modified:
head/science/py-onnx/Makefile
head/science/py-onnx/files/patch-setup.py
Modified: head/science/py-onnx/Makefile
==============================================================================
--- head/science/py-onnx/Makefile Thu Aug 8 18:52:35 2019 (r508400)
+++ head/science/py-onnx/Makefile Thu Aug 8 19:22:20 2019 (r508401)
@@ -2,6 +2,7 @@
PORTNAME= onnx
DISTVERSION= 1.5.0
+PORTREVISION= 1
CATEGORIES= science
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -17,7 +18,7 @@ BUILD_DEPENDS= cmake:devel/cmake \
LIB_DEPENDS= libprotobuf.so:devel/protobuf
RUN_DEPENDS= ${PYNUMPY} \
${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}typing>0:devel/py-typing@${PY_FLAVOR} \
+ ${PY_TYPING} \
${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR}
USES= python
Modified: head/science/py-onnx/files/patch-setup.py
==============================================================================
--- head/science/py-onnx/files/patch-setup.py Thu Aug 8 18:52:35 2019 (r508400)
+++ head/science/py-onnx/files/patch-setup.py Thu Aug 8 19:22:20 2019 (r508401)
@@ -1,4 +1,4 @@
---- setup.py.orig 2019-08-08 17:17:08 UTC
+--- setup.py.orig 2019-04-24 06:21:37 UTC
+++ setup.py
@@ -52,11 +52,12 @@ COVERAGE = bool(os.getenv('COVERAGE'))
# Version
@@ -18,3 +18,12 @@
with open(os.path.join(TOP_DIR, 'VERSION_NUMBER')) as version_file:
VersionInfo = namedtuple('VersionInfo', ['version', 'git_version'])(
+@@ -286,7 +287,7 @@ install_requires.extend([
+ 'protobuf',
+ 'numpy',
+ 'six',
+- 'typing>=3.6.4',
++ 'typing>=3.6.4; python_version < 3.5',
+ 'typing-extensions>=3.6.2.1',
+ ])
+
More information about the svn-ports-all
mailing list