[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/13: gnu: python-onnx: Rename to "onnx".
From: |
guix-commits |
Subject: |
05/13: gnu: python-onnx: Rename to "onnx". |
Date: |
Fri, 30 Jul 2021 19:04:26 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit fa2d94b5e362c684da812d494463d965e601c18d
Author: Ludovic Courtès <ludovic.courtes@inria.fr>
AuthorDate: Fri Jul 30 17:19:34 2021 +0200
gnu: python-onnx: Rename to "onnx".
* gnu/packages/machine-learning.scm (python-onnx): Rename to...
(onnx): ... this, and change 'name' field accordingly.
(python-onnx): New variable.
* gnu/packages/patches/python-onnx-shared-libraries.patch: Rename to...
* gnu/packages/patches/onnx-shared-libraries.patch: ... this.
* gnu/packages/patches/python-onnx-use-system-googletest.patch: Rename
to...
* gnu/packages/patches/onnx-use-system-googletest.patch: ... this.
* gnu/local.mk (dist_patch_DATA): Adjust accordingly.
---
gnu/local.mk | 4 ++--
gnu/packages/machine-learning.scm | 14 ++++++++++----
...-shared-libraries.patch => onnx-shared-libraries.patch} | 0
...m-googletest.patch => onnx-use-system-googletest.patch} | 0
4 files changed, 12 insertions(+), 6 deletions(-)
diff --git a/gnu/local.mk b/gnu/local.mk
index 798560c..e6c03cb 100644
--- a/gnu/local.mk
+++ b/gnu/local.mk
@@ -1512,6 +1512,8 @@ dist_patch_DATA =
\
%D%/packages/patches/ocaml-dose3-Install-mli-cmx-etc.patch \
%D%/packages/patches/omake-fix-non-determinism.patch \
%D%/packages/patches/oneko-remove-nonfree-characters.patch \
+ %D%/packages/patches/onnx-use-system-googletest.patch \
+ %D%/packages/patches/onnx-shared-libraries.patch \
%D%/packages/patches/openbabel-fix-crash-on-nwchem-output.patch \
%D%/packages/patches/opencascade-oce-glibc-2.26.patch \
%D%/packages/patches/opencv-fix-build-of-grfmt_jpeg2000.cpp.patch \
@@ -1633,8 +1635,6 @@ dist_patch_DATA =
\
%D%/packages/patches/python-memcached-syntax-warnings.patch \
%D%/packages/patches/python-mox3-python3.6-compat.patch \
%D%/packages/patches/python-testtools.patch \
- %D%/packages/patches/python-onnx-use-system-googletest.patch \
- %D%/packages/patches/python-onnx-shared-libraries.patch \
%D%/packages/patches/python-packaging-test-arch.patch \
%D%/packages/patches/python2-parameterized-docstring-test.patch \
%D%/packages/patches/python-paste-remove-timing-test.patch \
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index 1cea919..75faeb8 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -581,16 +581,16 @@ tools. This enables both rapid prototyping of data
pipelines and extensibility
in terms of new algorithms.")
(license license:gpl3+)))
-(define-public python-onnx
+(define-public onnx
(package
- (name "python-onnx")
+ (name "onnx")
(version "1.9.0")
(source
(origin
(method url-fetch)
(uri (pypi-uri "onnx" version))
- (patches (search-patches "python-onnx-use-system-googletest.patch"
- "python-onnx-shared-libraries.patch"))
+ (patches (search-patches "onnx-use-system-googletest.patch"
+ "onnx-shared-libraries.patch"))
(sha256
(base32 "0yjv2axz2vc2ysniwislsp53fsb8f61y1warrr2ppn2d9ijml1d9"))
(modules '((guix build utils)))
@@ -658,6 +658,12 @@ computation graph model, as well as definitions of
built-in operators and
standard data types.")
(license license:expat)))
+(define-public python-onnx
+ ;; This used to be called "python-onnx" because it provided nothing but
+ ;; Python bindings. The package now provides shared libraries and C++
+ ;; headers, hence the name change.
+ (deprecated-package "python-onnx" onnx))
+
(define-public rxcpp
(package
(name "rxcpp")
diff --git a/gnu/packages/patches/python-onnx-shared-libraries.patch
b/gnu/packages/patches/onnx-shared-libraries.patch
similarity index 100%
rename from gnu/packages/patches/python-onnx-shared-libraries.patch
rename to gnu/packages/patches/onnx-shared-libraries.patch
diff --git a/gnu/packages/patches/python-onnx-use-system-googletest.patch
b/gnu/packages/patches/onnx-use-system-googletest.patch
similarity index 100%
rename from gnu/packages/patches/python-onnx-use-system-googletest.patch
rename to gnu/packages/patches/onnx-use-system-googletest.patch
- branch master updated (721e380 -> db2c7e7), guix-commits, 2021/07/30
- 01/13: gnu: python-onnx: Update to 1.9.0., guix-commits, 2021/07/30
- 02/13: gnu: python-onnx: Move comment to the patch header., guix-commits, 2021/07/30
- 03/13: gnu: python-onnx: Delete bundled software., guix-commits, 2021/07/30
- 04/13: gnu: python-onnx: Install libonnx.so and libonnx_proto.so., guix-commits, 2021/07/30
- 05/13: gnu: python-onnx: Rename to "onnx".,
guix-commits <=
- 06/13: gnu: onnx: Change source to 'git-fetch'., guix-commits, 2021/07/30
- 07/13: gnu: python-yubikey-manager: Fix libykpers reference., guix-commits, 2021/07/30
- 10/13: gnu: Add libmobi., guix-commits, 2021/07/30
- 11/13: gnu: racket: Update to 8.2., guix-commits, 2021/07/30
- 13/13: gnu: racket-minimal: Bootstrap from C., guix-commits, 2021/07/30
- 09/13: gnu: guile-dbd-sqlite3: Replace 'url-fetch' by 'git-fetch'., guix-commits, 2021/07/30
- 08/13: gnu: guile-dbi: Replace 'url-fetch' by 'git-fetch'., guix-commits, 2021/07/30
- 12/13: gnu: racket: Unbundle racket-minimal., guix-commits, 2021/07/30