pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/py-pycha py-pycha: update to 0.8.1.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3fbebbb3001a
branches:  trunk
changeset: 424490:3fbebbb3001a
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Mar 11 20:17:12 2020 +0000

description:
py-pycha: update to 0.8.1.

0.8.1 (2019-11-17)
---------------------
- Forgot to update Changelog for 0.8.0

0.8.0 (2019-11-17)
---------------------
- Add support for Python 3 by encukou
- Add support for Tox, Pyflakes, Coverage and Buildbucket pipelines
- Remove support for Buildout

diffstat:

 graphics/py-pycha/ALTERNATIVES                 |   1 +
 graphics/py-pycha/Makefile                     |  12 ++++----
 graphics/py-pycha/PLIST                        |  20 ++++++++-----
 graphics/py-pycha/distinfo                     |  11 ++++---
 graphics/py-pycha/patches/patch-chavier_gui.py |  37 ++++++++++++++++++++++++++
 5 files changed, 62 insertions(+), 19 deletions(-)

diffs (134 lines):

diff -r 6e09f5c87ab9 -r 3fbebbb3001a graphics/py-pycha/ALTERNATIVES
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-pycha/ALTERNATIVES    Wed Mar 11 20:17:12 2020 +0000
@@ -0,0 +1,1 @@
+bin/chavier @PREFIX@/bin/chavier-@PYVERSSUFFIX@
diff -r 6e09f5c87ab9 -r 3fbebbb3001a graphics/py-pycha/Makefile
--- a/graphics/py-pycha/Makefile        Wed Mar 11 20:13:46 2020 +0000
+++ b/graphics/py-pycha/Makefile        Wed Mar 11 20:17:12 2020 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.19 2019/11/02 22:38:03 rillig Exp $
+# $NetBSD: Makefile,v 1.20 2020/03/11 20:17:12 wiz Exp $
 
-DISTNAME=      pycha-0.7.0
+DISTNAME=      pycha-0.8.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    graphics python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pycha/}
@@ -10,13 +10,13 @@
 COMMENT=       Library for making charts with Python
 LICENSE=       gnu-lgpl-v3
 
-DEPENDS+=      ${PYPKGPREFIX}-gtk2-[0-9]*:../../x11/py-gtk2
-DEPENDS+=      ${PYPKGPREFIX}-cairo-[0-9]*:../../graphics/py-cairo
+DEPENDS+=      ${PYPKGPREFIX}-cairocffi-[0-9]*:../../graphics/py-cairocffi
+DEPENDS+=      ${PYPKGPREFIX}-six-[0-9]*:../../lang/py-six
 
 USE_LANGUAGES= #none
 
-PYTHON_SELF_CONFLICT=          yes
-PYTHON_VERSIONS_ACCEPTED=      27 # py-gtk2
+post-install:
+       ${MV} ${DESTDIR}${PREFIX}/bin/chavier ${DESTDIR}${PREFIX}/bin/chavier-${PYVERSSUFFIX} || ${TRUE}
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 6e09f5c87ab9 -r 3fbebbb3001a graphics/py-pycha/PLIST
--- a/graphics/py-pycha/PLIST   Wed Mar 11 20:13:46 2020 +0000
+++ b/graphics/py-pycha/PLIST   Wed Mar 11 20:17:12 2020 +0000
@@ -1,5 +1,12 @@
-@comment $NetBSD: PLIST,v 1.2 2014/06/25 07:35:11 richard Exp $
-bin/chavier
+@comment $NetBSD: PLIST,v 1.3 2020/03/11 20:17:12 wiz Exp $
+bin/chavier-${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}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/${EGG_INFODIR}/zip-safe
 ${PYSITELIB}/chavier/__init__.py
 ${PYSITELIB}/chavier/__init__.pyc
 ${PYSITELIB}/chavier/__init__.pyo
@@ -12,12 +19,6 @@
 ${PYSITELIB}/chavier/gui.py
 ${PYSITELIB}/chavier/gui.pyc
 ${PYSITELIB}/chavier/gui.pyo
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
-${PYSITELIB}/${EGG_INFODIR}/zip-safe
 ${PYSITELIB}/pycha/__init__.py
 ${PYSITELIB}/pycha/__init__.pyc
 ${PYSITELIB}/pycha/__init__.pyo
