aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-12-31 15:38:25 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2024-12-31 15:38:25 +0000
commit17ab4ea550d5899ccf5d87d9d016160becc6a523 (patch)
tree35a606860ef7281a2cdcdc30261c29026054710d
parent42e11176fea137c595eacf70ee3d8bdd695c0af8 (diff)
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!
-rw-r--r--www/Makefile1
-rw-r--r--www/py-niquests/Makefile27
-rw-r--r--www/py-niquests/distinfo3
-rw-r--r--www/py-niquests/pkg-descr5
4 files changed, 36 insertions, 0 deletions
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!