pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-torch: WIP see TODO



Module Name:	pkgsrc-wip
Committed By:	mayuresh <mayuresh%acm.org@localhost>
Pushed By:	mayuresh
Date:		Fri Jul 15 22:20:46 2022 +0530
Changeset:	2e83f992bcb9a7f2da8bd0044ee604fd68c8900b

Added Files:
	py-torch/DESCR
	py-torch/Makefile
	py-torch/PLIST
	py-torch/TODO
	py-torch/distinfo

Log Message:
py-torch: WIP see TODO

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2e83f992bcb9a7f2da8bd0044ee604fd68c8900b

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-torch/DESCR    |  7 +++++++
 py-torch/Makefile | 19 +++++++++++++++++++
 py-torch/PLIST    |  4 ++++
 py-torch/TODO     | 16 ++++++++++++++++
 py-torch/distinfo |  5 +++++
 5 files changed, 51 insertions(+)

diffs:
diff --git a/py-torch/DESCR b/py-torch/DESCR
new file mode 100644
index 0000000000..6a659b28d9
--- /dev/null
+++ b/py-torch/DESCR
@@ -0,0 +1,7 @@
+PyTorch is a Python package that provides two high-level features:
+
+    Tensor computation (like NumPy) with strong GPU acceleration
+    Deep neural networks built on a tape-based autograd system
+
+You can reuse your favorite Python packages such as NumPy, SciPy, and Cython to
+extend PyTorch when needed.
diff --git a/py-torch/Makefile b/py-torch/Makefile
new file mode 100644
index 0000000000..e8d6b94c2a
--- /dev/null
+++ b/py-torch/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+DISTNAME=	pytorch-1.12.0
+PKGNAME=	${PYPKGPREFIX}-torch-1.12.0
+CATEGORIES=	math
+MASTER_SITES=	${MASTER_SITE_GITHUB:=pytorch/}
+GITHUB_PROJECT=	pytorch
+GITHUB_TAG=	refs/tags/v${PKGVERSION_NOREV}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://pytorch.org/
+COMMENT=	Tensors and Dynamic neural networks in Python with GPU acceleration
+#LICENSE=	# TODO: (see mk/license.mk)
+
+WRKSRC=	${WRKDIR}/pytorch-1.12.0
+
+# url2pkg-marker (please do not remove this line.)
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-torch/PLIST b/py-torch/PLIST
new file mode 100644
index 0000000000..92ba51a2d7
--- /dev/null
+++ b/py-torch/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD$
+@comment TODO: to fill this file with the file listing:
+@comment TODO: 1. run "/usr/bin/make package"
+@comment TODO: 2. run "/usr/bin/make print-PLIST"
diff --git a/py-torch/TODO b/py-torch/TODO
new file mode 100644
index 0000000000..92d084c528
--- /dev/null
+++ b/py-torch/TODO
@@ -0,0 +1,16 @@
+fatal: not a git repository (or any of the parent directories): .git                                                                   
+Building wheel torch-1.12.0a0+gitUnknown
+-- Building version 1.12.0a0+gitUnknown
+ --- Trying to initialize submodules
+fatal: not a git repository (or any of the parent directories): .git                                                                   
+ --- Submodule initalization failed
+Please run:
+        git submodule update --init --recursive --jobs 0
+*** Error code 1
+
+Stop.
+make[1]: stopped in /usr/pkgsrc/wip/py-torch
+*** Error code 1
+
+Stop.
+
diff --git a/py-torch/distinfo b/py-torch/distinfo
new file mode 100644
index 0000000000..c37cae4a6a
--- /dev/null
+++ b/py-torch/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (pytorch-1.12.0.tar.gz) = e4a7c2b9fba289880fbb6e0dbd854980b22c208fa03620b1c2c39b5cc6571189
+SHA512 (pytorch-1.12.0.tar.gz) = c9c748a2e0047daaaf199a1ba3198d2d1aee47f664170a9b34ccacd3deeb95f2070e4035eeb900012ef48dc62cf6fb6806f1a1dfe22de8c94892963076e593b7
+Size (pytorch-1.12.0.tar.gz) = 106286765 bytes


Home | Main Index | Thread Index | Old Index