pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/py-roman



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Jul 12 17:50:29 UTC 2020

Modified Files:
        pkgsrc/math/py-roman: Makefile PLIST distinfo
Added Files:
        pkgsrc/math/py-roman: ALTERNATIVES

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/math/py-roman/ALTERNATIVES
cvs rdiff -u -r1.11 -r1.12 pkgsrc/math/py-roman/Makefile
cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/math/py-roman/PLIST
cvs rdiff -u -r1.7 -r1.8 pkgsrc/math/py-roman/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/math/py-roman/Makefile
diff -u pkgsrc/math/py-roman/Makefile:1.11 pkgsrc/math/py-roman/Makefile:1.12
--- pkgsrc/math/py-roman/Makefile:1.11  Thu Apr 25 12:41:20 2019
+++ pkgsrc/math/py-roman/Makefile       Sun Jul 12 17:50:29 2020
@@ -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"

Index: pkgsrc/math/py-roman/PLIST
diff -u pkgsrc/math/py-roman/PLIST:1.1.1.1 pkgsrc/math/py-roman/PLIST:1.2
--- pkgsrc/math/py-roman/PLIST:1.1.1.1  Wed Oct  5 07:43:12 2011
+++ pkgsrc/math/py-roman/PLIST  Sun Jul 12 17:50:29 2020
@@ -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

Index: pkgsrc/math/py-roman/distinfo
diff -u pkgsrc/math/py-roman/distinfo:1.7 pkgsrc/math/py-roman/distinfo:1.8
--- pkgsrc/math/py-roman/distinfo:1.7   Thu Apr 25 12:41:20 2019
+++ pkgsrc/math/py-roman/distinfo       Sun Jul 12 17:50:29 2020
@@ -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

Added files:

Index: pkgsrc/math/py-roman/ALTERNATIVES
diff -u /dev/null pkgsrc/math/py-roman/ALTERNATIVES:1.1
--- /dev/null   Sun Jul 12 17:50:29 2020
+++ pkgsrc/math/py-roman/ALTERNATIVES   Sun Jul 12 17:50:29 2020
@@ -0,0 +1 @@
+bin/roman @PREFIX@/bin/roman-@PYVERSSUFFIX@



Home | Main Index | Thread Index | Old Index