From nobody Sat Mar 15 09:04:35 2025 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4ZFFfr2Rx0z5qRK0; Sat, 15 Mar 2025 09:04:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZFFfr0kQpz40X2; Sat, 15 Mar 2025 09:04:36 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1742029476; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=d2+negCOBOM/k6RIHr3QKQqoW0UgA953b6a3KIyCu/k=; b=kWZxZSrG2xtWX5WvEwdoKesvqv9dWg/gAeVhQR4KZoOB90X1dem5ead3/a9HsLHioRJ67P mJ3pxonQxROiMhKUvkXICn+6PJ++TBCXx0t/AISbS982IBKpXlzeQ9p9xpehCM0NhFnthv 4VD7jUJjNZyVqexFsFco4vqbzgYG60yjfZYLl1rScQzeKcv8PvmgK1OBnoZeLCLnU8nlSV oibZhsP2yF+NZA2d3StmB/1wUoxwfWpnN88MZK+eY6XC2Ou85X+k9yXjAyg6ynZl+JEXlt XnnSMJjJdD1xs0+1N6LX2q2onb495zVvFqIatmas1y/TqhOzTm0lZpEatDQ9lA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1742029476; a=rsa-sha256; cv=none; b=PfDsFT090Y0tjnhDspstKEwMreVXs5XtPWwSLA5j4Bfen4NjUSXApqu/k/J34cFKvT6Ppg aroyECf2EQs09A1fTD5QhjlS6IuXyjZTm2lRKQ72F2HPDSIQuEq1s30LrFA3Rqrns7Wros vLwZiaAr7tiTIJRoCOsXsGEk7aDEEB2e91rTzIS1XQYKTvI83CG81p1iyOwvMOjLnairOK nrfyEouOo8AnIH+UXLADGxxy4tu/t89mm1h3z1oeoem3ppcRvXKQuJJEni+G/WId4+Fzwl libfCoGfqUagjMtjssPEd5fXUUGc7b+q2qDaYthD9UkCvFdYdagjzg8RXs2INw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1742029476; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=d2+negCOBOM/k6RIHr3QKQqoW0UgA953b6a3KIyCu/k=; b=OzZK1Y/qoQe9wPhkalmgdFo7KIzIC/KWTT+6D7aVNvlQRF3R/Qm1BZdTunBRHT4Y/Tqpus naUPrjF+6oagPXzBQQQm3OGp+JAi6cLmUonBvCtkWXTeKPEm0RvFzOlDnY7XSOn1ccLOQ7 wlRhGKWzMUAEENBBQymL8ThQsJnmqMpdredzrakyqtzrcGwtUJhftGgNUFY7inDb/wXWD3 StTr1TykUpzyo2DwI7is8jFaWNZVzH+9VXeNt5tGQ6JCAb3wUFQ39QzjTlCDy8M2exNDgR qKAmLODmQw3Bb7P8XFMVRkkAhs5QBWx10PW7+SIy9yfYvvaD6JBjnEE18bq9Ow== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4ZFFfr01rTz1Mm6; Sat, 15 Mar 2025 09:04:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 52F94ZFq064838; Sat, 15 Mar 2025 09:04:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 52F94Z6i064835; Sat, 15 Mar 2025 09:04:35 GMT (envelope-from git) Date: Sat, 15 Mar 2025 09:04:35 GMT Message-Id: <202503150904.52F94Z6i064835@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 720ec705100f - main - misc/py-onnxconverter-common: New port: ONNX converter and optimization tools List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-all@freebsd.org Sender: owner-dev-commits-ports-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 720ec705100fbbf544ff7761ca5c9036cbac8854 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=720ec705100fbbf544ff7761ca5c9036cbac8854 commit 720ec705100fbbf544ff7761ca5c9036cbac8854 Author: Yuri Victorovich AuthorDate: 2025-03-15 06:16:00 +0000 Commit: Yuri Victorovich CommitDate: 2025-03-15 06:16:00 +0000 misc/py-onnxconverter-common: New port: ONNX converter and optimization tools --- misc/Makefile | 1 + misc/py-onnxconverter-common/Makefile | 26 ++++++++++++++++++++++++++ misc/py-onnxconverter-common/distinfo | 3 +++ misc/py-onnxconverter-common/pkg-descr | 4 ++++ 4 files changed, 34 insertions(+) diff --git a/misc/Makefile b/misc/Makefile index ccb62c3afd73..a17dc3760ade 100644 --- a/misc/Makefile +++ b/misc/Makefile @@ -473,6 +473,7 @@ SUBDIR += py-ollama SUBDIR += py-onnx SUBDIR += py-onnx-tf + SUBDIR += py-onnxconverter-common SUBDIR += py-openai SUBDIR += py-openai-whisper SUBDIR += py-openpaperwork-core diff --git a/misc/py-onnxconverter-common/Makefile b/misc/py-onnxconverter-common/Makefile new file mode 100644 index 000000000000..f889e6b8285d --- /dev/null +++ b/misc/py-onnxconverter-common/Makefile @@ -0,0 +1,26 @@ +PORTNAME= onnxconverter-common +DISTVERSION= 1.14.0 +CATEGORIES= misc # machine-learning +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= ONNX converter and optimization tools +WWW= https://github.com/microsoft/onnxconverter-common + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}onnx>0:misc/py-onnx@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}protobuf>=3.20.2:devel/py-protobuf@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist + +NO_ARCH= yes + +.include diff --git a/misc/py-onnxconverter-common/distinfo b/misc/py-onnxconverter-common/distinfo new file mode 100644 index 000000000000..24318815fb7c --- /dev/null +++ b/misc/py-onnxconverter-common/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1742018366 +SHA256 (onnxconverter-common-1.14.0.tar.gz) = 6e431429bd15325c5b2c3eab61bed0d5634c23ed58f8823961be448d629d014a +SIZE (onnxconverter-common-1.14.0.tar.gz) = 82146 diff --git a/misc/py-onnxconverter-common/pkg-descr b/misc/py-onnxconverter-common/pkg-descr new file mode 100644 index 000000000000..d86f457a0dac --- /dev/null +++ b/misc/py-onnxconverter-common/pkg-descr @@ -0,0 +1,4 @@ +The onnxconverter-common package provides common functions and utilities for use +in converters from various AI frameworks to ONNX. It also enables the different +converters to work together to convert a model from mixed frameworks, like a +scikit-learn pipeline embedding a xgboost model.