summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2025-07-20 08:24:31 +0200
committerEmanuel Haupt <ehaupt@FreeBSD.org>2025-07-20 08:24:31 +0200
commitb0babcde402ae70842ed80462be5443ee7271f15 (patch)
treeba37dcbf61a1480217abe601458d1a9d958270f5 /devel
parentaudio/libopenmpt: Update to 0.8.2 (diff)
devel/py-electrum-ecc: Add new port
Pure python ctypes wrapper for libsecp256k1.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile3
-rw-r--r--devel/py-electrum-ecc/Makefile25
-rw-r--r--devel/py-electrum-ecc/distinfo3
-rw-r--r--devel/py-electrum-ecc/pkg-descr1
4 files changed, 31 insertions, 1 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 07adc6caa691..f5e88c4be6b6 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3628,8 +3628,8 @@
SUBDIR += p5-Test-Bits
SUBDIR += p5-Test-CPAN-Meta
SUBDIR += p5-Test-CPAN-Meta-YAML
- SUBDIR += p5-Test-CheckDeps
SUBDIR += p5-Test-CPANfile
+ SUBDIR += p5-Test-CheckDeps
SUBDIR += p5-Test-CheckManifest
SUBDIR += p5-Test-Class
SUBDIR += p5-Test-Class-Most
@@ -4839,6 +4839,7 @@
SUBDIR += py-editables
SUBDIR += py-editdistance
SUBDIR += py-ejson
+ SUBDIR += py-electrum-ecc
SUBDIR += py-eliot
SUBDIR += py-enlighten
SUBDIR += py-entrypoint2
diff --git a/devel/py-electrum-ecc/Makefile b/devel/py-electrum-ecc/Makefile
new file mode 100644
index 000000000000..3513ec17dd4c
--- /dev/null
+++ b/devel/py-electrum-ecc/Makefile
@@ -0,0 +1,25 @@
+PORTNAME= electrum-ecc
+DISTVERSION= 0.0.5
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= ${PORTNAME:S/-/_/}-${DISTVERSIONPREFIX}${DISTVERSION}${DISTVERSIONSUFFIX}
+
+MAINTAINER= ehaupt@FreeBSD.org
+COMMENT= Pure python ctypes wrapper for libsecp256k1
+WWW= https://pypi.org/project/electrum-ecc/ \
+ https://github.com/spesmilo/electrum-ecc
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE.txt
+
+BUILD_DEPENDS= ${PY_SETUPTOOLS} \
+ ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist pep517
+
+post-extract:
+ @${RM} ${WRKSRC}/setup.py
+
+.include <bsd.port.mk>
diff --git a/devel/py-electrum-ecc/distinfo b/devel/py-electrum-ecc/distinfo
new file mode 100644
index 000000000000..2efd668b180b
--- /dev/null
+++ b/devel/py-electrum-ecc/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1752837970
+SHA256 (electrum_ecc-0.0.5.tar.gz) = f733b8596a0f7b25c8371d08af61ef79c7b871d5b40f05a5b95d2d05eb2fb7d2
+SIZE (electrum_ecc-0.0.5.tar.gz) = 2009297
diff --git a/devel/py-electrum-ecc/pkg-descr b/devel/py-electrum-ecc/pkg-descr
new file mode 100644
index 000000000000..592b44cf74a9
--- /dev/null
+++ b/devel/py-electrum-ecc/pkg-descr
@@ -0,0 +1 @@
+Pure python ctypes wrapper for libsecp256k1.