summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2019-03-02 14:27:15 +0000
committeradam <adam@pkgsrc.org>2019-03-02 14:27:15 +0000
commit82e4301c62a547d4cd7aa0bab476322484d716f2 (patch)
treec013a3b98b6a47b918701a91d3c9c26b79b70307
parent49b1de684acd53ed2c4bacbeed4353edbd0c66c4 (diff)
downloadpkgsrc-82e4301c62a547d4cd7aa0bab476322484d716f2.tar.gz
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.
-rw-r--r--devel/Makefile3
-rw-r--r--devel/py-pyrsistent/DESCR19
-rw-r--r--devel/py-pyrsistent/Makefile19
-rw-r--r--devel/py-pyrsistent/PLIST64
-rw-r--r--devel/py-pyrsistent/distinfo6
5 files changed, 110 insertions, 1 deletions
diff --git a/devel/Makefile b/devel/Makefile
index b31289fa4d9..f16a6de65a5 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -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-WebKit
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 --git a/devel/py-pyrsistent/DESCR b/devel/py-pyrsistent/DESCR
new file mode 100644
index 00000000000..d6db03dfff3
--- /dev/null
+++ b/devel/py-pyrsistent/DESCR
@@ -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 --git a/devel/py-pyrsistent/Makefile b/devel/py-pyrsistent/Makefile
new file mode 100644
index 00000000000..9c381485a02
--- /dev/null
+++ b/devel/py-pyrsistent/Makefile
@@ -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
+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 --git a/devel/py-pyrsistent/PLIST b/devel/py-pyrsistent/PLIST
new file mode 100644
index 00000000000..79bc63affb7
--- /dev/null
+++ b/devel/py-pyrsistent/PLIST
@@ -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 --git a/devel/py-pyrsistent/distinfo b/devel/py-pyrsistent/distinfo
new file mode 100644
index 00000000000..7affa881893
--- /dev/null
+++ b/devel/py-pyrsistent/distinfo
@@ -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