git: ac5db88cdfcd - main - devel/py-querystring-parser: New port: QueryString parser for Python/Django

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 27 Aug 2023 08:28:04 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ac5db88cdfcddd4fd70dd602d7565e8ef7798763

commit ac5db88cdfcddd4fd70dd602d7565e8ef7798763
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-08-27 07:22:20 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-08-27 08:27:59 +0000

    devel/py-querystring-parser: New port: QueryString parser for Python/Django
---
 devel/Makefile                        |  1 +
 devel/py-querystring-parser/Makefile  | 21 +++++++++++++++++++++
 devel/py-querystring-parser/distinfo  |  3 +++
 devel/py-querystring-parser/pkg-descr |  2 ++
 4 files changed, 27 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index e99f339e16e3..3f772fcc3c47 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5460,6 +5460,7 @@
     SUBDIR += py-qt6-sip
     SUBDIR += py-qtbuilder
     SUBDIR += py-qtconsole
+    SUBDIR += py-querystring-parser
     SUBDIR += py-questionary
     SUBDIR += py-qutip
     SUBDIR += py-qutip-qip
diff --git a/devel/py-querystring-parser/Makefile b/devel/py-querystring-parser/Makefile
new file mode 100644
index 000000000000..9a84cc540877
--- /dev/null
+++ b/devel/py-querystring-parser/Makefile
@@ -0,0 +1,21 @@
+PORTNAME=	querystring-parser
+DISTVERSION=	1.2.4
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	${PORTNAME:S/-/_/}-${PORTVERSION}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	QueryString parser for Python/Django
+WWW=		https://github.com/bernii/querystring-parser
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	distutils autoplist
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-querystring-parser/distinfo b/devel/py-querystring-parser/distinfo
new file mode 100644
index 000000000000..8f9a5bae8da3
--- /dev/null
+++ b/devel/py-querystring-parser/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1693120701
+SHA256 (querystring_parser-1.2.4.tar.gz) = 644fce1cffe0530453b43a83a38094dbe422ccba8c9b2f2a1c00280e14ca8a62
+SIZE (querystring_parser-1.2.4.tar.gz) = 5454
diff --git a/devel/py-querystring-parser/pkg-descr b/devel/py-querystring-parser/pkg-descr
new file mode 100644
index 000000000000..dd493a437268
--- /dev/null
+++ b/devel/py-querystring-parser/pkg-descr
@@ -0,0 +1,2 @@
+querystring-parser is QueryString parser for Python/Django that correctly
+creates nested dictionaries from sent form/querystring data.