pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-multipart



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Nov 25 12:10:40 UTC 2021

Added Files:
        pkgsrc/www/py-multipart: DESCR Makefile PLIST distinfo

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/www/py-multipart/DESCR \
    pkgsrc/www/py-multipart/Makefile pkgsrc/www/py-multipart/PLIST \
    pkgsrc/www/py-multipart/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/www/py-multipart/DESCR
diff -u /dev/null pkgsrc/www/py-multipart/DESCR:1.1
--- /dev/null   Thu Nov 25 12:10:40 2021
+++ pkgsrc/www/py-multipart/DESCR       Thu Nov 25 12:10:40 2021
@@ -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.
Index: pkgsrc/www/py-multipart/Makefile
diff -u /dev/null pkgsrc/www/py-multipart/Makefile:1.1
--- /dev/null   Thu Nov 25 12:10:40 2021
+++ pkgsrc/www/py-multipart/Makefile    Thu Nov 25 12:10:40 2021
@@ -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"
Index: pkgsrc/www/py-multipart/PLIST
diff -u /dev/null pkgsrc/www/py-multipart/PLIST:1.1
--- /dev/null   Thu Nov 25 12:10:40 2021
+++ pkgsrc/www/py-multipart/PLIST       Thu Nov 25 12:10:40 2021
@@ -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
Index: pkgsrc/www/py-multipart/distinfo
diff -u /dev/null pkgsrc/www/py-multipart/distinfo:1.1
--- /dev/null   Thu Nov 25 12:10:40 2021
+++ pkgsrc/www/py-multipart/distinfo    Thu Nov 25 12:10:40 2021
@@ -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