diff options
author | adam <adam@pkgsrc.org> | 2021-02-10 10:41:36 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2021-02-10 10:41:36 +0000 |
commit | a1f2fce170860427f427649317564225ac30880d (patch) | |
tree | 16441237d34fbdee12fd2dcaaf759bd21c2e13f0 | |
parent | 8a5dd6033d05ee15eb62f5ef190c272e1d441d04 (diff) | |
download | pkgsrc-a1f2fce170860427f427649317564225ac30880d.tar.gz |
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.
-rw-r--r-- | converters/Makefile | 3 | ||||
-rw-r--r-- | converters/py-base58/ALTERNATIVES | 1 | ||||
-rw-r--r-- | converters/py-base58/DESCR | 2 | ||||
-rw-r--r-- | converters/py-base58/Makefile | 29 | ||||
-rw-r--r-- | converters/py-base58/PLIST | 16 | ||||
-rw-r--r-- | converters/py-base58/distinfo | 6 |
6 files changed, 56 insertions, 1 deletions
diff --git a/converters/Makefile b/converters/Makefile index b3cf953a2fe..a6bff944c1f 100644 --- a/converters/Makefile +++ b/converters/Makefile @@ -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-mbstring SUBDIR+= php-recode SUBDIR+= psiconv SUBDIR+= pstotext +SUBDIR+= py-base58 SUBDIR+= py-cairosvg SUBDIR+= py-chardet SUBDIR+= py-confusable_homoglyphs diff --git a/converters/py-base58/ALTERNATIVES b/converters/py-base58/ALTERNATIVES new file mode 100644 index 00000000000..82b45acea13 --- /dev/null +++ b/converters/py-base58/ALTERNATIVES @@ -0,0 +1 @@ +bin/base58 @PREFIX@/bin/base58-@PYVERSSUFFIX@ diff --git a/converters/py-base58/DESCR b/converters/py-base58/DESCR new file mode 100644 index 00000000000..c178589c51e --- /dev/null +++ b/converters/py-base58/DESCR @@ -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 --git a/converters/py-base58/Makefile b/converters/py-base58/Makefile new file mode 100644 index 00000000000..d39fccf52ac --- /dev/null +++ b/converters/py-base58/Makefile @@ -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 +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 --git a/converters/py-base58/PLIST b/converters/py-base58/PLIST new file mode 100644 index 00000000000..bcdf8ad5c50 --- /dev/null +++ b/converters/py-base58/PLIST @@ -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 --git a/converters/py-base58/distinfo b/converters/py-base58/distinfo new file mode 100644 index 00000000000..f7bdfe3951b --- /dev/null +++ b/converters/py-base58/distinfo @@ -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 |