head	1.22;
access;
symbols
	pkgsrc-2026Q1:1.22.0.2
	pkgsrc-2026Q1-base:1.22
	pkgsrc-2025Q4:1.21.0.2
	pkgsrc-2025Q4-base:1.21
	pkgsrc-2025Q3:1.20.0.2
	pkgsrc-2025Q3-base:1.20
	pkgsrc-2025Q2:1.19.0.2
	pkgsrc-2025Q2-base:1.19
	pkgsrc-2025Q1:1.17.0.2
	pkgsrc-2025Q1-base:1.17
	pkgsrc-2024Q4:1.16.0.2
	pkgsrc-2024Q4-base:1.16
	pkgsrc-2024Q3:1.15.0.4
	pkgsrc-2024Q3-base:1.15
	pkgsrc-2024Q2:1.15.0.2
	pkgsrc-2024Q2-base:1.15
	pkgsrc-2024Q1:1.13.0.2
	pkgsrc-2024Q1-base:1.13
	pkgsrc-2023Q4:1.12.0.2
	pkgsrc-2023Q4-base:1.12
	pkgsrc-2023Q3:1.10.0.4
	pkgsrc-2023Q3-base:1.10
	pkgsrc-2023Q2:1.10.0.2
	pkgsrc-2023Q2-base:1.10
	pkgsrc-2023Q1:1.9.0.4
	pkgsrc-2023Q1-base:1.9
	pkgsrc-2022Q4:1.9.0.2
	pkgsrc-2022Q4-base:1.9
	pkgsrc-2022Q3:1.7.0.2
	pkgsrc-2022Q3-base:1.7
	pkgsrc-2022Q2:1.6.0.4
	pkgsrc-2022Q2-base:1.6
	pkgsrc-2022Q1:1.6.0.2
	pkgsrc-2022Q1-base:1.6
	pkgsrc-2021Q4:1.5.0.8
	pkgsrc-2021Q4-base:1.5
	pkgsrc-2021Q3:1.5.0.6
	pkgsrc-2021Q3-base:1.5
	pkgsrc-2021Q2:1.5.0.4
	pkgsrc-2021Q2-base:1.5
	pkgsrc-2021Q1:1.5.0.2
	pkgsrc-2021Q1-base:1.5
	pkgsrc-2020Q4:1.4.0.2
	pkgsrc-2020Q4-base:1.4;
locks; strict;
comment	@# @;


1.22
date	2025.12.28.10.30.22;	author adam;	state Exp;
branches;
next	1.21;
commitid	AYVd0sTv8dpn9aoG;

1.21
date	2025.10.09.07.57.39;	author wiz;	state Exp;
branches;
next	1.20;
commitid	t4nMY0Dt3rBjSRdG;

1.20
date	2025.07.05.11.44.14;	author wiz;	state Exp;
branches;
next	1.19;
commitid	B2KLCDAZOmgedy1G;

1.19
date	2025.04.18.12.10.16;	author adam;	state Exp;
branches;
next	1.18;
commitid	SGTtim01hKcVRwRF;

1.18
date	2025.04.18.11.38.04;	author adam;	state Exp;
branches;
next	1.17;
commitid	Rd5GvP5KaPVMGwRF;

1.17
date	2025.02.04.13.48.01;	author adam;	state Exp;
branches;
next	1.16;
commitid	XcrtezyB0qSQK9IF;

1.16
date	2024.11.11.07.28.33;	author wiz;	state Exp;
branches;
next	1.15;
commitid	1fBDq3LwS98NncxF;

1.15
date	2024.05.23.11.50.30;	author adam;	state Exp;
branches;
next	1.14;
commitid	EDFmmJSsaTXIm7bF;

1.14
date	2024.04.12.11.30.56;	author adam;	state Exp;
branches;
next	1.13;
commitid	3q64JVT6jgOHzQ5F;

1.13
date	2024.01.11.10.04.32;	author adam;	state Exp;
branches;
next	1.12;
commitid	pySN9Seb8qIq31UE;

