pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/py-multipart www/py-multipart: import py-multipart...
details: https://anonhg.NetBSD.org/pkgsrc/rev/006432aaa985
branches: trunk
changeset: 770111:006432aaa985
user: wiz <wiz%pkgsrc.org@localhost>
date: Thu Nov 25 12:10:40 2021 +0000
description:
www/py-multipart: import py-multipart-0.2.4
This module provides a parser for the multipart/form-data format.
It can read from a file, a socket or a WSGI environment. The parser
can be used to replace cgi.FieldStorage to work around its limitations.
diffstat:
www/py-multipart/DESCR | 3 +++
www/py-multipart/Makefile | 25 +++++++++++++++++++++++++
www/py-multipart/PLIST | 8 ++++++++
www/py-multipart/distinfo | 5 +++++
4 files changed, 41 insertions(+), 0 deletions(-)
diffs (57 lines):
diff -r 8b95f022a777 -r 006432aaa985 www/py-multipart/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-multipart/DESCR Thu Nov 25 12:10:40 2021 +0000
@@ -0,0 +1,3 @@
+This module provides a parser for the multipart/form-data format.
+It can read from a file, a socket or a WSGI environment. The parser
+can be used to replace cgi.FieldStorage to work around its limitations.
diff -r 8b95f022a777 -r 006432aaa985 www/py-multipart/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-multipart/Makefile Thu Nov 25 12:10:40 2021 +0000
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2021/11/25 12:10:40 wiz Exp $
+
+DISTNAME= multipart-0.2.4
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= www python
+MASTER_SITES= ${MASTER_SITE_PYPI:=m/multipart/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= http://github.com/defnull/multipart
+COMMENT= Parser for multipart/form-data.
+LICENSE= mit
+
+#DEPENDS+= ${PYPKGPREFIX}-html5lib>=0.999999999:../../textproc/py-html5lib
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+USE_LANGUAGES= # none
+
+# one test failure as of 0.2.4
+# https://github.com/defnull/multipart/issues/37
+TEST_ENV+= PYTHONPATH=${WRKSRC}/build/lib
+do-test:
+ cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 8b95f022a777 -r 006432aaa985 www/py-multipart/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-multipart/PLIST Thu Nov 25 12:10:40 2021 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2021/11/25 12:10:40 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/multipart.py
+${PYSITELIB}/multipart.pyc
+${PYSITELIB}/multipart.pyo
diff -r 8b95f022a777 -r 006432aaa985 www/py-multipart/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-multipart/distinfo Thu Nov 25 12:10:40 2021 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2021/11/25 12:10:40 wiz Exp $
+
+BLAKE2s (multipart-0.2.4.tar.gz) = 0eefa9d2cb2dd4513ee748649e01a3f475784ecd2f95a38457e3d8375067f36e
+SHA512 (multipart-0.2.4.tar.gz) = 8df8bad1f68d41e841e407f276745e7cb7352e9fb8c5d43569a7e5c4d8c0ae429e440933017244d01182271a12a6f43a4d15e353b1082df9563cbf9d6eb2c7f6
+Size (multipart-0.2.4.tar.gz) = 22300 bytes
Home |
Main Index |
Thread Index |
Old Index