head	1.16;
access;
symbols
	pkgsrc-2026Q3:1.14.0.2
	pkgsrc-2026Q3-base:1.14
	pkgsrc-2026Q2:1.13.0.4
	pkgsrc-2026Q2-base:1.13
	pkgsrc-2026Q1:1.13.0.2
	pkgsrc-2026Q1-base:1.13
	pkgsrc-2025Q4:1.12.0.2
	pkgsrc-2025Q4-base:1.12
	pkgsrc-2025Q3:1.11.0.2
	pkgsrc-2025Q3-base:1.11
	pkgsrc-2025Q2:1.10.0.2
	pkgsrc-2025Q2-base:1.10
	pkgsrc-2025Q1:1.9.0.4
	pkgsrc-2025Q1-base:1.9
	pkgsrc-2024Q4:1.9.0.2
	pkgsrc-2024Q4-base:1.9
	pkgsrc-2024Q3:1.7.0.4
	pkgsrc-2024Q3-base:1.7
	pkgsrc-2024Q2:1.7.0.2
	pkgsrc-2024Q2-base:1.7
	pkgsrc-2024Q1:1.5.0.8
	pkgsrc-2024Q1-base:1.5
	pkgsrc-2023Q4:1.5.0.6
	pkgsrc-2023Q4-base:1.5
	pkgsrc-2023Q3:1.5.0.4
	pkgsrc-2023Q3-base:1.5
	pkgsrc-2023Q2:1.5.0.2
	pkgsrc-2023Q2-base:1.5
	pkgsrc-2023Q1:1.4.0.4
	pkgsrc-2023Q1-base:1.4
	pkgsrc-2022Q4:1.4.0.2
	pkgsrc-2022Q4-base:1.4
	pkgsrc-2022Q3:1.3.0.6
	pkgsrc-2022Q3-base:1.3
	pkgsrc-2022Q2:1.3.0.4
	pkgsrc-2022Q2-base:1.3
	pkgsrc-2022Q1:1.3.0.2
	pkgsrc-2022Q1-base:1.3
	pkgsrc-2021Q4:1.2.0.8
	pkgsrc-2021Q4-base:1.2
	pkgsrc-2021Q3:1.2.0.6
	pkgsrc-2021Q3-base:1.2
	pkgsrc-2021Q2:1.2.0.4
	pkgsrc-2021Q2-base:1.2
	pkgsrc-2021Q1:1.2.0.2
	pkgsrc-2021Q1-base:1.2;
locks; strict;
comment	@# @;


1.16
date	2026.10.16.19.44.16;	author adam;	state Exp;
branches;
next	1.15;
commitid	z8jatkdHAjoiPJZG;

1.15
date	2026.10.05.05.10.13;	author adam;	state Exp;
branches;
next	1.14;
commitid	76TdoQqu324olfYG;

1.14
date	2026.06.28.15.41.39;	author wiz;	state Exp;
branches;
next	1.13;
commitid	hjtQh9zHnnKc1ALG;

1.13
date	2026.02.09.12.58.47;	author adam;	state Exp;
branches;
next	1.12;
commitid	XF0QqAAfKyHxAHtG;

1.12
date	2025.10.09.07.57.59;	author wiz;	state Exp;
branches;
next	1.11;
commitid	t4nMY0Dt3rBjSRdG;

1.11
date	2025.07.07.05.58.06;	author wiz;	state Exp;
branches;
next	1.10;
commitid	7SbUh2xyzdDHeM1G;

1.10
date	2025.04.14.12.14.59;	author adam;	state Exp;
branches;
next	1.9;
commitid	R2Wmm9TsYFuv11RF;

1.9
date	2024.11.11.07.29.03;	author wiz;	state Exp;
branches;
next	1.8;
commitid	1fBDq3LwS98NncxF;

1.8
date	2024.10.01.07.55.13;	author adam;	state Exp;
branches;
next	1.7;
commitid	tiCxUrQUy6LXQVrF;

1.7
date	2024.06.04.10.35.29;	author adam;	state Exp;
branches;
next	1.6;
commitid	CMK1szhfaIs2zEcF;

1.6
date	2024.04.27.05.05.33;	author adam;	state Exp;
branches;
next	1.5;
commitid	iVVmAjhtbqZDXJ7F;

1.5
date	2023.04.27.09.07.55;	author adam;	state Exp;
branches;
next	1.4;
commitid	hdij5odP61HX3JmE;

