Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 May 2021 11:22:53 GMT
From:      "Danilo G. Baio" <dbaio@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: be1be4cd1530 - main - www/py-protego: Pure-Python robots.txt parser
Message-ID:  <202105301122.14UBMrch084042@gitrepo.freebsd.org>

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

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

commit be1be4cd153005e0fb3d8277dbf5bd31ae26b30f
Author:     Danilo G. Baio <dbaio@FreeBSD.org>
AuthorDate: 2021-05-30 10:57:50 +0000
Commit:     Danilo G. Baio <dbaio@FreeBSD.org>
CommitDate: 2021-05-30 11:21:27 +0000

    www/py-protego: Pure-Python robots.txt parser
    
    Protego is a pure-Python robots.txt parser with support for modern conventions.
    It is mainly used by Scrapy application when crawling websites.
    
    WWW: https://pypi.org/project/Protego/
---
 www/Makefile             |  1 +
 www/py-protego/Makefile  | 19 +++++++++++++++++++
 www/py-protego/distinfo  |  3 +++
 www/py-protego/pkg-descr |  4 ++++
 4 files changed, 27 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index a79a195271ee..c7e72e976954 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1686,6 +1686,7 @@
     SUBDIR += py-praw
     SUBDIR += py-prawcore
     SUBDIR += py-priority
+    SUBDIR += py-protego
     SUBDIR += py-puppetboard
     SUBDIR += py-py-restclient
     SUBDIR += py-pyjwt
diff --git a/www/py-protego/Makefile b/www/py-protego/Makefile
new file mode 100644
index 000000000000..6a2d0ceaa253
--- /dev/null
+++ b/www/py-protego/Makefile
@@ -0,0 +1,19 @@
+PORTNAME=	protego
+DISTVERSION=	0.1.16
+CATEGORIES=	www python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+DISTNAME=	Protego-${DISTVERSION}
+
+MAINTAINER=	dbaio@FreeBSD.org
+COMMENT=	Pure-Python robots.txt parser
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	distutils concurrent autoplist
+
+.include <bsd.port.mk>
diff --git a/www/py-protego/distinfo b/www/py-protego/distinfo
new file mode 100644
index 000000000000..e338422fe8c6
--- /dev/null
+++ b/www/py-protego/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1622323271
+SHA256 (Protego-0.1.16.tar.gz) = a682771bc7b51b2ff41466460896c1a5a653f9a1e71639ef365a72e66d8734b4
+SIZE (Protego-0.1.16.tar.gz) = 3211311
diff --git a/www/py-protego/pkg-descr b/www/py-protego/pkg-descr
new file mode 100644
index 000000000000..8bdc864c7c39
--- /dev/null
+++ b/www/py-protego/pkg-descr
@@ -0,0 +1,4 @@
+Protego is a pure-Python robots.txt parser with support for modern conventions.
+It is mainly used by Scrapy application when crawling websites.
+
+WWW: https://pypi.org/project/Protego/



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