summaryrefslogtreecommitdiff
path: root/www/py-torrequest
diff options
context:
space:
mode:
Diffstat (limited to 'www/py-torrequest')
-rw-r--r--www/py-torrequest/Makefile22
-rw-r--r--www/py-torrequest/distinfo3
-rw-r--r--www/py-torrequest/pkg-descr3
3 files changed, 28 insertions, 0 deletions
diff --git a/www/py-torrequest/Makefile b/www/py-torrequest/Makefile
new file mode 100644
index 000000000000..2bf7db1386d3
--- /dev/null
+++ b/www/py-torrequest/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= torrequest
+DISTVERSION= 0.1.0
+CATEGORIES= www security python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= tagattie@FreeBSD.org
+COMMENT= Simple interface for HTTP(s) requests over Tor
+WWW= https://github.com/erdiaker/torrequest
+
+LICENSE= MIT
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pysocks>=1.5.7:net/py-pysocks@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}requests>=2.11.0:www/py-requests@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}stem>=1.4.0:security/py-stem@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/www/py-torrequest/distinfo b/www/py-torrequest/distinfo
new file mode 100644
index 000000000000..1685d0257d27
--- /dev/null
+++ b/www/py-torrequest/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1758575340
+SHA256 (torrequest-0.1.0.tar.gz) = 3745d4ea3ffda98d7a034363c787adb37aab77bdab40094a4d937392cd4dae82
+SIZE (torrequest-0.1.0.tar.gz) = 1527
diff --git a/www/py-torrequest/pkg-descr b/www/py-torrequest/pkg-descr
new file mode 100644
index 000000000000..205df2c4bcb6
--- /dev/null
+++ b/www/py-torrequest/pkg-descr
@@ -0,0 +1,3 @@
+A simple Python interface for HTTP(s) requests over Tor.
+
+It's basically a wrapper around Stem and Requests libraries.