pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/py-telepath
Module Name: pkgsrc
Committed By: joerg
Date: Wed Apr 12 11:57:49 UTC 2023
Added Files:
pkgsrc/www/py-telepath: DESCR Makefile PLIST distinfo
Log Message:
Add py-telepath-0.3
telepath is a Django library for exchanging data between Python and
JavaScript, allowing you to build apps with rich client-side interfaces
while keeping the business logic in server-side code.
It provides a mechanism for packing structured data, including Python
objects, into a JSON-serializable format. This mechanism can be extended
to support any Python class, by registering the class with a
corresponding JavaScript implementation. The packed data can then be
included in an HTTP response, and unpacked in JavaScript to obtain an
equivalent data structure to the original. Think of it as pickle, but
with the unpickling happening in the browser.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/www/py-telepath/DESCR \
pkgsrc/www/py-telepath/Makefile pkgsrc/www/py-telepath/PLIST \
pkgsrc/www/py-telepath/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/www/py-telepath/DESCR
diff -u /dev/null pkgsrc/www/py-telepath/DESCR:1.1
--- /dev/null Wed Apr 12 11:57:49 2023
+++ pkgsrc/www/py-telepath/DESCR Wed Apr 12 11:57:49 2023
@@ -0,0 +1,11 @@
+telepath is a Django library for exchanging data between Python and
+JavaScript, allowing you to build apps with rich client-side interfaces
+while keeping the business logic in server-side code.
+
+It provides a mechanism for packing structured data, including Python
+objects, into a JSON-serializable format. This mechanism can be extended
+to support any Python class, by registering the class with a
+corresponding JavaScript implementation. The packed data can then be
+included in an HTTP response, and unpacked in JavaScript to obtain an
+equivalent data structure to the original. Think of it as pickle, but
+with the unpickling happening in the browser.
Index: pkgsrc/www/py-telepath/Makefile
diff -u /dev/null pkgsrc/www/py-telepath/Makefile:1.1
--- /dev/null Wed Apr 12 11:57:49 2023
+++ pkgsrc/www/py-telepath/Makefile Wed Apr 12 11:57:49 2023
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2023/04/12 11:57:49 joerg Exp $
+
+DISTNAME= telepath-0.3
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= www python
+MASTER_SITES= ${MASTER_SITE_PYPI:=t/telepath/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://github.com/wagtail/telepath
+COMMENT= Data exchange library between Django and browser
+LICENSE= modified-bsd
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+DEPENDS+= ${PYPKGPREFIX}-django>=2.0:../../www/py-django2
+
+do-test:
+ cd ${WRKSRC} && ${PYTHONBIN} -m django test --settings=telepath.test_settings
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/py-telepath/PLIST
diff -u /dev/null pkgsrc/www/py-telepath/PLIST:1.1
--- /dev/null Wed Apr 12 11:57:49 2023
+++ pkgsrc/www/py-telepath/PLIST Wed Apr 12 11:57:49 2023
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1 2023/04/12 11:57:49 joerg Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/telepath/__init__.py
+${PYSITELIB}/telepath/__init__.pyc
+${PYSITELIB}/telepath/__init__.pyo
+${PYSITELIB}/telepath/static/telepath/js/telepath.js
+${PYSITELIB}/telepath/test_settings.py
+${PYSITELIB}/telepath/test_settings.pyc
+${PYSITELIB}/telepath/test_settings.pyo
+${PYSITELIB}/telepath/tests.py
+${PYSITELIB}/telepath/tests.pyc
+${PYSITELIB}/telepath/tests.pyo
Index: pkgsrc/www/py-telepath/distinfo
diff -u /dev/null pkgsrc/www/py-telepath/distinfo:1.1
--- /dev/null Wed Apr 12 11:57:49 2023
+++ pkgsrc/www/py-telepath/distinfo Wed Apr 12 11:57:49 2023
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2023/04/12 11:57:49 joerg Exp $
+
+BLAKE2s (telepath-0.3.tar.gz) = c17eeb27c5914084a75d74194e5417c171bd9737cffc7c0b15d94cd5359b5c09
+SHA512 (telepath-0.3.tar.gz) = bb25a1ba4c7e2762e9c98c01270ddc9e844a4c7d414bae09a0b89d3e8e618375f882b69d320eecf7d8582ae327d86cea5f13f2c7c40ed217c5dc446fb6ab2fde
+Size (telepath-0.3.tar.gz) = 11507 bytes
+SHA1 (patch-setup.py) = bc698d5fd8b3d163f48df70768323c9e7a96de3c
Home |
Main Index |
Thread Index |
Old Index