pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Import py27-namedlist-1.7 as wip/py-namedlist.
Module Name: pkgsrc-wip
Committed By: Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By: kamil
Date: Thu Mar 9 15:30:13 2017 +0100
Changeset: 29ce3d6f1efaee68f0b25cda01854332e3a75fc8
Added Files:
py-namedlist/DESCR
py-namedlist/Makefile
py-namedlist/PLIST
py-namedlist/distinfo
Log Message:
Import py27-namedlist-1.7 as wip/py-namedlist.
namedlist provides 2 factory functions, namedlist.namedlist and
namedlist.namedtuple. namedlist.namedtuple is similar to
collections.namedtuple, with the following differences:
* namedlist.namedtuple supports per-field default values.
* namedlist.namedtuple supports an optional default value, to be used by all
fields that do not have an explicit default value.
namedlist.namedlist is similar, with this additional difference:
* namedlist.namedlist instances are mutable.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=29ce3d6f1efaee68f0b25cda01854332e3a75fc8
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-namedlist/DESCR | 11 +++++++++++
py-namedlist/Makefile | 16 ++++++++++++++++
py-namedlist/PLIST | 5 +++++
py-namedlist/distinfo | 6 ++++++
4 files changed, 38 insertions(+)
diffs:
diff --git a/py-namedlist/DESCR b/py-namedlist/DESCR
new file mode 100644
index 0000000000..4e68a31e7b
--- /dev/null
+++ b/py-namedlist/DESCR
@@ -0,0 +1,11 @@
+namedlist provides 2 factory functions, namedlist.namedlist and
+namedlist.namedtuple. namedlist.namedtuple is similar to
+collections.namedtuple, with the following differences:
+
+ * namedlist.namedtuple supports per-field default values.
+ * namedlist.namedtuple supports an optional default value, to be used by all
+ fields that do not have an explicit default value.
+
+namedlist.namedlist is similar, with this additional difference:
+
+ * namedlist.namedlist instances are mutable.
diff --git a/py-namedlist/Makefile b/py-namedlist/Makefile
new file mode 100644
index 0000000000..00fe656f7b
--- /dev/null
+++ b/py-namedlist/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD$
+
+DISTNAME= namedlist-1.7
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel python
+MASTER_SITES= ${MASTER_SITE_PYPI:=n/namedlist/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://bitbucket.org/ericvsmith/namedlist
+COMMENT= Similar to namedtuple, but instances are mutable
+LICENSE= apache-2.0
+
+USE_LANGUAGES= # none
+
+.include "../../lang/python/distutils.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-namedlist/PLIST b/py-namedlist/PLIST
new file mode 100644
index 0000000000..994364837c
--- /dev/null
+++ b/py-namedlist/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD$
+${PYSITELIB}/${EGG_FILE}
+${PYSITELIB}/namedlist.py
+${PYSITELIB}/namedlist.pyc
+${PYSITELIB}/namedlist.pyo
diff --git a/py-namedlist/distinfo b/py-namedlist/distinfo
new file mode 100644
index 0000000000..56cc078d96
--- /dev/null
+++ b/py-namedlist/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (namedlist-1.7.tar.gz) = 0ed93d0fe7535dde2745f965bcbea802f6374d62
+RMD160 (namedlist-1.7.tar.gz) = b1314bf1b56e4ce0ddd8aea9d4977e468344f134
+SHA512 (namedlist-1.7.tar.gz) = ee7293395d2fc34468cf77a64fbab9c5ae3b263ae8cffeacc6958637d8387f91968a8244378949d754f48c2117259d4a33161c222f79601c13b0d0afec450341
+Size (namedlist-1.7.tar.gz) = 21447 bytes
Home |
Main Index |
Thread Index |
Old Index