pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc Remove py-matplotlib-tk -- the tk backend is not suppo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3f510302bfc7
branches:  trunk
changeset: 629440:3f510302bfc7
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Jan 21 10:53:21 2014 +0000

description:
Remove py-matplotlib-tk -- the tk backend is not supported in the
latest release.

diffstat:

 doc/CHANGES-2014                           |   3 +-
 graphics/Makefile                          |   3 +-
 graphics/py-matplotlib-tk/DESCR            |  12 ------
 graphics/py-matplotlib-tk/Makefile         |  41 ----------------------
 graphics/py-matplotlib-tk/PLIST            |   2 -
 graphics/py-matplotlib-tk/distinfo         |   7 ---
 graphics/py-matplotlib-tk/patches/patch-aa |  49 --------------------------
 graphics/py-matplotlib-tk/patches/patch-ab |  55 ------------------------------
 8 files changed, 3 insertions(+), 169 deletions(-)

diffs (221 lines):

diff -r 45ba6d4c6fdc -r 3f510302bfc7 doc/CHANGES-2014
--- a/doc/CHANGES-2014  Tue Jan 21 10:45:31 2014 +0000
+++ b/doc/CHANGES-2014  Tue Jan 21 10:53:21 2014 +0000
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES-2014,v 1.357 2014/01/21 10:45:31 wiz Exp $
+$NetBSD: CHANGES-2014,v 1.358 2014/01/21 10:53:21 wiz Exp $
 
 Changes to the packages collection and infrastructure in 2014:
 
@@ -430,3 +430,4 @@
        Removed devel/py-ipython012 [wiz 2014-01-21]
        Updated devel/py-libmc to 1.2.3nb1 [wiz 2014-01-21]
        Updated audio/py-libmtag to 0.3.1 [wiz 2014-01-21]
+       Removed graphics/py-matplotlib-tk [wiz 2014-01-21]
diff -r 45ba6d4c6fdc -r 3f510302bfc7 graphics/Makefile
--- a/graphics/Makefile Tue Jan 21 10:45:31 2014 +0000
+++ b/graphics/Makefile Tue Jan 21 10:53:21 2014 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.670 2014/01/19 20:30:49 wiz Exp $
+# $NetBSD: Makefile,v 1.671 2014/01/21 10:53:21 wiz Exp $
 #
 
 COMMENT=       Graphics tools and libraries
@@ -391,7 +391,6 @@
 SUBDIR+=       py-imagingtk
 SUBDIR+=       py-matplotlib
 SUBDIR+=       py-matplotlib-gtk2
-SUBDIR+=       py-matplotlib-tk
 SUBDIR+=       py-nwdiag
 SUBDIR+=       py-piddle
 SUBDIR+=       py-pycha