1.4
date	2022.12.12.14.18.55;	author adam;	state Exp;
branches;
next	1.3;
commitid	3L51oMmxHe3Q9h5E;

1.3
date	2022.01.04.20.54.56;	author wiz;	state Exp;
branches;
next	1.2;
commitid	CYyhdK9qtoffkmnD;

1.2
date	2021.03.22.06.14.02;	author adam;	state Exp;
branches;
next	1.1;
commitid	23FuO4bhD3V8JgMC;

1.1
date	2021.03.21.21.13.00;	author triaxx;	state Exp;
branches;
next	;
commitid	77USloTsWzgmJdMC;


desc
@@


1.16
log
@Forget Python 3.10
@
text
@# $NetBSD: Makefile,v 1.15 2026/10/05 05:10:13 adam Exp $

DISTNAME=	itemloaders-1.5.0
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
CATEGORIES=	textproc python
MASTER_SITES=	${MASTER_SITE_PYPI:=i/itemloaders/}

MAINTAINER=	pkgsrc-users@@NetBSD.org
HOMEPAGE=	https://github.com/scrapy/itemloaders
COMMENT=	Python library that helps to collect data from HTML and XML sources
LICENSE=	modified-bsd

TOOL_DEPENDS+=	${PYPKGPREFIX}-hatchling>=1.27.0:../../devel/py-hatchling
DEPENDS+=	${PYPKGPREFIX}-itemadapter>=0.1.0:../../textproc/py-itemadapter
DEPENDS+=	${PYPKGPREFIX}-jmespath>=0.9.5:../../textproc/py-jmespath
DEPENDS+=	${PYPKGPREFIX}-parsel>=1.5.0:../../www/py-parsel

USE_LANGUAGES=	# none

PYTHON_VERSIONS_INCOMPATIBLE=	311

.include "../../lang/python/wheel.mk"
.include "../../mk/bsd.pkg.mk"
@


1.15
log
@py-itemloaders: updated to 1.5.0

itemloaders 1.5.0 (2026-09-29)

- **Backward-incompatible change:** when an Item Loader instantiates the
  item itself, from :attr:`~ItemLoader.default_item_class`, the field
  defaults of that item are no longer treated as collected data, so they no
  longer go through processors and no longer get combined with the values
  you add. They still reach the loaded item for fields that get no data.

  To get the old behavior, pass the item yourself, e.g.
  ``ItemLoader(item=MyItem())``.

- **Backward-incompatible change:** sets and iterators other than generators,
  such as the result of :func:`map`, are now collected value by value, like
  lists, tuples and generators already were, instead of as a single value.

  To collect one of them as a single value, wrap it in a list, e.g.
  ``loader.add_value("tags", [{"a", "b"}])``.

- Added a *stats* parameter to :class:`ItemLoader` to count how often each
  parsing rule matches, to find rules that are no longer needed. See
  :ref:`rule-usage`.

- :ref:`Nested loaders <nested-loaders>` now inherit the
  :ref:`context <loaders-context>` of their parent loader, with keyword
  arguments passed to :meth:`~ItemLoader.nested_xpath` and
  :meth:`~ItemLoader.nested_css` taking precedence.

- Fixed :func:`functools.partial` processors missing their
  ``loader_context`` when the value of a positionally-bound argument matched
  the name of an unbound parameter, e.g. ``partial(func, "loader_context")``.

- Improved performance.

- Documentation improvements.

- CI and test improvements.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2026/06/28 15:41:39 wiz Exp $
d20 1
a20 1
PYTHON_VERSIONS_INCOMPATIBLE=	310 311
@


1.14
log
@*: limit Python versions due to py-numpy dropping Python 3.11 support
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2026/02/09 12:58:47 adam Exp $
d3 1
a3 1
DISTNAME=	itemloaders-1.4.0
@


1.13
log
@py-itemloaders: updated to 1.4.0

itemloaders 1.4.0 (2026-01-29)

- Dropped support for Python 3.8-3.9 and PyPy 3.9-3.10
- Added support for Python 3.14 and PyPy 3.11
- Switched the build system to ``hatchling``
- Documentation improvements
- CI improvements
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2025/10/09 07:57:59 wiz Exp $
d20 1
a20 1
PYTHON_VERSIONS_INCOMPATIBLE=	310
@


