pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/converters py-base58: added version 2.1.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/16ffbc679825
branches:  trunk
changeset: 446522:16ffbc679825
user:      adam <adam%pkgsrc.org@localhost>
date:      Wed Feb 10 10:41:36 2021 +0000

description:
py-base58: added version 2.1.0

Base58 and Base58Check implementation compatible with what is used by the
bitcoin network. Any other alternative alphabet (like the XRP one) can be used.

diffstat:

 converters/Makefile               |   3 ++-
 converters/py-base58/ALTERNATIVES |   1 +
 converters/py-base58/DESCR        |   2 ++
 converters/py-base58/Makefile     |  29 +++++++++++++++++++++++++++++
 converters/py-base58/PLIST        |  16 ++++++++++++++++
 converters/py-base58/distinfo     |   6 ++++++
 6 files changed, 56 insertions(+), 1 deletions(-)

diffs (91 lines):

diff -r 807709e93377 -r 16ffbc679825 converters/Makefile
--- a/converters/Makefile       Wed Feb 10 10:36:43 2021 +0000
+++ b/converters/Makefile       Wed Feb 10 10:41:36 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.185 2021/01/16 16:04:00 triaxx Exp $
+# $NetBSD: Makefile,v 1.186 2021/02/10 10:41:36 adam Exp $
 #
 
 COMMENT=       Document format and character code converters
@@ -109,6 +109,7 @@
 SUBDIR+=       php-recode
 SUBDIR+=       psiconv
 SUBDIR+=       pstotext
+SUBDIR+=       py-base58
 SUBDIR+=       py-cairosvg
 SUBDIR+=       py-chardet
 SUBDIR+=       py-confusable_homoglyphs
diff -r 807709e93377 -r 16ffbc679825 converters/py-base58/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/py-base58/ALTERNATIVES Wed Feb 10 10:41:36 2021 +0000
@@ -0,0 +1,1 @@
+bin/base58 @PREFIX@/bin/base58-@PYVERSSUFFIX@
diff -r 807709e93377 -r 16ffbc679825 converters/py-base58/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/py-base58/DESCR        Wed Feb 10 10:41:36 2021 +0000
@@ -0,0 +1,2 @@
+Base58 and Base58Check implementation compatible with what is used by the
+bitcoin network. Any other alternative alphabet (like the XRP one) can be used.
diff -r 807709e93377 -r 16ffbc679825 converters/py-base58/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/py-base58/Makefile     Wed Feb 10 10:41:36 2021 +0000
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1 2021/02/10 10:41:36 adam Exp $
+
+DISTNAME=      base58-2.1.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    converters python
+MASTER_SITES+= ${MASTER_SITE_PYPI:=b/base58/}
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/keis/base58
+COMMENT=       Base58 and Base58Check implementation
+LICENSE=       mit
+
+TEST_DEPENDS+= ${PYPKGPREFIX}-hamcrest-[0-9]*:../../devel/py-hamcrest
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-benchmark-[0-9]*:../../devel/py-test-benchmark
+
+USE_LANGUAGES= # none
+
+PYTHON_VERSIONS_INCOMPATIBLE=  27
+
+post-install:
+       cd ${DESTDIR}${PREFIX}/bin && \
+       ${MV} base58 base58-${PYVERSSUFFIX} || ${TRUE}
+
+do-test:
+       cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 807709e93377 -r 16ffbc679825 converters/py-base58/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/py-base58/PLIST        Wed Feb 10 10:41:36 2021 +0000
@@ -0,0 +1,16 @@
+@comment $NetBSD: PLIST,v 1.1 2021/02/10 10:41:36 adam Exp $
+bin/base58-${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/base58/__init__.py
+${PYSITELIB}/base58/__init__.pyc
+${PYSITELIB}/base58/__init__.pyo
+${PYSITELIB}/base58/__main__.py
+${PYSITELIB}/base58/__main__.pyc
+${PYSITELIB}/base58/__main__.pyo
+${PYSITELIB}/base58/py.typed
diff -r 807709e93377 -r 16ffbc679825 converters/py-base58/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/converters/py-base58/distinfo     Wed Feb 10 10:41:36 2021 +0000
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/02/10 10:41:36 adam Exp $
+
+SHA1 (base58-2.1.0.tar.gz) = f01a2e47a99bf36ca923ee5228791e8c454451fb
+RMD160 (base58-2.1.0.tar.gz) = 4f994206f68e1c0cd897f17a221b7a1c92871431
+SHA512 (base58-2.1.0.tar.gz) = 1912d01eed30d923fecef72f643f1a1e9954c80505805ef5d673e361eb8ee73d5cbb7cdb48599cfa3b28969b79fb4fd9994aea21dc7a9779a1bb21d729dc058c
+Size (base58-2.1.0.tar.gz) = 6351 bytes



Home | Main Index | Thread Index | Old Index