1.12
date	2023.11.10.19.07.15;	author adam;	state Exp;
branches;
next	1.11;
commitid	XFzITzw80qef36ME;

1.11
date	2023.11.10.19.01.33;	author adam;	state Exp;
branches;
next	1.10;
commitid	5W6TgYzX1g2b16ME;

1.10
date	2023.06.08.10.26.04;	author adam;	state Exp;
branches;
next	1.9;
commitid	rSjTRz0NHvef98sE;

1.9
date	2022.12.12.09.43.04;	author adam;	state Exp;
branches;
next	1.8;
commitid	G7o5u0ibpJhaDf5E;

1.8
date	2022.11.14.14.34.49;	author wiz;	state Exp;
branches;
next	1.7;
commitid	6wJbmcNKZnu09G1E;

1.7
date	2022.07.12.07.27.18;	author adam;	state Exp;
branches;
next	1.6;
commitid	FMRx11XInDxyNzLD;

1.6
date	2022.01.04.20.53.53;	author wiz;	state Exp;
branches;
next	1.5;
commitid	CYyhdK9qtoffkmnD;

1.5
date	2021.02.07.20.01.35;	author adam;	state Exp;
branches;
next	1.4;
commitid	mRkJrYDuC68uGOGC;

1.4
date	2020.11.25.11.13.19;	author nia;	state Exp;
branches;
next	1.3;
commitid	UsJtTmY2OTTV8gxC;

1.3
date	2020.10.08.19.09.05;	author khorben;	state Exp;
branches;
next	1.2;
commitid	dSG1zIVqebbEj8rC;

1.2
date	2020.09.29.19.37.33;	author jperkin;	state Exp;
branches;
next	1.1;
commitid	ercN5PXd7F6xLYpC;

1.1
date	2020.09.29.00.05.36;	author khorben;	state Exp;
branches;
next	;
commitid	yso36Q6ZmjFphSpC;


desc
@@


1.22
log
@py-eth-utils: updated to 5.3.1

5.3.1
Bugfixes

Loosen expectation in test_get_aligned_abi_inputs_raises_type_error_for_incorrect_input_types
@
text
@# $NetBSD: Makefile,v 1.21 2025/10/09 07:57:39 wiz Exp $

DISTNAME=	eth_utils-5.3.1
PKGNAME=	${PYPKGPREFIX}-${DISTNAME:S/_/-/}
CATEGORIES=	finance python
MASTER_SITES=	${MASTER_SITE_PYPI:=e/eth-utils/}

MAINTAINER=	khorben@@defora.org
HOMEPAGE=	https://github.com/ethereum/eth-utils
COMMENT=	Common utility functions for ethereum codebases
LICENSE=	mit

TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
DEPENDS+=	${PYPKGPREFIX}-cytoolz>=0.10.1:../../devel/py-cytoolz
DEPENDS+=	${PYPKGPREFIX}-eth-hash>=0.3.1:../../finance/py-eth-hash
DEPENDS+=	${PYPKGPREFIX}-eth-typing>=5.0.0:../../finance/py-eth-typing
DEPENDS+=	${PYPKGPREFIX}-pydantic>=2.0.0:../../devel/py-pydantic
TEST_DEPENDS+=	${PYPKGPREFIX}-hypothesis>=4.43.0:../../devel/py-hypothesis
TEST_DEPENDS+=	${PYPKGPREFIX}-mypy>=0.971:../../lang/py-mypy
TEST_DEPENDS+=	${PYPKGPREFIX}-test-xdist>=2.4.0:../../devel/py-test-xdist

USE_LANGUAGES=	# none

PYTHON_VERSIONS_INCOMPATIBLE=	310

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


1.21
log
@*: remove reference to (removed) Python 3.9
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2025/07/05 11:44:14 wiz Exp $
d3 1
a3 1
DISTNAME=	eth_utils-5.3.0
@


1.20
log
@*: some more recursive Python restrictions on Python 3.11+