1.12
log
@*: remove reference to (removed) Python 3.9
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2025/07/07 05:58:06 wiz Exp $
d3 1
a3 1
DISTNAME=	itemloaders-1.3.2
a4 1
PKGREVISION=	1
d13 1
a13 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
a16 1
DEPENDS+=	${PYPKGPREFIX}-w3lib>=1.17.0:../../www/py-w3lib
@


1.11
log
@*: mark more packages as not for Python<3.11

From shadow x86_64 bulk build
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2025/04/14 12:14:59 adam Exp $
d22 1
a22 1
PYTHON_VERSIONS_INCOMPATIBLE=	39 310
@


1.10
log
@Fix PLIST after py-setuptools update; bump depends and revision
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2024/11/11 07:29:03 wiz Exp $
d22 2
@


1.9
log
@py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2024/10/01 07:55:13 adam Exp $
d5 1
d14 1
a14 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
@


1.8
log
@py-itemloaders: updated to 1.3.2

1.3.2

Added official support for the upcoming Python 3.13
Removed w3lib from direct dependencies (it's not used directly but is an indirect dependency via parsel)
Improved CI
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2024/06/04 10:35:29 adam Exp $
a13 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
@


1.7
log
@py-itemloaders: updated to 1.3.1

1.3.1

Fixed an error when using nested loaders with empty matches that was introduced in 1.3.0


1.3.0

Added support for method chaining to the add_* and replace_* methods
Added type hints and py.typed
Made the docs builds reproducible
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2024/04/27 05:05:33 adam Exp $
d3 1
a3 1
DISTNAME=	itemloaders-1.3.1
a21 2
PYTHON_VERSIONS_INCOMPATIBLE=	27

@


1.6
log
@py-itemloaders: updated to 1.2.0

1.2.0

Added official support for Python 3.12 and PyPy 3.10
Removed official support for Python 3.7
Improved performance of itemloaders.utils.arg_to_iter
Fixed test expectations on recent Python versions
Improved CI
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2023/04/27 09:07:55 adam Exp $
d3 1
a3 1
DISTNAME=	itemloaders-1.2.0
@


1.5
log
@py-itemloaders: updated to 1.1.0

1.1.0

Added JMESPath support (ItemLoader.add_jmes etc.), requiring Parsel 1.8.1+
Added official support for Python 3.11
Removed official support for Python 3.6
Internal code cleanup
Added pre-commit support and applied changes from black and flake8
Improved CI
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2022/12/12 14:18:55 adam Exp $
d3 1
a3 1
DISTNAME=	itemloaders-1.1.0
d13 2
d24 1
a24 1
.include "../../lang/python/egg.mk"
@


1.4
log
@py-itemloaders: updated to 1.0.6

1.0.6
Fixes a regression introduced in 1.0.5 that would cause the re parameter of ItemLoader.add_xpath and similar methods to be passed to lxml, which would trigger an exception when the value of re was a compiled pattern and not a string

1.0.5
Allow additional args to be passed when calling ItemLoader.add_xpath
Fixed missing space in an exception message
Updated company name in author and copyright sections
Added official support for Python 3.9 and improved PyPy compatibility
Added official support for Python 3.10
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2022/01/04 20:54:56 wiz Exp $
d3 1
a3 1
DISTNAME=	itemloaders-1.0.6
@


1.3
log
@*: bump PKGREVISION for egg.mk users

They now have a tool dependency on py-setuptools instead of a DEPENDS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2021/03/22 06:14:02 adam Exp $
d3 1
a3 1
DISTNAME=	itemloaders-1.0.4
a4 1
PKGREVISION=	1
@


1.2
log
@py-itemloaders: fix typos
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2021/03/21 21:13:00 triaxx Exp $
d5 1
@


1.1
log
@py-itemloaders: Added version 1.0.4

textproc/py-itemloaders is a dependency of www/py-scrapy.
@
text
@d1 1
a1 1
# $NetBSD$
d13 4
a16 4
DEPENDS+=	${PKPKGPREFIX}-itemadapter>=0.1.0:../../textproc/py-itemadapter
DEPENDS+=	${PKPKGPREFIX}-jmespath>=0.9.5:../../textproc/py-jmespath
DEPENDS+=	${PKPKGPREFIX}-parsel>=1.5.0:../../www/py-parsel
DEPENDS+=	${PKPKGPREFIX}-w3lib>=1.17.0:../../www/py-w3lib
@