diff -r 45ba6d4c6fdc -r 3f510302bfc7 graphics/py-matplotlib-tk/DESCR
--- a/graphics/py-matplotlib-tk/DESCR   Tue Jan 21 10:45:31 2014 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-matplotlib is a pure python plotting library designed to bring
-publication quality plotting to python with a syntax familiar to
-matlab users.  A lot progress towards this goal has been made since
-the first release of matplotlib, the library does produce high quality
-2D plots.  All of the plotting commands can be accessed either via a
-functional interface familiar to matlab users or an object oriented
-interface familiar to python users, and several high resolution output
-formats are supported.
-
-This package contains the Tk driver for matplotlib.
-
-Tutorial: http://matplotlib.sourceforge.net/tutorial.html
diff -r 45ba6d4c6fdc -r 3f510302bfc7 graphics/py-matplotlib-tk/Makefile
--- a/graphics/py-matplotlib-tk/Makefile        Tue Jan 21 10:45:31 2014 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-# $NetBSD: Makefile,v 1.22 2014/01/11 14:42:04 adam Exp $
-
-DISTNAME=              matplotlib-1.2.1
-PKGNAME=               ${PYPKGPREFIX}-matplotlib-tk-1.2.1
-PKGREVISION=           1
-CATEGORIES=            graphics python
-MASTER_SITES=          https://github.com/downloads/matplotlib/matplotlib/
-FETCH_USING=           curl
-
-MAINTAINER=            pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=              http://matplotlib.sourceforge.net/
-COMMENT=               Tk frontend for matplotlib
-
-DEPENDS+=              ${PYPKGPREFIX}-Tk-[0-9]*:../../x11/py-Tk
-
-USE_TOOLS+=            pkg-config
-PY_PATCHPLIST=         yes
-PYDISTUTILSPKG=                yes
-USE_LANGUAGES=         c c++
-
-post-patch:
-       ( ${ECHO} "[directories]"; \
-       ${ECHO} "basedirlist=/usr"; \
-       ${ECHO} "[provide_packages]"; \
-       ${ECHO} "pytz = False"; \
-       ${ECHO} "dateutil = False"; \
-       ${ECHO} "[gui_support]"; \
-       ${ECHO} "gtk = False"; \
-       ${ECHO} "gtkagg = False"; \
-       ${ECHO} "tkagg = True"; \
-       ${ECHO} "wxagg = False"; \
-       ${ECHO} "macosx = False" ) > ${WRKSRC}/setup.cfg
-
-.include "../../lang/python/extension.mk"
-.include "../../graphics/py-matplotlib/buildlink3.mk"
-.include "../../devel/zlib/buildlink3.mk"
-.include "../../graphics/freetype2/buildlink3.mk"
-.include "../../graphics/png/buildlink3.mk"
-.include "../../math/py-numpy/buildlink3.mk"
-.include "../../x11/tk/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff -r 45ba6d4c6fdc -r 3f510302bfc7 graphics/py-matplotlib-tk/PLIST
--- a/graphics/py-matplotlib-tk/PLIST   Tue Jan 21 10:45:31 2014 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,2 +0,0 @@
-@comment $NetBSD: PLIST,v 1.1.1.1 2009/05/14 13:54:13 he Exp $
-${PYSITELIB}/matplotlib/backends/_tkagg.so
diff -r 45ba6d4c6fdc -r 3f510302bfc7 graphics/py-matplotlib-tk/distinfo
--- a/graphics/py-matplotlib-tk/distinfo        Tue Jan 21 10:45:31 2014 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,7 +0,0 @@
-$NetBSD: distinfo,v 1.11 2013/07/24 11:13:56 drochner Exp $
-
-SHA1 (matplotlib-1.2.1.tar.gz) = 82fc44d0047a713c1b0b1b4ea2503e6a41c57f98
-RMD160 (matplotlib-1.2.1.tar.gz) = c27142f1d6665bc6a748f601558045e7d801dbef
-Size (matplotlib-1.2.1.tar.gz) = 38446200 bytes
-SHA1 (patch-aa) = 7ff4d7f4bbd9a2b19b839f92e0a7b568db4d4fb9
-SHA1 (patch-ab) = d6b69b74d74a67c90b09f821ffe7da8eec79a855
diff -r 45ba6d4c6fdc -r 3f510302bfc7 graphics/py-matplotlib-tk/patches/patch-aa
--- a/graphics/py-matplotlib-tk/patches/patch-aa        Tue Jan 21 10:45:31 2014 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-$NetBSD: patch-aa,v 1.7 2012/12/17 11:52:43 drochner Exp $
-
---- setupext.py.orig   2012-11-06 22:31:09.000000000 +0000
-+++ setupext.py
-@@ -108,13 +108,13 @@ options = {'display_status': True,
-            'provide_pytz': 'auto',
-            'provide_dateutil': 'auto',
-            'provide_six': 'auto',
--           'build_agg': True,
-+           'build_agg': False,
-            'build_gtk': 'auto',
-            'build_gtkagg': 'auto',
-            'build_tkagg': 'auto',
-            'build_macosx': 'auto',
--           'build_image': True,
--           'build_windowing': True,
-+           'build_image': False,
-+           'build_windowing': False,
-            'backend': None,
-            'basedirlist': None}
- 
-@@ -218,12 +218,7 @@ sysconfig.customize_compiler = my_custom
- 
- 
- def run_child_process(cmd):
--    p = subprocess.Popen(cmd, shell=True,
--                         stdin=subprocess.PIPE,
--                         stdout=subprocess.PIPE,
--                         stderr=subprocess.STDOUT,
--                         close_fds=(sys.platform != 'win32'))
--    return p.stdin, p.stdout
-+    return None, os.popen(cmd + " 2>&1")
- 
- class CleanUpFile:
-     """CleanUpFile deletes the specified filename when self is destroyed."""
-@@ -379,11 +374,8 @@ def check_for_libpng():
-     return True
- 
- def add_base_flags(module):
--    incdirs = filter(os.path.exists,
--                     [os.path.join(p, 'include') for p in basedirlist ])
--    libdirs = filter(os.path.exists,
--                     [os.path.join(p, 'lib')     for p in basedirlist ]+
--                     [os.path.join(p, 'lib64')     for p in basedirlist ] )
-+    incdirs = [os.path.join(os.environ['LOCALBASE'], 'include')]
-+    libdirs = [os.path.join(os.environ['LOCALBASE'], 'lib')]
- 
-     module.include_dirs.extend(incdirs)
-     module.include_dirs.append('.')
diff -r 45ba6d4c6fdc -r 3f510302bfc7 graphics/py-matplotlib-tk/patches/patch-ab
--- a/graphics/py-matplotlib-tk/patches/patch-ab        Tue Jan 21 10:45:31 2014 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,55 +0,0 @@
-$NetBSD: patch-ab,v 1.7 2013/07/24 11:13:56 drochner Exp $
-
---- setup.py.orig      2013-03-26 13:04:37.000000000 +0000
-+++ setup.py
-@@ -141,12 +141,12 @@ if not check_for_numpy(__version__numpy_
- if not check_for_freetype():
-     sys.exit(1)
- 
--build_ft2font(ext_modules, packages)
--build_ttconv(ext_modules, packages)
--build_contour(ext_modules, packages)
--build_delaunay(ext_modules, packages)
--build_path(ext_modules, packages)
--build_tri(ext_modules, packages)
-+#build_ft2font(ext_modules, packages)
-+#build_ttconv(ext_modules, packages)
-+#build_contour(ext_modules, packages)
-+#build_delaunay(ext_modules, packages)
-+#build_path(ext_modules, packages)
-+#build_tri(ext_modules, packages)
- 
- print_raw("")
- print_raw("OPTIONAL BACKEND DEPENDENCIES")
-@@ -176,13 +176,13 @@ if options['build_tkagg']:
-         build_tkagg(ext_modules, packages)
-         rc['backend'] = 'TkAgg'
- 
--hasgtk = check_for_gtk()
-+hasgtk = 1
- if options['build_gtk']:
-     if hasgtk or (options['build_gtk'] is True):
-         build_gdk(ext_modules, packages)
- if options['build_gtkagg']:
-     if hasgtk or (options['build_gtkagg'] is True):
--        options['build_agg'] = 1
-+        options['build_agg'] = 0
-         build_gtkagg(ext_modules, packages)
-         rc['backend'] = 'GTKAgg'
- 
-@@ -323,12 +323,12 @@ distrib = setup(name="matplotlib",
-       which emulates matlab graphics
-       """,
-       download_url="https://downloads.sourceforge.net/project/matplotlib/matplotlib/matplotlib-{0}/matplotlib-{0}.tar.gz".format(__version__),
--      packages = packages,
-+#      packages = packages,
-       platforms='any',
--      py_modules = py_modules,
-+#      py_modules = py_modules,
-       ext_modules = ext_modules,
-       package_dir = package_dir,
--      package_data = package_data,
-+#      package_data = package_data,
-       classifiers = classifiers,
-       cmdclass = {'build_py': build_py},
-       **additional_params



Home | Main Index | Thread Index | Old Index