@@ -30,6 +31,9 @@
 ${PYSITELIB}/pycha/color.py
 ${PYSITELIB}/pycha/color.pyc
 ${PYSITELIB}/pycha/color.pyo
+${PYSITELIB}/pycha/compat.py
+${PYSITELIB}/pycha/compat.pyc
+${PYSITELIB}/pycha/compat.pyo
 ${PYSITELIB}/pycha/line.py
 ${PYSITELIB}/pycha/line.pyc
 ${PYSITELIB}/pycha/line.pyo
diff -r 6e09f5c87ab9 -r 3fbebbb3001a graphics/py-pycha/distinfo
--- a/graphics/py-pycha/distinfo        Wed Mar 11 20:13:46 2020 +0000
+++ b/graphics/py-pycha/distinfo        Wed Mar 11 20:17:12 2020 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.4 2015/11/03 21:34:17 agc Exp $
+$NetBSD: distinfo,v 1.5 2020/03/11 20:17:12 wiz Exp $
 
-SHA1 (pycha-0.7.0.tar.gz) = a03b5d2a8ac35e21d8db3d3c2135e1b3245757ef
-RMD160 (pycha-0.7.0.tar.gz) = fb79e48bfcc8871f6b527f9a11df0a2ad860f481
-SHA512 (pycha-0.7.0.tar.gz) = 98b53651b7c4a8390cded41eed87113635c8f81ec8ec34455ba530ca69bac3b7140273111f13eba1080510b459ec546571813081ac2ba215fc924a3c1069c8f6
-Size (pycha-0.7.0.tar.gz) = 41570 bytes
+SHA1 (pycha-0.8.1.tar.gz) = 1126f3515469444b52d7b70b184412fd20e3a11c
+RMD160 (pycha-0.8.1.tar.gz) = 99e3883f6529c029ef37267fcd3f2fe5c4e85c8c
+SHA512 (pycha-0.8.1.tar.gz) = d4d173004c9c0ac7db73631c6ac380c6fdef54a3d245dde9ebc32c9fa6f3cd27b486d10e725ee45598605324b63809687ba41de5cb4fbe591bc5cb09241f6be5
+Size (pycha-0.8.1.tar.gz) = 43399 bytes
 SHA1 (patch-chavier_app.py) = 11f3e5d310772fc8bf5c8eba48a5e9b9acdbcc1f
+SHA1 (patch-chavier_gui.py) = 838bee4214c8940c39e59efffce5d196a89ce3a8
diff -r 6e09f5c87ab9 -r 3fbebbb3001a graphics/py-pycha/patches/patch-chavier_gui.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/py-pycha/patches/patch-chavier_gui.py    Wed Mar 11 20:17:12 2020 +0000
@@ -0,0 +1,37 @@
+$NetBSD: patch-chavier_gui.py,v 1.1 2020/03/11 20:17:12 wiz Exp $
+
+Convert to python3 syntax.
+
+--- chavier/gui.py.orig        2011-08-08 19:23:18.000000000 +0000
++++ chavier/gui.py
+@@ -523,18 +523,18 @@ class GUI(object):
+ 
+         alloc = self.drawing_area.get_allocation()
+ 
+-        print 'CHART STATE'
+-        print '-' * 70
+-        print 'surface: %d x %d' % (alloc.width, alloc.height)
+-        print 'area   :', self.chart.area
+-        print
+-        print 'minxval:', self.chart.minxval
+-        print 'maxxval:', self.chart.maxxval
+-        print 'xrange :', self.chart.xrange
+-        print
+-        print 'minyval:', self.chart.minyval
+-        print 'maxyval:', self.chart.maxyval
+-        print 'yrange :', self.chart.yrange
++        print('CHART STATE')
++        print('-' * 70)
++        print('surface: %d x %d' % (alloc.width, alloc.height))
++        print('area   :', self.chart.area)
++        prin()
++        print('minxval:', self.chart.minxval)
++        print('maxxval:', self.chart.maxxval)
++        print('xrange :', self.chart.xrange)
++        print()
++        print('minyval:', self.chart.minyval)
++        print('maxyval:', self.chart.maxyval)
++        print('yrange :', self.chart.yrange)
+ 
+     def about(self, action=None):
+         dialog = AboutDialog(self.main_window)



Home | Main Index | Thread Index | Old Index