py-eth-hash: import version 0.2.0

This is a low-level library, intended to be used internally by other Ethereum
tools. If you're looking for a convenient hashing tool, check out
eth_utils.keccak() which will be a little friendlier, and provide access to
other helpful utilities.

Read more in the documentation on ReadTheDocs.

Note: the similarly named pyethash has a completely different use: it generates
proofs of work.
This commit is contained in:
khorben 2020-09-28 23:40:35 +00:00
parent 74369ad3b9
commit 591987dcc4
4 changed files with 80 additions and 0 deletions

View file

@ -0,0 +1,9 @@
This is a low-level library, intended to be used internally by other Ethereum
tools. If you're looking for a convenient hashing tool, check out
eth_utils.keccak() which will be a little friendlier, and provide access to
other helpful utilities.
Read more in the documentation on ReadTheDocs.
Note: the similarly named pyethash has a completely different use: it generates
proofs of work.

View file

@ -0,0 +1,31 @@
# $NetBSD: Makefile,v 1.1 2020/09/28 23:40:35 khorben Exp $
DISTNAME= eth-hash-0.2.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= finance python
MASTER_SITES= ${MASTER_SITE_GITHUB:=ethereum/}
GITHUB_PROJECT= eth-hash
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= khorben@defora.org
HOMEPAGE= https://github.com/ethereum/eth-hash
COMMENT= Ethereum keccak256 hashing function
LICENSE= mit
BUILD_DEPENDS+= ${PYPKGPREFIX}-bumpversion-[0-9]*:../../devel/py-bumpversion
#BUILD_DEPENDS+= # TODO: pytest-xdist>=0
#BUILD_DEPENDS+= # TODO: pytest-watch>=4.1.0,<5
BUILD_DEPENDS+= ${PYPKGPREFIX}-wheel-[0-9]*:../../devel/py-wheel
BUILD_DEPENDS+= ${PYPKGPREFIX}-ipython-[0-9]*:../../devel/py-ipython
#BUILD_DEPENDS+= # TODO: pytest==3.3.2>=0
BUILD_DEPENDS+= ${PYPKGPREFIX}-tox-[0-9]*:../../devel/py-tox
BUILD_DEPENDS+= ${PYPKGPREFIX}-flake8-[0-9]*:../../devel/py-flake8
BUILD_DEPENDS+= ${PYPKGPREFIX}-isort-[0-9]*:../../devel/py-isort
BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-[0-9]*:../../textproc/py-sphinx
BUILD_DEPENDS+= ${PYPKGPREFIX}-sphinx-rtd-theme-[0-9]*:../../textproc/py-sphinx-rtd-theme
USE_LANGUAGES= # none
# TODO: Migrate MASTER_SITES to MASTER_SITE_PYPI
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"

34
finance/py-eth-hash/PLIST Normal file
View file

@ -0,0 +1,34 @@
@comment $NetBSD: PLIST,v 1.1 2020/09/28 23:40:35 khorben 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
${PYSITELIB}/eth_hash/__init__.py
${PYSITELIB}/eth_hash/__init__.pyc
${PYSITELIB}/eth_hash/__init__.pyo
${PYSITELIB}/eth_hash/auto.py
${PYSITELIB}/eth_hash/auto.pyc
${PYSITELIB}/eth_hash/auto.pyo
${PYSITELIB}/eth_hash/backends/__init__.py
${PYSITELIB}/eth_hash/backends/__init__.pyc
${PYSITELIB}/eth_hash/backends/__init__.pyo
${PYSITELIB}/eth_hash/backends/auto.py
${PYSITELIB}/eth_hash/backends/auto.pyc
${PYSITELIB}/eth_hash/backends/auto.pyo
${PYSITELIB}/eth_hash/backends/pycryptodome.py
${PYSITELIB}/eth_hash/backends/pycryptodome.pyc
${PYSITELIB}/eth_hash/backends/pycryptodome.pyo
${PYSITELIB}/eth_hash/backends/pysha3.py
${PYSITELIB}/eth_hash/backends/pysha3.pyc
${PYSITELIB}/eth_hash/backends/pysha3.pyo
${PYSITELIB}/eth_hash/main.py
${PYSITELIB}/eth_hash/main.pyc
${PYSITELIB}/eth_hash/main.pyo
${PYSITELIB}/eth_hash/preimage.py
${PYSITELIB}/eth_hash/preimage.pyc
${PYSITELIB}/eth_hash/preimage.pyo
${PYSITELIB}/eth_hash/utils.py
${PYSITELIB}/eth_hash/utils.pyc
${PYSITELIB}/eth_hash/utils.pyo

View file

@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.1 2020/09/28 23:40:35 khorben Exp $
SHA1 (eth-hash-0.2.0.tar.gz) = 330eb3b14bfc138715dc1ed0a61fdb8f6b6a4d9b
RMD160 (eth-hash-0.2.0.tar.gz) = 257e5d7c48d90b130a3b9059c6f9c51ab2a40b83
SHA512 (eth-hash-0.2.0.tar.gz) = 6ab1a2b91934ac20ca54da6cd572f97cae911ccbd729c0b11b42cf0b4cdb178bd6524e2b7908a6608d8da6692c0bb56b20aeec288fa2c3a7507b08868d967ff4
Size (eth-hash-0.2.0.tar.gz) = 16446 bytes