pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel py-pyrsistent: added version 0.14.11



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e3fa2ff9b344
branches:  trunk
changeset: 330426:e3fa2ff9b344
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Mar 02 14:27:15 2019 +0000

description:
py-pyrsistent: added version 0.14.11

Pyrsistent is a number of persistent collections (by some referred to as
functional data structures). Persistent in the sense that they are immutable.

All methods on a data structure that would normally mutate it instead return a
new copy of the structure containing the requested updates. The original
structure is left untouched.

This will simplify the reasoning about what a program does since no hidden side
effects ever can take place to these data structures. You can rest assured that
the object you hold a reference to will remain the same throughout its lifetime
and need not worry that somewhere five stack levels below you in the darkest
corner of your application someone has decided to remove that element that you
expected to be there.

Pyrsistent is influenced by persistent data structures such as those found in
the standard library of Clojure. The data structures are designed to share
common elements through path copying. It aims at taking these concepts and make
them as pythonic as possible so that they can be easily integrated into any
python program without hassle.

diffstat:

 devel/Makefile               |   3 +-
 devel/py-pyrsistent/DESCR    |  19 +++++++++++++
 devel/py-pyrsistent/Makefile |  19 +++++++++++++
 devel/py-pyrsistent/PLIST    |  64 ++++++++++++++++++++++++++++++++++++++++++++
 devel/py-pyrsistent/distinfo |   6 ++++
 5 files changed, 110 insertions(+), 1 deletions(-)

diffs (141 lines):

diff -r 6a134838f5f5 -r e3fa2ff9b344 devel/Makefile
--- a/devel/Makefile    Sat Mar 02 14:22:10 2019 +0000
+++ b/devel/Makefile    Sat Mar 02 14:27:15 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2777 2019/02/25 08:47:03 adam Exp $
+# $NetBSD: Makefile,v 1.2778 2019/03/02 14:27:15 adam Exp $
 #
 
 COMMENT=       Development utilities
@@ -2240,6 +2240,7 @@
 SUBDIR+=       py-pyobjc-framework-iTunesLibrary
 SUBDIR+=       py-pyobjc-framework-libdispatch
 SUBDIR+=       py-pyparsing
+SUBDIR+=       py-pyrsistent
 SUBDIR+=       py-pysha3
 SUBDIR+=       py-pysvn
 SUBDIR+=       py-pytemplate