Reported in SmartOS bulk build
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2025/04/18 12:10:16 adam Exp $
d24 1
a24 1
PYTHON_VERSIONS_INCOMPATIBLE=	39 310
@


1.19
log
@py-eth-utils: also depend on pydantic
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2025/04/18 11:38:04 adam Exp $
d24 2
@


1.18
log
@py-eth-utils: updated to 5.3.0

eth-utils v5.3.0 (2025-04-14)

Bugfixes

Replace arg["name"] with arg.get("name") to correctly handle optional names.

Features

Add new methods: to_wei_decimals, and from_wei_decimals which take a number instead of a string
Add CamelModel pydantic model for validating objects and serializing to camelCase when used with by_alias=True, with the general expectation of a well-formed JSON-RPC object.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2025/02/04 13:48:01 adam Exp $
d17 1
@


1.17
log
@py-eth-utils: updated to 5.2.0

5.2.0

Bugfixes

Update types in is_same_address to accept AnyAddress, str, or bytes.

Features

Add Python 3.13 support and other misc. template updates
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2024/11/11 07:28:33 wiz Exp $
d3 1
a3 1
DISTNAME=	eth_utils-5.2.0
d13 1
a13 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-setuptools>=60:../../devel/py-setuptools
@


1.16
log
@py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2024/05/23 11:50:30 adam Exp $
d3 1
a3 1
DISTNAME=	eth_utils-4.1.1
d16 1
a16 1
DEPENDS+=	${PYPKGPREFIX}-eth-typing>=3.0.0:../../finance/py-eth-typing
a19 1
TEST_DEPENDS+=	${PYPKGPREFIX}-types-setuptools-[0-9]*:../../devel/py-types-setuptools
a22 2
PYTHON_VERSIONS_INCOMPATIBLE=	27

@


1.15
log
@py-eth-utils: updated to 4.1.1

eth-utils v4.1.1 (2024-05-06)

Features

Update networks for latest changes and testnets.

Internal Changes - for eth-utils Contributors

Merge template updates, fixing docs CI and setting nightly CI runs for all testing
Updated eth_networks.json with latest networks.
No warning for outdated networks.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2024/04/12 11:30:56 adam Exp $
a13 1
TOOL_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
@


1.14
log
@py-eth-utils: updated to 4.1.0

eth-utils v4.1.0 (2024-04-01)

Internal Changes - for eth-utils Contributors

Upgrades from the template with support for Python 3.12 and linting with blocklint.
Remove cached_property dependency, as it was only for <=py37

eth-utils v4.0.0 (2024-02-22)

Breaking Changes

Web3.is_address now returns True for non-checksummed addresses.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2024/01/11 10:04:32 adam Exp $
d3 2
a4 2
DISTNAME=	eth-utils-4.1.0
PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
@


1.13
log
@py-eth-utils: updated to 3.0.0

eth-utils v3.0.0 (2024-01-10)

Breaking Changes

Drop python 3.7 support

Internal Changes - for eth-utils Contributors

Merge updates from the project template, notably: use pre-commit for linting and change the name of the master branch to main
Correct booleans in pyproject.toml and add test for the presence of the eth_utils.__version__ attribute
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2023/11/10 19:07:15 adam Exp $
d3 1
a3 1
DISTNAME=	eth-utils-3.0.0
@


1.12
log
@py-eth-utils: needs TOOL_DEPENDS
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2023/11/10 19:01:33 adam Exp $
d3 1
a3 1
DISTNAME=	eth-utils-2.3.1
@


1.11
log
@py-eth-utils: updated to 2.3.1

eth-utils v2.3.1 (2023-11-07)

Bugfixes

Some users were experiencing encoding issues when parsing the networks json. Use UTF-8 explicitly.

Internal Changes - for eth-utils Contributors

Fix and add new test cases for invalid Network chain_id values.


eth-utils v2.3.0 (2023-10-20)

Features

Add Network utility methods to utilize network metadata for a given ChainId.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2023/06/08 10:26:04 adam Exp $
d13 2
@


