py-itemadapter: Added version 0.2.0

textproc/py-itemadapter is a dependency of www/py-scrapy.
This commit is contained in:
triaxx 2021-03-21 21:09:50 +00:00
parent 0bf8b96ddb
commit d0708bb009
4 changed files with 47 additions and 0 deletions

View file

@ -0,0 +1,9 @@
The ItemAdapter class is a wrapper for data container objects, providing a
common interface to handle objects of different types in an uniform manner,
regardless of their underlying implementation.
Currently supported types are:
o dict
o scrapy.item.Item
o dataclass-based classes
o attrs-based classes

View file

@ -0,0 +1,18 @@
# $NetBSD: Makefile,v 1.1 2021/03/21 21:09:50 triaxx Exp $
DISTNAME= itemadapter-0.2.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=i/itemadapter/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/scrapy/itemadapter
COMMENT= Wrapper providing a common interface to handle objects of different types
LICENSE= modified-bsd
USE_LANGUAGES= # none
PYTHON_VERSIONS_INCOMPATIBLE= 27
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

View file

@ -0,0 +1,14 @@
@comment $NetBSD: PLIST,v 1.1 2021/03/21 21:09:50 triaxx Exp $
${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
${PYSITELIB}/${EGG_INFODIR}/top_level.txt
${PYSITELIB}/itemadapter/__init__.py
${PYSITELIB}/itemadapter/__init__.pyc
${PYSITELIB}/itemadapter/__init__.pyo
${PYSITELIB}/itemadapter/adapter.py
${PYSITELIB}/itemadapter/adapter.pyc
${PYSITELIB}/itemadapter/adapter.pyo
${PYSITELIB}/itemadapter/utils.py
${PYSITELIB}/itemadapter/utils.pyc
${PYSITELIB}/itemadapter/utils.pyo

View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2021/03/21 21:09:50 triaxx Exp $
SHA1 (itemadapter-0.2.0.tar.gz) = f3e558a38c4f50895e4845f96df3b34a7ab7b72b
RMD160 (itemadapter-0.2.0.tar.gz) = ee186ff5696cacd722fdbdae65959c7fcb47faaa
SHA512 (itemadapter-0.2.0.tar.gz) = d44072d164909a0557014ca51f410fb70554f2ad363d08167357f5d73b1eceecad0a873c26fc90742ea17c45b71509db471eef04b405aac1a38f119abfeb23c0
Size (itemadapter-0.2.0.tar.gz) = 12197 bytes