pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
electrum_ecc: add new package
Module Name: pkgsrc-wip
Committed By: Stepan Ipatov <st.ipatov%gmail.com@localhost>
Pushed By: st.ipatov
Date: Wed Oct 22 18:10:59 2025 +0000
Changeset: 8645e80c574c6ca3eaf581299efac312eb68b00f
Modified Files:
Makefile
Added Files:
py-electrum_ecc/COMMIT_MSG
py-electrum_ecc/DESCR
py-electrum_ecc/Makefile
py-electrum_ecc/PLIST
py-electrum_ecc/TODO
py-electrum_ecc/distinfo
py-electrum_ecc/patches/patch-setup.py
Log Message:
electrum_ecc: add new package
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=8645e80c574c6ca3eaf581299efac312eb68b00f
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
Makefile | 1 +
py-electrum_ecc/COMMIT_MSG | 3 +++
py-electrum_ecc/DESCR | 1 +
py-electrum_ecc/Makefile | 20 ++++++++++++++++++++
py-electrum_ecc/PLIST | 22 ++++++++++++++++++++++
py-electrum_ecc/TODO | 4 ++++
py-electrum_ecc/distinfo | 6 ++++++
py-electrum_ecc/patches/patch-setup.py | 15 +++++++++++++++
8 files changed, 72 insertions(+)
diffs:
diff --git a/Makefile b/Makefile
index 0354576c70..1b1f179988 100644
--- a/Makefile
+++ b/Makefile
@@ -3807,6 +3807,7 @@ SUBDIR+= py-eight2
SUBDIR+= py-einsteinpy
SUBDIR+= py-einsteinpy-geodesics
SUBDIR+= py-elasticsearch-dsl
+SUBDIR+= py-electrum_ecc
SUBDIR+= py-email-reply-parser
SUBDIR+= py-emcee
SUBDIR+= py-emmsa
diff --git a/py-electrum_ecc/COMMIT_MSG b/py-electrum_ecc/COMMIT_MSG
new file mode 100644
index 0000000000..faf83c505e
--- /dev/null
+++ b/py-electrum_ecc/COMMIT_MSG
@@ -0,0 +1,3 @@
+devel/py-electrum_ecc: Add electrum_ecc
+
+Pure python ctypes wrapper for libsecp256k1
diff --git a/py-electrum_ecc/DESCR b/py-electrum_ecc/DESCR
new file mode 100644
index 0000000000..592b44cf74
--- /dev/null
+++ b/py-electrum_ecc/DESCR
@@ -0,0 +1 @@
+Pure python ctypes wrapper for libsecp256k1.
diff --git a/py-electrum_ecc/Makefile b/py-electrum_ecc/Makefile
new file mode 100644
index 0000000000..d6248855f3
--- /dev/null
+++ b/py-electrum_ecc/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD$
+
+DISTNAME= electrum_ecc-0.0.6
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_PYPI:=e/electrum_ecc/}
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://pypi.org/project/electrum_ecc/
+COMMENT= Pure python ctypes wrapper for libsecp256k1
+LICENSE= mit
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
+
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+USE_LANGUAGES= c
+USE_TOOLS+= automake gmake
+
+.include "../../lang/python/wheel.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-electrum_ecc/PLIST b/py-electrum_ecc/PLIST
new file mode 100644
index 0000000000..4c6c367130
--- /dev/null
+++ b/py-electrum_ecc/PLIST
@@ -0,0 +1,22 @@
+@comment $NetBSD$
+${PYSITELIB}/${WHEEL_INFODIR}/METADATA
+${PYSITELIB}/${WHEEL_INFODIR}/RECORD
+${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE.txt
+${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
+${PYSITELIB}/electrum_ecc/__init__.py
+${PYSITELIB}/electrum_ecc/__init__.pyc
+${PYSITELIB}/electrum_ecc/__init__.pyo
+${PYSITELIB}/electrum_ecc/ecc_fast.py
+${PYSITELIB}/electrum_ecc/ecc_fast.pyc
+${PYSITELIB}/electrum_ecc/ecc_fast.pyo
+${PYSITELIB}/electrum_ecc/ecdsa_sigformat.py
+${PYSITELIB}/electrum_ecc/ecdsa_sigformat.pyc
+${PYSITELIB}/electrum_ecc/ecdsa_sigformat.pyo
+${PYSITELIB}/electrum_ecc/keys.py
+${PYSITELIB}/electrum_ecc/keys.pyc
+${PYSITELIB}/electrum_ecc/keys.pyo
+${PYSITELIB}/electrum_ecc/libsecp256k1.so
+${PYSITELIB}/electrum_ecc/util.py
+${PYSITELIB}/electrum_ecc/util.pyc
+${PYSITELIB}/electrum_ecc/util.pyo
diff --git a/py-electrum_ecc/TODO b/py-electrum_ecc/TODO
new file mode 100644
index 0000000000..ebe684e48e
--- /dev/null
+++ b/py-electrum_ecc/TODO
@@ -0,0 +1,4 @@
+The current version uses libsecp256k1 bundled with the PyPI distribution and
+built together with the Python code. It would be more appropriate to link it
+against the library provided by pkgsrc. Unfortunately, however, the version
+available in security/libsecp256k1 is too outdated.
diff --git a/py-electrum_ecc/distinfo b/py-electrum_ecc/distinfo
new file mode 100644
index 0000000000..6332238bec
--- /dev/null
+++ b/py-electrum_ecc/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+BLAKE2s (electrum_ecc-0.0.6.tar.gz) = 1d1a7e6be9cf6033e1d40eb85d8e367d2de3a9e9f9bcbd8aba8ee31fb9644a07
+SHA512 (electrum_ecc-0.0.6.tar.gz) = f20fecbb361badc920e2919df9e1cbb4d76fc13880c032c2909084177b57ae7a379e926f92fcc1ca8a10d096b12dbf7fd13c955541e642ea782b0c0cb245c738
+Size (electrum_ecc-0.0.6.tar.gz) = 2156345 bytes
+SHA1 (patch-setup.py) = 2ff10bc5c3ec2d69467b843b6d5042374c9c4767
diff --git a/py-electrum_ecc/patches/patch-setup.py b/py-electrum_ecc/patches/patch-setup.py
new file mode 100644
index 0000000000..cb13810291
--- /dev/null
+++ b/py-electrum_ecc/patches/patch-setup.py
@@ -0,0 +1,15 @@
+$NetBSD$
+
+Use gmake for pkgsrc builds.
+
+--- setup.py.orig 2000-11-11 11:11:11.000000000 +0000
++++ setup.py
+@@ -34,7 +34,7 @@ except ImportError as e1:
+
+
+ _logger = logging.getLogger("electrum_ecc")
+-MAKE = 'gmake' if platform.system() in ['FreeBSD', 'OpenBSD'] else 'make'
++MAKE = 'gmake' if platform.system() in ['FreeBSD', 'OpenBSD', 'NetBSD', 'Darwin', 'SunOS'] else 'make'
+
+ ELECTRUM_ECC_DONT_COMPILE = None
+ for arg in sys.argv[:]:
Home |
Main Index |
Thread Index |
Old Index