1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00

security/py-coincurve: update 19.0.1 → 20.0.0

Reported by:	portscout
This commit is contained in:
Yuri Victorovich 2024-07-15 13:00:46 -07:00
parent d323bcd47f
commit 509546d12b
2 changed files with 22 additions and 8 deletions

View File

@ -1,8 +1,12 @@
PORTNAME= coincurve
DISTVERSION= 19.0.1
DISTVERSION= 20.0.0
CATEGORIES= security python
MASTER_SITES= PYPI
MASTER_SITES= PYPI \
https://github.com/bitcoin-core/secp256k1/archive/:bitcoin_core
DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} \
1ad5185cd42c0636104129fcc9f6a4bf9c67cc40.tar.gz:bitcoin_core
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
EXTRACT_ONLY= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX}
MAINTAINER= yuri@FreeBSD.org
COMMENT= Cross-platform Python CFFI bindings for libsecp256k1
@ -11,20 +15,28 @@ WWW= https://github.com/ofek/coincurve
LICENSE= MIT APACHE20
LICENSE_COMB= dual
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>=1.3.0:devel/py-cffi@${PY_FLAVOR} \
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}hatchling>=1.24.2:devel/py-hatchling@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}scikit-build-core>=0.9.0:devel/py-scikit-build-core@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>0:www/py-requests@${PY_FLAVOR} \
${PY_SETUPTOOLS} \
aclocal:devel/automake \
autoreconf:devel/autoconf \
gmake:devel/gmake \
cmake:devel/cmake-core \
libtool:devel/libtool
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}asn1crypto>0:devel/py-asn1crypto@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}cffi>=1.3.0:devel/py-cffi@${PY_FLAVOR}
USES= pkgconfig python
USE_PYTHON= distutils autoplist pytest # tests fail due to missing imports, but sources were changed after 19.0.1
USE_PYTHON= pep517 autoplist pytest # tests fail due to missing imports, but sources were changed after 19.0.1
TEST_ENV= ${MAKE_ENV} PYTHONPATH=${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}
post-patch:
@${REINPLACE_CMD} \
-e 's|https://github.com/bitcoin-core/secp256k1/archive/|file://${DISTDIR}/|' \
${WRKSRC}/pyproject.toml
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/coincurve/_libsecp256k1*.so

View File

@ -1,3 +1,5 @@
TIMESTAMP = 1709573136
SHA256 (coincurve-19.0.1.tar.gz) = c2191049e66792a1a19ca2e64b4d057be3ef1553105e5b9713a92b740c7809ee
SIZE (coincurve-19.0.1.tar.gz) = 2639689
TIMESTAMP = 1721072453
SHA256 (coincurve-20.0.0.tar.gz) = 872419e404300302e938849b6b92a196fabdad651060b559dc310e52f8392829
SIZE (coincurve-20.0.0.tar.gz) = 122865
SHA256 (1ad5185cd42c0636104129fcc9f6a4bf9c67cc40.tar.gz) = ba34be4319f505c5766aa80b99cfa696cbb2993bfecf7d7eb8696106c493cb8c
SIZE (1ad5185cd42c0636104129fcc9f6a4bf9c67cc40.tar.gz) = 2612750