git: ec71ebb98cf7 - main - devel/py-itemloaders: Base library in Python for scrapy's ItemLoader

Danilo G. Baio dbaio at FreeBSD.org
Sun May 30 11:22:58 UTC 2021


The branch main has been updated by dbaio:

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

commit ec71ebb98cf786e6801e7b27df2433fcbfb9af29
Author:     Danilo G. Baio <dbaio at FreeBSD.org>
AuthorDate: 2021-05-30 11:08:26 +0000
Commit:     Danilo G. Baio <dbaio at FreeBSD.org>
CommitDate: 2021-05-30 11:21:49 +0000

    devel/py-itemloaders: Base library in Python for scrapy's ItemLoader
    
    itemloaders is a Python library that helps you collect data from HTML and XML
    sources.
    
    It comes in handy to extract data from web pages, as it supports data
    extraction using CSS and XPath Selectors.
    
    It's specially useful when you need to standardize the data from many sources.
    For example, it allows you to have all your casting and parsing rules in a
    single place.
    
    WWW: https://pypi.org/project/itemloaders/
---
 devel/Makefile                 |  1 +
 devel/py-itemloaders/Makefile  | 23 +++++++++++++++++++++++
 devel/py-itemloaders/distinfo  |  3 +++
 devel/py-itemloaders/pkg-descr | 11 +++++++++++
 4 files changed, 38 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 150cd70f8465..2d1f38207da1 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4556,6 +4556,7 @@
     SUBDIR += py-isort
     SUBDIR += py-itanium_demangler
     SUBDIR += py-itemadapter
+    SUBDIR += py-itemloaders
     SUBDIR += py-iterpipes
     SUBDIR += py-itypes
     SUBDIR += py-jaraco
diff --git a/devel/py-itemloaders/Makefile b/devel/py-itemloaders/Makefile
new file mode 100644
index 000000000000..34af46dcedb7
--- /dev/null
+++ b/devel/py-itemloaders/Makefile
@@ -0,0 +1,23 @@
+PORTNAME=	itemloaders
+DISTVERSION=	1.0.4
+CATEGORIES=	devel python
+MASTER_SITES=	CHEESESHOP
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	dbaio at FreeBSD.org
+COMMENT=	Base library in Python for scrapy's ItemLoader
+
+LICENSE=	BSD3CLAUSE
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}w3lib>=1.17.0:www/py-w3lib@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}parsel>=1.5.0:textproc/py-parsel@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}jmespath>=0.9.5:devel/py-jmespath@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}itemadapter>=0.1.0:devel/py-itemadapter@${PY_FLAVOR}
+
+USES=		python:3.6+
+USE_PYTHON=	autoplist concurrent distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-itemloaders/distinfo b/devel/py-itemloaders/distinfo
new file mode 100644
index 000000000000..d266b7e6285a
--- /dev/null
+++ b/devel/py-itemloaders/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1622322271
+SHA256 (itemloaders-1.0.4.tar.gz) = 1277cd8ca3e4c02dcdfbc1bcae9134ad89acfa6041bd15b4561c6290203a0c96
+SIZE (itemloaders-1.0.4.tar.gz) = 11731
diff --git a/devel/py-itemloaders/pkg-descr b/devel/py-itemloaders/pkg-descr
new file mode 100644
index 000000000000..93915b746bf6
--- /dev/null
+++ b/devel/py-itemloaders/pkg-descr
@@ -0,0 +1,11 @@
+itemloaders is a Python library that helps you collect data from HTML and XML
+sources.
+
+It comes in handy to extract data from web pages, as it supports data
+extraction using CSS and XPath Selectors.
+
+It's specially useful when you need to standardize the data from many sources.
+For example, it allows you to have all your casting and parsing rules in a
+single place.
+
+WWW: https://pypi.org/project/itemloaders/


More information about the dev-commits-ports-all mailing list