git: 17ab4ea550d5 - main - www/py-niquests: Add py-niquests 3.11.4
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 31 Dec 2024 16:00:24 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=17ab4ea550d5899ccf5d87d9d016160becc6a523
commit 17ab4ea550d5899ccf5d87d9d016160becc6a523
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-12-31 15:38:25 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-12-31 15:38:25 +0000
www/py-niquests: Add py-niquests 3.11.4
Niquests is a simple, yet elegant, HTTP library. It is a drop-in replacement for
Requests, which is under feature freeze.
Niquests, is the "Safest, Fastest, Easiest, and Most advanced" Python HTTP
Client. Production Ready!
---
www/Makefile | 1 +
www/py-niquests/Makefile | 27 +++++++++++++++++++++++++++
www/py-niquests/distinfo | 3 +++
www/py-niquests/pkg-descr | 5 +++++
4 files changed, 36 insertions(+)
diff --git a/www/Makefile b/www/Makefile
index 7884b15bc14d..cdd9bf2a5a37 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1788,6 +1788,7 @@
SUBDIR += py-nicegui
SUBDIR += py-nicegui-highcharts
SUBDIR += py-nicegui-nogui
+ SUBDIR += py-niquests
SUBDIR += py-notebook
SUBDIR += py-onetimepass
SUBDIR += py-openbrokerapi
diff --git a/www/py-niquests/Makefile b/www/py-niquests/Makefile
new file mode 100644
index 000000000000..f87ab541c94e
--- /dev/null
+++ b/www/py-niquests/Makefile
@@ -0,0 +1,27 @@
+PORTNAME= niquests
+PORTVERSION= 3.11.4
+CATEGORIES= www python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Simple, yet elegant, HTTP library
+WWW= https://niquests.readthedocs.io/en/stable/ \
+ https://github.com/jawah/niquests
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hatchling>=1.6.0<2:devel/py-hatchling@${PY_FLAVOR}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}charset-normalizer>=2<4:textproc/py-charset-normalizer@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}idna>=2.5<4:dns/py-idna@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}kiss-headers>=2<4:www/py-kiss-headers@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}urllib3-future>=2.12.900<3:net/py-urllib3-future@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}wassima>=1.0.1<2:security/py-wassima@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent pep517
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/www/py-niquests/distinfo b/www/py-niquests/distinfo
new file mode 100644
index 000000000000..05b65411b2e8
--- /dev/null
+++ b/www/py-niquests/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1735227776
+SHA256 (niquests-3.11.4.tar.gz) = 04fe6eff8878313976c173b86a2e7e6e6df3ac23b7b037049f57947d77ba5254
+SIZE (niquests-3.11.4.tar.gz) = 541343
diff --git a/www/py-niquests/pkg-descr b/www/py-niquests/pkg-descr
new file mode 100644
index 000000000000..0ac625564fbc
--- /dev/null
+++ b/www/py-niquests/pkg-descr
@@ -0,0 +1,5 @@
+Niquests is a simple, yet elegant, HTTP library. It is a drop-in replacement for
+Requests, which is under feature freeze.
+
+Niquests, is the "Safest, Fastest, Easiest, and Most advanced" Python HTTP
+Client. Production Ready!