Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Nov 2024 15:58:02 GMT
From:      Dries Michiels <driesm@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 6272574b93e0 - main - www/py-free-proxy: add new port
Message-ID:  <202411191558.4AJFw2Xt096814@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by driesm:

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

commit 6272574b93e01ee2b373c646bddd0a78ab93dbdf
Author:     Matthew Wener <matthew@wener.org>
AuthorDate: 2024-11-19 15:26:48 +0000
Commit:     Dries Michiels <driesm@FreeBSD.org>
CommitDate: 2024-11-19 15:31:00 +0000

    www/py-free-proxy: add new port
    
    Proxy scraper for further use.
    
    PRi:    282845
---
 www/Makefile                |  1 +
 www/py-free-proxy/Makefile  | 33 +++++++++++++++++++++++++++++++++
 www/py-free-proxy/distinfo  |  3 +++
 www/py-free-proxy/pkg-descr |  3 +++
 4 files changed, 40 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 12bccb2c088e..65289fe8c194 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1696,6 +1696,7 @@
     SUBDIR += py-formencode
     SUBDIR += py-fqdn
     SUBDIR += py-frappe-bench
+    SUBDIR += py-free-proxy
     SUBDIR += py-freenit
     SUBDIR += py-frozen-flask
     SUBDIR += py-gevent-websocket
diff --git a/www/py-free-proxy/Makefile b/www/py-free-proxy/Makefile
new file mode 100644
index 000000000000..ae3606215cc4
--- /dev/null
+++ b/www/py-free-proxy/Makefile
@@ -0,0 +1,33 @@
+PORTNAME=	free-proxy
+PORTVERSION=	1.1.3
+CATEGORIES=	www python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	free_proxy-${PORTVERSION}
+
+MAINTAINER=	matthew@wener.org
+COMMENT=	Proxy scraper for further use
+WWW=		https://github.com/jundymek/free-proxy
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PY_SETUPTOOLS} \
+		${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}lxml>=0:devel/py-lxml@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist pep517
+
+NO_ARCH=	yes
+
+PORTDOCS=	PKG-INFO README.md
+
+OPTIONS_DEFINE=	DOCS
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}/
+	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/www/py-free-proxy/distinfo b/www/py-free-proxy/distinfo
new file mode 100644
index 000000000000..7fbb001b6437
--- /dev/null
+++ b/www/py-free-proxy/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1731940714
+SHA256 (free_proxy-1.1.3.tar.gz) = 6d82aa112e3df7725bdbf177e2110bccdf5f3bbd6e1c70b8616ec12ae3bbf98c
+SIZE (free_proxy-1.1.3.tar.gz) = 5607
diff --git a/www/py-free-proxy/pkg-descr b/www/py-free-proxy/pkg-descr
new file mode 100644
index 000000000000..bf9b73eb055b
--- /dev/null
+++ b/www/py-free-proxy/pkg-descr
@@ -0,0 +1,3 @@
+Get free working proxy from https://www.sslproxies.org/,
+https://www.us-proxy.org/, https://free-proxy-list.net/uk-proxy.html
+and https://free-proxy-list.net and use it in your script.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411191558.4AJFw2Xt096814>