Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Aug 2019 04:08:33 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r509984 - in head: . math math/py-onnx science science/py-onnx
Message-ID:  <201908270408.x7R48XbM001107@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Tue Aug 27 04:08:33 2019
New Revision: 509984
URL: https://svnweb.freebsd.org/changeset/ports/509984

Log:
  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.

Added:
  head/math/py-onnx/
     - copied from r509983, head/science/py-onnx/
Deleted:
  head/science/py-onnx/
Modified:
  head/MOVED
  head/math/Makefile
  head/math/py-onnx/Makefile
  head/science/Makefile

Modified: head/MOVED
==============================================================================
--- head/MOVED	Tue Aug 27 03:27:32 2019	(r509983)
+++ head/MOVED	Tue Aug 27 04:08:33 2019	(r509984)
@@ -12882,3 +12882,4 @@ palm/jpilot-picsnvideos|comms/jpilot-picsnvideos|2019-
 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

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Tue Aug 27 03:27:32 2019	(r509983)
+++ head/math/Makefile	Tue Aug 27 04:08:33 2019	(r509984)
@@ -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

Modified: head/math/py-onnx/Makefile
==============================================================================
--- head/science/py-onnx/Makefile	Tue Aug 27 03:27:32 2019	(r509983)
+++ head/math/py-onnx/Makefile	Tue Aug 27 04:08:33 2019	(r509984)
@@ -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}
 
@@ -25,5 +25,8 @@ USES=		compiler:c11 python
 USE_PYTHON=	distutils concurrent autoplist
 
 BINARY_ALIAS=	python=${PYTHON_CMD}
+
+post-install:
+	@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/onnx/onnx_cpp2py_export.so
 
 .include <bsd.port.mk>

Modified: head/science/Makefile
==============================================================================
--- head/science/Makefile	Tue Aug 27 03:27:32 2019	(r509983)
+++ head/science/Makefile	Tue Aug 27 04:08:33 2019	(r509984)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908270408.x7R48XbM001107>