1.10
log
@py-eth-utils: updated to 2.1.1

eth-utils v2.1.1 (2023-06-07)

Internal Changes - for eth-utils Contributors

Add currency tests with float ether inputs.
remove unused docs deps, bump version of remaining
merge updates from the python project template
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2022/12/12 09:43:04 adam Exp $
d3 1
a3 1
DISTNAME=	eth-utils-2.1.1
d17 1
a17 1
TEST_DEPENDS+=	${PYPKGPREFIX}-test>=7.0.0:../../devel/py-test
d19 1
d25 1
a25 1
.include "../../lang/python/egg.mk"
@


1.9
log
@py-eth-utils: updated to 2.1.0

eth-utils v2.1.0 (2022-11-17)

Features

Allow a wider eth-hash dependency range

Performance improvements

Performance improvement of up to 65% on is_0x_prefixed

Improved Documentation

Fix typo in documentation: hexidecimal -> hexadecimal

Internal Changes - for eth-utils Contributors

Update use of @@cached_property for debug2 logging.

Breaking changes

Remove support for Python 3.6, add Python 3.11, misc dev internal updates
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2022/11/14 14:34:49 wiz Exp $
d3 1
a3 1
DISTNAME=	eth-utils-2.1.0
d13 1
a15 1
DEPENDS+=	${PYPKGPREFIX}-cytoolz>=0.10.1:../../devel/py-cytoolz
d17 2
a18 3
TEST_DEPENDS+=	${PYPKGPREFIX}-test>=6.2.5:../../devel/py-test
TEST_DEPENDS+=	${PYPKGPREFIX}-test-xdist-[0-9]*:../../devel/py-test-xdist
TEST_DEPENDS+=	${PYPKGPREFIX}-tox>=3.14.6:../../devel/py-tox
@


1.8
log
@py-pysha3: mark as not for python 3.11

This was only ever intended for python < 3.6, but we do have some
users in pkgsrc on newer python versions.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2022/07/12 07:27:18 adam Exp $
d3 1
a3 1
DISTNAME=	eth-utils-2.0.0
d23 1
a23 1
PYTHON_VERSIONS_INCOMPATIBLE=	27 311
@


1.7
log
@py-eth-utils: updated to 2.0.0

Eth_Utils 2.0.0 (2021-11-18)

Features

Upgrade eth-typing to v3.0+, Add support for python 3.9 and 3.10 Remove support for python 3.5
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2022/01/04 20:53:53 wiz Exp $
d23 1
a23 1
PYTHON_VERSIONS_INCOMPATIBLE=	27
@


1.6
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.5 2021/02/07 20:01:35 adam Exp $
d3 1
a3 1
DISTNAME=	eth-utils-1.10.0
a4 1
PKGREVISION=	1
d14 1
a14 1
DEPENDS+=	${PYPKGPREFIX}-eth-typing>=2.2.1:../../finance/py-eth-typing
d17 1
a17 1
TEST_DEPENDS+=	${PYPKGPREFIX}-test>=5.4.1:../../devel/py-test
@


1.5
log
@py-eth-utils: updated to 1.10.0

eth-utils v1.10.0

Bugfixes

When a TypeError or ValueError is raised during :meth:`~eth_utils.applicators.apply_formatters_to_dict`, eth_utils appends some useful contextual information. It was trying to re-create the old exception, but that sometimes fails, like with a :class:`JSONDecodeError`, which expects more arguments in the constructor. So now we raise a basic TypeError or ValueError.
Update the type signature of :meth:`~eth_utils.address.to_canonical_address`, :meth:`~eth_utils.address.to_checksum_address`, and :meth:`~eth_utils.address.to_normalized_address` to allow bytes-typed address input.

Performance improvements

Significant speedup of :meth:`~eth_utils.hexadecimal.is_hex` and :meth:`~eth_utils.hexadecimal.is_hexstr`.
Significant speedup of :meth:`~eth_utils.address.is_address`. Running a test that abi-encodes an array of 10 addresses was about 67% faster.

