From a02a0f44326fcfe889b304a04199590a63b67c80 Mon Sep 17 00:00:00 2001 From: Yuri Victorovich Date: Tue, 27 Aug 2019 04:08:33 +0000 Subject: [PATCH] Move science/py-onnx -> math/py-onnx math is a more appropriate category, but neural networks is really an emerging field in itself and it probably deserves the category of its own. --- MOVED | 1 + math/Makefile | 1 + {science => math}/py-onnx/Makefile | 9 ++++++--- {science => math}/py-onnx/distinfo | 0 {science => math}/py-onnx/files/patch-setup.py | 0 {science => math}/py-onnx/pkg-descr | 0 science/Makefile | 1 - 7 files changed, 8 insertions(+), 4 deletions(-) rename {science => math}/py-onnx/Makefile (77%) rename {science => math}/py-onnx/distinfo (100%) rename {science => math}/py-onnx/files/patch-setup.py (100%) rename {science => math}/py-onnx/pkg-descr (100%) diff --git a/MOVED b/MOVED index e35c47e23e2e..f8162cda0a77 100644 --- a/MOVED +++ b/MOVED @@ -12882,3 +12882,4 @@ palm/jpilot-picsnvideos|comms/jpilot-picsnvideos|2019-08-20|Move to more applica devel/linux-c6-libelf|devel/linux-c6-elfutils-libelf|2019-08-25|Moved to match package name devel/linux-c7-libelf|devel/linux-c7-elfutils-libelf|2019-08-25|Moved to match package name security/linux-c7-openssl||2019-08-25|Merged into linux_base-c7 +science/py-onnx|math/py-onnx|2019-08-26|Move to a more appropriate category diff --git a/math/Makefile b/math/Makefile index 25035681c124..2eb3b6184b4b 100644 --- a/math/Makefile +++ b/math/Makefile @@ -739,6 +739,7 @@ SUBDIR += py-numexpr SUBDIR += py-numpy SUBDIR += py-nzmath + SUBDIR += py-onnx SUBDIR += py-osqp SUBDIR += py-pandas SUBDIR += py-pandas-datareader diff --git a/science/py-onnx/Makefile b/math/py-onnx/Makefile similarity index 77% rename from science/py-onnx/Makefile rename to math/py-onnx/Makefile index e96ce99e28dc..17aa6e740297 100644 --- a/science/py-onnx/Makefile +++ b/math/py-onnx/Makefile @@ -2,8 +2,8 @@ PORTNAME= onnx DISTVERSION= 1.5.0 -PORTREVISION= 1 -CATEGORIES= science +PORTREVISION= 2 +CATEGORIES= math MASTER_SITES= CHEESESHOP PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -17,7 +17,7 @@ BUILD_DEPENDS= cmake:devel/cmake \ ${PYTHON_PKGNAMEPREFIX}pytest-runner>=0:devel/py-pytest-runner@${PY_FLAVOR} LIB_DEPENDS= libprotobuf.so:devel/protobuf RUN_DEPENDS= ${PYNUMPY} \ - ${PYTHON_PKGNAMEPREFIX}six>=0:devel/py-six@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ ${PY_TYPING} \ ${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR} @@ -26,4 +26,7 @@ USE_PYTHON= distutils concurrent autoplist BINARY_ALIAS= python=${PYTHON_CMD} +post-install: + @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/onnx/onnx_cpp2py_export.so + .include diff --git a/science/py-onnx/distinfo b/math/py-onnx/distinfo similarity index 100% rename from science/py-onnx/distinfo rename to math/py-onnx/distinfo diff --git a/science/py-onnx/files/patch-setup.py b/math/py-onnx/files/patch-setup.py similarity index 100% rename from science/py-onnx/files/patch-setup.py rename to math/py-onnx/files/patch-setup.py diff --git a/science/py-onnx/pkg-descr b/math/py-onnx/pkg-descr similarity index 100% rename from science/py-onnx/pkg-descr rename to math/py-onnx/pkg-descr diff --git a/science/Makefile b/science/Makefile index 1a440775788c..cfd00ac96f3d 100644 --- a/science/Makefile +++ b/science/Makefile @@ -252,7 +252,6 @@ SUBDIR += py-netCDF4 SUBDIR += py-obspy SUBDIR += py-oddt - SUBDIR += py-onnx SUBDIR += py-openpiv SUBDIR += py-paida SUBDIR += py-paramz