pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/databases Multidict is dict-like collection of key-val...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/472a67596799
branches:  trunk
changeset: 365410:472a67596799
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Jul 16 09:37:09 2017 +0000

description:
Multidict is dict-like collection of key-value pairs where key might be
occurred more than once in the container.

HTTP Headers and URL query string require specific data structure: multidict.
It behaves mostly like a regular dict but it may have several values for the
same key and preserves insertion ordering.

diffstat:

 databases/Makefile              |   3 ++-
 databases/py-multidict/DESCR    |   6 ++++++
 databases/py-multidict/Makefile |  24 ++++++++++++++++++++++++
 databases/py-multidict/PLIST    |  17 +++++++++++++++++
 databases/py-multidict/distinfo |   6 ++++++
 5 files changed, 55 insertions(+), 1 deletions(-)

diffs (86 lines):

diff -r 76859a639440 -r 472a67596799 databases/Makefile
--- a/databases/Makefile        Sun Jul 16 09:29:58 2017 +0000
+++ b/databases/Makefile        Sun Jul 16 09:37:09 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.528 2017/07/14 11:36:27 adam Exp $
+# $NetBSD: Makefile,v 1.529 2017/07/16 09:37:09 adam Exp $
 
 COMMENT=       Databases
 
@@ -345,6 +345,7 @@
 SUBDIR+=       py-metakit
 SUBDIR+=       py-mongo
 SUBDIR+=       py-mssql
+SUBDIR+=       py-multidict
 SUBDIR+=       py-mysql-connector
 SUBDIR+=       py-mysqldb
 SUBDIR+=       py-orderedmultidict
diff -r 76859a639440 -r 472a67596799 databases/py-multidict/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/py-multidict/DESCR      Sun Jul 16 09:37:09 2017 +0000
@@ -0,0 +1,6 @@
+Multidict is dict-like collection of key-value pairs where key might be
+occurred more than once in the container.
+
+HTTP Headers and URL query string require specific data structure: multidict.
+It behaves mostly like a regular dict but it may have several values for the
+same key and preserves insertion ordering.
diff -r 76859a639440 -r 472a67596799 databases/py-multidict/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/py-multidict/Makefile   Sun Jul 16 09:37:09 2017 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2017/07/16 09:37:09 adam Exp $
+
+DISTNAME=      multidict-3.1.3
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    databases python
+MASTER_SITES=  ${MASTER_SITE_PYPI:=m/multidict/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/aio-libs/multidict/
+COMMENT=       Multidict implementation
+LICENSE=       apache-2.0
+
+BUILD_DEPENDS+=        ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+USE_LANGUAGES=         c
+
+post-extract:
+       ${RM} ${WRKSRC}/multidict/_istr.cpython-35m-x86_64-linux-gnu.so
+
+.include "../../devel/py-cython/buildlink3.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 76859a639440 -r 472a67596799 databases/py-multidict/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/py-multidict/PLIST      Sun Jul 16 09:37:09 2017 +0000
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1 2017/07/16 09:37:09 adam Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/multidict/__init__.py
+${PYSITELIB}/multidict/__init__.pyc
+${PYSITELIB}/multidict/__init__.pyi
+${PYSITELIB}/multidict/__init__.pyo
+${PYSITELIB}/multidict/_istr.c
+${PYSITELIB}/multidict/_istr.so
+${PYSITELIB}/multidict/_multidict.c
+${PYSITELIB}/multidict/_multidict.pyx
+${PYSITELIB}/multidict/_multidict.so
+${PYSITELIB}/multidict/_multidict_py.py
+${PYSITELIB}/multidict/_multidict_py.pyc
+${PYSITELIB}/multidict/_multidict_py.pyo
diff -r 76859a639440 -r 472a67596799 databases/py-multidict/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/py-multidict/distinfo   Sun Jul 16 09:37:09 2017 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/07/16 09:37:09 adam Exp $
+
+SHA1 (multidict-3.1.3.tar.gz) = d9be334c0e8047206aa87426ff0b404ec5e5d5d0
+RMD160 (multidict-3.1.3.tar.gz) = 9f3e71e6b2e2af8bc0ea5fddc69c481e097ebd63
+SHA512 (multidict-3.1.3.tar.gz) = bd795dcb63b1590c1c65eb2c6a55a8ef66d69cf38da3b3a680e064cd65d349f5f103e8a6106f2d80fd54b910cdf06892fa466428801fe06ac67f429377449ce9
+Size (multidict-3.1.3.tar.gz) = 118697 bytes



Home | Main Index | Thread Index | Old Index