Internal Changes - for eth-utils Contributors

Upgrade eth-hash to v0.3.1, to use its exported type annotations instead of casting the results.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2020/11/25 11:13:19 nia Exp $
d5 1
@


1.4
log
@Add PYTHON_VERSIONS_INCOMPATIBLE to packages that fail with 3.6.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2020/10/08 19:09:05 khorben Exp $
d3 1
a3 1
DISTNAME=	eth-utils-1.9.5
a4 1
PKGREVISION=	1
d6 1
a6 3
MASTER_SITES=	${MASTER_SITE_GITHUB:=ethereum/}
GITHUB_PROJECT=	eth-utils
GITHUB_TAG=	v${PKGVERSION_NOREV}
d13 7
a19 19
BUILD_DEPENDS+=	${PYPKGPREFIX}-twine-[0-9]*:../../net/py-twine
BUILD_DEPENDS+=	${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
BUILD_DEPENDS+=	${PYPKGPREFIX}-sphinx-rtd-theme-[0-9]*:../../textproc/py-sphinx-rtd-theme
#BUILD_DEPENDS+=	# TODO: towncrier>=19.2.0,<20
BUILD_DEPENDS+=	${PYPKGPREFIX}-black-[0-9]*:../../textproc/py-black
BUILD_DEPENDS+=	${PYPKGPREFIX}-flake8-[0-9]*:../../devel/py-flake8
BUILD_DEPENDS+=	${PYPKGPREFIX}-isort-[0-9]*:../../devel/py-isort
BUILD_DEPENDS+=	${PYPKGPREFIX}-mypy-[0-9]*:../../lang/py-mypy
#BUILD_DEPENDS+=	# TODO: pytest>=3.4.1,<4.0.0
BUILD_DEPENDS+=	${PYPKGPREFIX}-hypothesis-[0-9]*:../../devel/py-hypothesis
#BUILD_DEPENDS+=	# TODO: pytest>=3.4.1,<4.0.0
#BUILD_DEPENDS+=	# TODO: pytest-pythonpath>=0.3,<1.0
BUILD_DEPENDS+=	${PYPKGPREFIX}-bump2version-[0-9]*:../../devel/py-bump2version
BUILD_DEPENDS+=	${PYPKGPREFIX}-tox-[0-9]*:../../devel/py-tox
BUILD_DEPENDS+=	${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
DEPENDS+=	${PYPKGPREFIX}-eth-hash-[0-9]*:../../finance/py-eth-hash
DEPENDS+=	${PYPKGPREFIX}-eth-typing-[0-9]*:../../finance/py-eth-typing
DEPENDS+=	${PYPKGPREFIX}-toolz-[0-9]*:../../devel/py-toolz
DEPENDS+=	${PYPKGPREFIX}-cytoolz-[0-9]*:../../devel/py-cytoolz
d23 1
a23 2
PYTHON_VERSIONS_INCOMPATIBLE=	27 # py-bump2version py-eth-typing
PYTHON_VERSIONS_INCOMPATIBLE+=	36 # py-eth-hash-0.2.0nb1 py-eth-typing
a24 1
# TODO: Migrate MASTER_SITES to MASTER_SITE_PYPI
@


1.3
log
@py-bump2version: use in place of py-bumpversion

Bumps PKGREVISION in affected packages.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2020/09/29 19:37:33 jperkin Exp $
d39 1
@


1.2
log
@py-eth-utils: Try to fix dependencies.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2020/09/29 00:05:36 khorben Exp $
d5 1
d28 1
a28 1
BUILD_DEPENDS+=	${PYPKGPREFIX}-bumpversion-[0-9]*:../../devel/py-bumpversion
d38 1
a38 1
PYTHON_VERSIONS_INCOMPATIBLE=	27 # py-eth-typing
@


1.1
log
@py-eth-utils: import version 1.9.5

Common utility functions for codebases which interact with ethereum.
@
text
@d1 1
a1 1
# $NetBSD$
d37 2
@

