pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/finance/py-eth-account



Module Name:    pkgsrc
Committed By:   adam
Date:           Wed Nov 15 17:59:18 UTC 2023

Modified Files:
        pkgsrc/finance/py-eth-account: Makefile PLIST distinfo

Log Message:
py-eth-account: updated to 0.10.0

eth-account v0.10.0 (2023-10-30)

Deprecations

Deprecate encode_structured_data in favor of new encode_typed_data

Improved Documentation

Added usage notes and example for encode_structured_data

Features

Add new encode_typed_data to better handle EIP712 message signing
Added option to call encode_typed_data with a single dict arg in addition to the existing 3-dict style
Add sign_typed_data as a method of the Account class

Internal Changes - for eth-account Contributors

Added tests for encode_structured_data for easier comparison with Metamask's SignTypedData
Bump version for node and ethers.js in integration tests, update ethers usage to match
Add build.os to readthedocs settings
Add upper pin to hexbytes dependency to due incoming breaking change
Add tests comparing output of signed EIP712 messages with metamask and ethers


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/finance/py-eth-account/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/finance/py-eth-account/PLIST
cvs rdiff -u -r1.8 -r1.9 pkgsrc/finance/py-eth-account/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/finance/py-eth-account/Makefile
diff -u pkgsrc/finance/py-eth-account/Makefile:1.11 pkgsrc/finance/py-eth-account/Makefile:1.12
--- pkgsrc/finance/py-eth-account/Makefile:1.11 Tue Jul  4 10:27:17 2023
+++ pkgsrc/finance/py-eth-account/Makefile      Wed Nov 15 17:59:18 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.11 2023/07/04 10:27:17 adam Exp $
+# $NetBSD: Makefile,v 1.12 2023/11/15 17:59:18 adam Exp $
 
-DISTNAME=      eth-account-0.9.0
+DISTNAME=      eth-account-0.10.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    finance python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=e/eth-account/}
@@ -10,18 +10,22 @@ HOMEPAGE=   https://github.com/ethereum/et
 COMMENT=       Sign Ethereum transactions and messages with local private keys
 LICENSE=       mit
 
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=60:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
 DEPENDS+=      ${PYPKGPREFIX}-bitarray>=2.4.0:../../devel/py-bitarray
-DEPENDS+=      ${PYPKGPREFIX}-eth-abi>=3.0.0:../../finance/py-eth-abi
+DEPENDS+=      ${PYPKGPREFIX}-eth-abi>=4.0.0:../../finance/py-eth-abi
 DEPENDS+=      ${PYPKGPREFIX}-eth-keyfile>=0.6.0:../../finance/py-eth-keyfile
 DEPENDS+=      ${PYPKGPREFIX}-eth-keys>=0.4.0:../../finance/py-eth-keys
 DEPENDS+=      ${PYPKGPREFIX}-eth-rlp>=0.3.0:../../finance/py-eth-rlp
 DEPENDS+=      ${PYPKGPREFIX}-eth-utils>=2.0.0:../../finance/py-eth-utils
 DEPENDS+=      ${PYPKGPREFIX}-hexbytes>=0.1.0:../../devel/py-hexbytes
 DEPENDS+=      ${PYPKGPREFIX}-rlp>=1.0.0:../../devel/py-rlp
+TEST_DEPENDS+= ${PYPKGPREFIX}-hypothesis>=4.18.0:../../devel/py-hypothesis
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-xdist>=2.4.0:../../devel/py-test-xdist
 
 USE_LANGUAGES= # none
 
 PYTHON_VERSIONS_INCOMPATIBLE=  27
 
-.include "../../lang/python/egg.mk"
+.include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/finance/py-eth-account/PLIST
diff -u pkgsrc/finance/py-eth-account/PLIST:1.4 pkgsrc/finance/py-eth-account/PLIST:1.5
--- pkgsrc/finance/py-eth-account/PLIST:1.4     Mon Sep 12 11:04:18 2022
+++ pkgsrc/finance/py-eth-account/PLIST Wed Nov 15 17:59:18 2023
@@ -1,16 +1,24 @@
-@comment $NetBSD: PLIST,v 1.4 2022/09/12 11:04:18 adam Exp $
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+@comment $NetBSD: PLIST,v 1.5 2023/11/15 17:59:18 adam Exp $
+${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/eth_account/__init__.py
 ${PYSITELIB}/eth_account/__init__.pyc
 ${PYSITELIB}/eth_account/__init__.pyo
 ${PYSITELIB}/eth_account/_utils/__init__.py
 ${PYSITELIB}/eth_account/_utils/__init__.pyc
 ${PYSITELIB}/eth_account/_utils/__init__.pyo
+${PYSITELIB}/eth_account/_utils/encode_typed_data/__init__.py
+${PYSITELIB}/eth_account/_utils/encode_typed_data/__init__.pyc
+${PYSITELIB}/eth_account/_utils/encode_typed_data/__init__.pyo
+${PYSITELIB}/eth_account/_utils/encode_typed_data/encoding_and_hashing.py
+${PYSITELIB}/eth_account/_utils/encode_typed_data/encoding_and_hashing.pyc
+${PYSITELIB}/eth_account/_utils/encode_typed_data/encoding_and_hashing.pyo
+${PYSITELIB}/eth_account/_utils/encode_typed_data/helpers.py
+${PYSITELIB}/eth_account/_utils/encode_typed_data/helpers.pyc
+${PYSITELIB}/eth_account/_utils/encode_typed_data/helpers.pyo
 ${PYSITELIB}/eth_account/_utils/legacy_transactions.py
 ${PYSITELIB}/eth_account/_utils/legacy_transactions.pyc
 ${PYSITELIB}/eth_account/_utils/legacy_transactions.pyo

Index: pkgsrc/finance/py-eth-account/distinfo
diff -u pkgsrc/finance/py-eth-account/distinfo:1.8 pkgsrc/finance/py-eth-account/distinfo:1.9
--- pkgsrc/finance/py-eth-account/distinfo:1.8  Tue Jul  4 10:27:17 2023
+++ pkgsrc/finance/py-eth-account/distinfo      Wed Nov 15 17:59:18 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.8 2023/07/04 10:27:17 adam Exp $
+$NetBSD: distinfo,v 1.9 2023/11/15 17:59:18 adam Exp $
 
-BLAKE2s (eth-account-0.9.0.tar.gz) = 562c0a051f0230cd765cec3176d1a3aa0d186a359394b126bd5a5ba635fe2528
-SHA512 (eth-account-0.9.0.tar.gz) = a4aea44bbd04d2317a4865095475348a244905c00d8bb56313cc92ee07d9679140c9e8906957590495a2cc2ee914aaacdfdb302bb0363b050d5f17d9d7ce6bd3
-Size (eth-account-0.9.0.tar.gz) = 100848 bytes
+BLAKE2s (eth-account-0.10.0.tar.gz) = 2d564420f916e5f30828ad682ef5bcfc1b7a0c833ef3beb22ccde20d10005edb
+SHA512 (eth-account-0.10.0.tar.gz) = 7228fcdf9061b63bd08966a1700ab5d674be779846c481f6e3d7fccda53b06f267ddf90843d048b1a0c0f3a0dded3170550fe63d3f6a31c158adcbbc575262cf
+Size (eth-account-0.10.0.tar.gz) = 107460 bytes



Home | Main Index | Thread Index | Old Index