pkgsrc-WIP-changes archive

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

+py-revolve in wip



Module Name:	pkgsrc-wip
Committed By:	K.I.A.Derouiche <kamelderouiche%yahoo.com@localhost>
Pushed By:	jihbed
Date:		Sun Nov 20 21:44:15 2022 +0000
Changeset:	b24e1bc54cb4151a6dd20d2d390df38d40260226

Modified Files:
	Makefile
Added Files:
	py-revolve/DESCR
	py-revolve/Makefile
	py-revolve/PLIST
	py-revolve/distinfo

Log Message:
+py-revolve in wip

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

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

diffstat:
 Makefile            |  1 +
 py-revolve/DESCR    | 11 +++++++++++
 py-revolve/Makefile | 19 +++++++++++++++++++
 py-revolve/PLIST    | 38 ++++++++++++++++++++++++++++++++++++++
 py-revolve/distinfo |  5 +++++
 5 files changed, 74 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 916809b2e6..2b1b162271 100644
--- a/Makefile
+++ b/Makefile
@@ -4596,6 +4596,7 @@ SUBDIR+=	py-resampy
 SUBDIR+=	py-resonance
 SUBDIR+=	py-restkit
 SUBDIR+=	py-retrying
+SUBDIR+=	py-revolve
 SUBDIR+=	py-rf
 SUBDIR+=	py-rfc3987
 SUBDIR+=	py-rfc6555
diff --git a/py-revolve/DESCR b/py-revolve/DESCR
new file mode 100644
index 0000000000..1484ebc76c
--- /dev/null
+++ b/py-revolve/DESCR
@@ -0,0 +1,11 @@
+The adjoint computation of an unsteady nonlinear primal function requires
+the full primal trajectory in reverse temporal order. Storing this can exceed
+the available memory. In that case, Checkpointing can be used to store the
+state only at carefully selected points in time. From there, the forward
+computation can be restarted to recompute lost sections of the trajectory
+when they are needed during the adjoint computation. This is always a
+tradeoff between memory and runtime. The classic and provably optimal way
+to do this for a known number of time steps is Revolve, and there are other
+algorithms for optimal online checkpointing if the number of steps is unknown
+a priori, or for multistage checkpointing if there are multiple layers of
+storage, e.g. memory and hard drive.
diff --git a/py-revolve/Makefile b/py-revolve/Makefile
new file mode 100644
index 0000000000..020150f112
--- /dev/null
+++ b/py-revolve/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD$
+
+DISTNAME=	pyrevolve-2.2
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S//py/}
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_PYPI:=p/pyrevolve/}
+
+MAINTAINER=	kamelderouiche%yahoo.com@localhost
+HOMEPAGE=	https://github.com/devitocodes/pyrevolve
+COMMENT=	Python wrapper for Revolve checkpointing
+LICENSE=	mit
+
+#DEPENDS+=	${PYPKGPREFIX}-versioneer>=0.28:../../wip/py-versioneer
+
+USE_LANGUAGES=	c c++
+
+.include "../../devel/py-cython/buildlink3.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-revolve/PLIST b/py-revolve/PLIST
new file mode 100644
index 0000000000..4d54b94e2e
--- /dev/null
+++ b/py-revolve/PLIST
@@ -0,0 +1,38 @@
+@comment $NetBSD$
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/pyrevolve/__init__.py
+${PYSITELIB}/pyrevolve/__init__.pyc
+${PYSITELIB}/pyrevolve/__init__.pyo
+${PYSITELIB}/pyrevolve/_version.py
+${PYSITELIB}/pyrevolve/_version.pyc
+${PYSITELIB}/pyrevolve/_version.pyo
+${PYSITELIB}/pyrevolve/compression.py
+${PYSITELIB}/pyrevolve/compression.pyc
+${PYSITELIB}/pyrevolve/compression.pyo
+${PYSITELIB}/pyrevolve/crevolve.so
+${PYSITELIB}/pyrevolve/custom_pickle.py
+${PYSITELIB}/pyrevolve/custom_pickle.pyc
+${PYSITELIB}/pyrevolve/custom_pickle.pyo
+${PYSITELIB}/pyrevolve/logger.py
+${PYSITELIB}/pyrevolve/logger.pyc
+${PYSITELIB}/pyrevolve/logger.pyo
+${PYSITELIB}/pyrevolve/profiling.py
+${PYSITELIB}/pyrevolve/profiling.pyc
+${PYSITELIB}/pyrevolve/profiling.pyo
+${PYSITELIB}/pyrevolve/pyrevolve.py
+${PYSITELIB}/pyrevolve/pyrevolve.pyc
+${PYSITELIB}/pyrevolve/pyrevolve.pyo
+${PYSITELIB}/pyrevolve/schedulers.py
+${PYSITELIB}/pyrevolve/schedulers.pyc
+${PYSITELIB}/pyrevolve/schedulers.pyo
+${PYSITELIB}/pyrevolve/storage.py
+${PYSITELIB}/pyrevolve/storage.pyc
+${PYSITELIB}/pyrevolve/storage.pyo
+${PYSITELIB}/pyrevolve/tools.py
+${PYSITELIB}/pyrevolve/tools.pyc
+${PYSITELIB}/pyrevolve/tools.pyo
diff --git a/py-revolve/distinfo b/py-revolve/distinfo
new file mode 100644
index 0000000000..1ab8fa894c
--- /dev/null
+++ b/py-revolve/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (pyrevolve-2.2.tar.gz) = 542dafa46b7842ea8e27b48b40c1b2ed20e83113bef3610e647fc3264cec840d
+SHA512 (pyrevolve-2.2.tar.gz) = aea61c530ad792a493ce16574ebcf4740914dc4711d04cbfe9cca2c2485516e0f35072dc7f7358c56d2e5e59019b0a848970696b4bdb2179c28bbabd42ba2912
+Size (pyrevolve-2.2.tar.gz) = 191257 bytes


Home | Main Index | Thread Index | Old Index