Received: by mail.netbsd.org (Postfix, from userid 605) id 0E3FE84D91; Wed, 12 Apr 2023 11:57:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 3D43284D65 for ; Wed, 12 Apr 2023 11:57:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id dGdzZjHb9glO for ; Wed, 12 Apr 2023 11:57:49 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 7E90784D05 for ; Wed, 12 Apr 2023 11:57:49 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 72927FA84; Wed, 12 Apr 2023 11:57:49 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1681300669176150" MIME-Version: 1.0 Date: Wed, 12 Apr 2023 11:57:49 +0000 From: "Joerg Sonnenberger" Subject: CVS commit: pkgsrc/www/py-telepath To: pkgsrc-changes@NetBSD.org Reply-To: joerg@netbsd.org X-Mailer: log_accum Message-Id: <20230412115749.72927FA84@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1681300669176150 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_1681300669176150 Content-Disposition: inline Content-Length: 3277 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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 +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 --_----------=_1681300669176150--