diff options
author | adam <adam@pkgsrc.org> | 2020-07-12 17:50:29 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2020-07-12 17:50:29 +0000 |
commit | 617dcf07d068187d189ec5d4ce684bc5c1f928d7 (patch) | |
tree | 28599fa80b8bcfada7aa5e5d56abbbd942f30b18 /math | |
parent | 9b71d496d776d29c9f5489c8f6c76da21729fc8f (diff) | |
download | pkgsrc-617dcf07d068187d189ec5d4ce684bc5c1f928d7.tar.gz |
py-roman: updated to 3.3
3.3:
- added support for Python 3.9
- added CLI command ``roman`` with ``-r/--reverse`` to convert back from Roman
- added simple usage instructions
Diffstat (limited to 'math')
-rw-r--r-- | math/py-roman/ALTERNATIVES | 1 | ||||
-rw-r--r-- | math/py-roman/Makefile | 8 | ||||
-rw-r--r-- | math/py-roman/PLIST | 4 | ||||
-rw-r--r-- | math/py-roman/distinfo | 10 |
4 files changed, 15 insertions, 8 deletions
diff --git a/math/py-roman/ALTERNATIVES b/math/py-roman/ALTERNATIVES new file mode 100644 index 00000000000..672dbb935f3 --- /dev/null +++ b/math/py-roman/ALTERNATIVES @@ -0,0 +1 @@ +bin/roman @PREFIX@/bin/roman-@PYVERSSUFFIX@ diff --git a/math/py-roman/Makefile b/math/py-roman/Makefile index a7a94e126eb..990247c2250 100644 --- a/math/py-roman/Makefile +++ b/math/py-roman/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.11 2019/04/25 12:41:20 adam Exp $ +# $NetBSD: Makefile,v 1.12 2020/07/12 17:50:29 adam Exp $ -DISTNAME= roman-3.2 +DISTNAME= roman-3.3 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= math python MASTER_SITES= ${MASTER_SITE_PYPI:=r/roman/} @@ -14,5 +14,9 @@ CONFLICTS+= ${PYPKGPREFIX}-docutils<=0.7 USE_LANGUAGES= # none +post-install: + cd ${DESTDIR}${PREFIX}/bin && \ + ${MV} roman roman-${PYVERSSUFFIX} || ${TRUE} + .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk" diff --git a/math/py-roman/PLIST b/math/py-roman/PLIST index 4b2d385a884..a01a976aa1c 100644 --- a/math/py-roman/PLIST +++ b/math/py-roman/PLIST @@ -1,7 +1,9 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2011/10/05 07:43:12 obache Exp $ +@comment $NetBSD: PLIST,v 1.2 2020/07/12 17:50:29 adam Exp $ +bin/roman-${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}/top_level.txt ${PYSITELIB}/${EGG_INFODIR}/zip-safe ${PYSITELIB}/roman.py diff --git a/math/py-roman/distinfo b/math/py-roman/distinfo index 9e42bfa03ef..658365f3634 100644 --- a/math/py-roman/distinfo +++ b/math/py-roman/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.7 2019/04/25 12:41:20 adam Exp $ +$NetBSD: distinfo,v 1.8 2020/07/12 17:50:29 adam Exp $ -SHA1 (roman-3.2.tar.gz) = 76e3ed7c233f685a0c0d23ef2afc99bd7467fa41 -RMD160 (roman-3.2.tar.gz) = 2e67286345ec1021dd28fac57d18c7fb119180a0 -SHA512 (roman-3.2.tar.gz) = 142904551745c8b7874d52c8d04f483b0c18b18ba8bc3d3a51fcf509e09b3a3f8a28d0b88bdd8282957bf3d698b1bab86de7fb4808cde9b0e5cfb910deca35ab -Size (roman-3.2.tar.gz) = 7156 bytes +SHA1 (roman-3.3.tar.gz) = 716387d7af54547effe785124c2c69e7ab0a7ca2 +RMD160 (roman-3.3.tar.gz) = 793b600babe15e5cc811f9eb9fe2fe931378a180 +SHA512 (roman-3.3.tar.gz) = 8d2952640519052ce629a3881cb871448fc7921eb5f45525305c43ef9fb2672062d0ca96ab16d7aaa95f5eebcad028fdcf519f224f3631734fbb6a4a314f3a49 +Size (roman-3.3.tar.gz) = 7577 bytes |