diff -r 6a134838f5f5 -r e3fa2ff9b344 devel/py-pyrsistent/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-pyrsistent/DESCR Sat Mar 02 14:27:15 2019 +0000
@@ -0,0 +1,19 @@
+Pyrsistent is a number of persistent collections (by some referred to as
+functional data structures). Persistent in the sense that they are immutable.
+
+All methods on a data structure that would normally mutate it instead return a
+new copy of the structure containing the requested updates. The original
+structure is left untouched.
+
+This will simplify the reasoning about what a program does since no hidden side
+effects ever can take place to these data structures. You can rest assured that
+the object you hold a reference to will remain the same throughout its lifetime
+and need not worry that somewhere five stack levels below you in the darkest
+corner of your application someone has decided to remove that element that you
+expected to be there.
+
+Pyrsistent is influenced by persistent data structures such as those found in
+the standard library of Clojure. The data structures are designed to share
+common elements through path copying. It aims at taking these concepts and make
+them as pythonic as possible so that they can be easily integrated into any
+python program without hassle.
diff -r 6a134838f5f5 -r e3fa2ff9b344 devel/py-pyrsistent/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-pyrsistent/Makefile      Sat Mar 02 14:27:15 2019 +0000
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1 2019/03/02 14:27:15 adam Exp $
+
+DISTNAME=      pyrsistent-0.14.11
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pyrsistent/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/tobgu/pyrsistent
+COMMENT=       Persistent/Functional/Immutable data structures
+LICENSE=       mit
+
+DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 6a134838f5f5 -r e3fa2ff9b344 devel/py-pyrsistent/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-pyrsistent/PLIST Sat Mar 02 14:27:15 2019 +0000
@@ -0,0 +1,64 @@
+@comment $NetBSD: PLIST,v 1.1 2019/03/02 14:27:15 adam 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}/_pyrsistent_version.py
+${PYSITELIB}/_pyrsistent_version.pyc
+${PYSITELIB}/_pyrsistent_version.pyo
+${PYSITELIB}/pvectorc.so
+${PYSITELIB}/pyrsistent/__init__.py
+${PYSITELIB}/pyrsistent/__init__.pyc
+${PYSITELIB}/pyrsistent/__init__.pyi
+${PYSITELIB}/pyrsistent/__init__.pyo
+${PYSITELIB}/pyrsistent/_checked_types.py
+${PYSITELIB}/pyrsistent/_checked_types.pyc
+${PYSITELIB}/pyrsistent/_checked_types.pyo
+${PYSITELIB}/pyrsistent/_compat.py
+${PYSITELIB}/pyrsistent/_compat.pyc
+${PYSITELIB}/pyrsistent/_compat.pyo
+${PYSITELIB}/pyrsistent/_field_common.py
+${PYSITELIB}/pyrsistent/_field_common.pyc
+${PYSITELIB}/pyrsistent/_field_common.pyo
+${PYSITELIB}/pyrsistent/_helpers.py
+${PYSITELIB}/pyrsistent/_helpers.pyc
+${PYSITELIB}/pyrsistent/_helpers.pyo
+${PYSITELIB}/pyrsistent/_immutable.py
+${PYSITELIB}/pyrsistent/_immutable.pyc
+${PYSITELIB}/pyrsistent/_immutable.pyo
+${PYSITELIB}/pyrsistent/_pbag.py
+${PYSITELIB}/pyrsistent/_pbag.pyc
+${PYSITELIB}/pyrsistent/_pbag.pyo
+${PYSITELIB}/pyrsistent/_pclass.py
+${PYSITELIB}/pyrsistent/_pclass.pyc
+${PYSITELIB}/pyrsistent/_pclass.pyo
+${PYSITELIB}/pyrsistent/_pdeque.py
+${PYSITELIB}/pyrsistent/_pdeque.pyc
+${PYSITELIB}/pyrsistent/_pdeque.pyo
+${PYSITELIB}/pyrsistent/_plist.py
+${PYSITELIB}/pyrsistent/_plist.pyc
+${PYSITELIB}/pyrsistent/_plist.pyo
+${PYSITELIB}/pyrsistent/_pmap.py
+${PYSITELIB}/pyrsistent/_pmap.pyc
+${PYSITELIB}/pyrsistent/_pmap.pyo
+${PYSITELIB}/pyrsistent/_precord.py
+${PYSITELIB}/pyrsistent/_precord.pyc
+${PYSITELIB}/pyrsistent/_precord.pyo
+${PYSITELIB}/pyrsistent/_pset.py
+${PYSITELIB}/pyrsistent/_pset.pyc
+${PYSITELIB}/pyrsistent/_pset.pyo
+${PYSITELIB}/pyrsistent/_pvector.py
+${PYSITELIB}/pyrsistent/_pvector.pyc
+${PYSITELIB}/pyrsistent/_pvector.pyo
+${PYSITELIB}/pyrsistent/_toolz.py
+${PYSITELIB}/pyrsistent/_toolz.pyc
+${PYSITELIB}/pyrsistent/_toolz.pyo
+${PYSITELIB}/pyrsistent/_transformations.py
+${PYSITELIB}/pyrsistent/_transformations.pyc
+${PYSITELIB}/pyrsistent/_transformations.pyo
+${PYSITELIB}/pyrsistent/py.typed
+${PYSITELIB}/pyrsistent/typing.py
+${PYSITELIB}/pyrsistent/typing.pyc
+${PYSITELIB}/pyrsistent/typing.pyi
+${PYSITELIB}/pyrsistent/typing.pyo
diff -r 6a134838f5f5 -r e3fa2ff9b344 devel/py-pyrsistent/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-pyrsistent/distinfo      Sat Mar 02 14:27:15 2019 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/03/02 14:27:15 adam Exp $
+
+SHA1 (pyrsistent-0.14.11.tar.gz) = fa47c423d7245ec2473a0ec6efcc0811020b875b
+RMD160 (pyrsistent-0.14.11.tar.gz) = 9e665cfbb6fd3c996771669a9fcb51e7c86c7e88
+SHA512 (pyrsistent-0.14.11.tar.gz) = c9dbf01a96d93eb7608f37febe2a51cb243fcee4d1dfc8821e74b576969ee7ca7097af85373b3eb58804715a2f4ab10ed92b42b1169580ad3e4ba9fb4739d3bb
+Size (pyrsistent-0.14.11.tar.gz) = 104498 bytes



Home | Main Index | Thread Index | Old Index