Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/py-roman py-roman: updated to 3.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f140a6372e66
branches:  trunk
changeset: 435697:f140a6372e66
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Jul 12 17:50:29 2020 +0000

description:
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:

 math/py-roman/ALTERNATIVES |   1 +
 math/py-roman/Makefile     |   8 ++++++--
 math/py-roman/PLIST        |   4 +++-
 math/py-roman/distinfo     |  10 +++++-----
 4 files changed, 15 insertions(+), 8 deletions(-)

diffs (56 lines):

diff -r aa38cbc06e0b -r f140a6372e66 math/py-roman/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/math/py-roman/ALTERNATIVES        Sun Jul 12 17:50:29 2020 +0000
@@ -0,0 +1,1 @@
+bin/roman @PREFIX@/bin/roman-@PYVERSSUFFIX@
diff -r aa38cbc06e0b -r f140a6372e66 math/py-roman/Makefile
--- a/math/py-roman/Makefile    Sun Jul 12 17:47:25 2020 +0000
+++ b/math/py-roman/Makefile    Sun Jul 12 17:50:29 2020 +0000
@@ -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 @@
 
 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 -r aa38cbc06e0b -r f140a6372e66 math/py-roman/PLIST
--- a/math/py-roman/PLIST       Sun Jul 12 17:47:25 2020 +0000
+++ b/math/py-roman/PLIST       Sun Jul 12 17:50:29 2020 +0000
@@ -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 -r aa38cbc06e0b -r f140a6372e66 math/py-roman/distinfo
--- a/math/py-roman/distinfo    Sun Jul 12 17:47:25 2020 +0000
+++ b/math/py-roman/distinfo    Sun Jul 12 17:50:29 2020 +0000
@@ -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



Home | Main Index | Thread Index | Old Index