[Python-modules-commits] r30633 - in packages/oct2py/trunk/debian (6 files)

noahfx-guest at users.alioth.debian.org noahfx-guest at users.alioth.debian.org
Mon Sep 15 17:41:16 UTC 2014


    Date: Monday, September 15, 2014 @ 17:41:16
  Author: noahfx-guest
Revision: 30633

Changes for upstream version 2.3.0

Modified:
  packages/oct2py/trunk/debian/changelog
  packages/oct2py/trunk/debian/control
  packages/oct2py/trunk/debian/copyright
  packages/oct2py/trunk/debian/patches/01-removes-plot-function.patch
  packages/oct2py/trunk/debian/patches/02-removes-install_requires.patch
  packages/oct2py/trunk/debian/rules

Modified: packages/oct2py/trunk/debian/changelog
===================================================================
--- packages/oct2py/trunk/debian/changelog	2014-09-15 14:42:33 UTC (rev 30632)
+++ packages/oct2py/trunk/debian/changelog	2014-09-15 17:41:16 UTC (rev 30633)
@@ -1,4 +1,4 @@
-oct2py (2.0-1) unstable; urgency=low
+oct2py (2.3.0-1) unstable; urgency=low
 
   * Initial release (Closes: #743499)
 

Modified: packages/oct2py/trunk/debian/control
===================================================================
--- packages/oct2py/trunk/debian/control	2014-09-15 14:42:33 UTC (rev 30632)
+++ packages/oct2py/trunk/debian/control	2014-09-15 17:41:16 UTC (rev 30633)
@@ -5,19 +5,19 @@
 Uploaders: Josue Ortega <josueortega at debian.org.gt>
 Build-Depends: debhelper (>= 9~),
  dh-python,
- python-setuptools(>= 2.0.2~),
- python-all (>= 2.6.6-3~),
- python-numpy (>= 1.6.0),
- python-scipy (>= 0.9.0),
- python-wheel (>= 0.23),
- ipython (>= 1.2.1~),
- python-nose (>= 1.3.0~),
+ python-setuptools(>= 5.5.1),
+ python-all (>= 2.7.8),
+ python-numpy (>= 1.8.2),
+ python-scipy (>= 0.14.0),
+ python-wheel (>= 0.24.0),
+ ipython (>= 2.2.0),
+ python-nose (>= 1.3.4),
  python3-all,
- python3-scipy (>= 0.13.3~),
- python3-numpy (>=1.8.1~),
- ipython3 (>= 1.2.1~),
- python3-nose (>= 1.3.1~),
- octave (>= 3.8.1)
+ python3-scipy (>= 0.14.0),
+ python3-numpy (>=1.8.2),
+ ipython3 (>= 2.2.0),
+ python3-nose (>= 1.3.4),
+ octave (>= 3.8.2)
 X-Python-Version: >= 2.6
 X-Python3-Version: >= 3.4
 Standards-Version: 3.9.5
@@ -30,8 +30,8 @@
 Pre-Depends: dpkg (>= 1.15.6~)
 Depends: ${misc:Depends},
  ${python:Depends},
- octave (>= 3.8.1)
-Suggests: ipython (>= 1.2.1~)
+ octave (>= 3.8.2)
+Suggests: ipython (>= 2.2.0)
 Description: Python to GNU Octave bridge --> run m-files from Python
  Oct2Py is a means to seamlessly call M-files and Octave functions from
  Python. It manages the Octave session for you, sharing data behind the
@@ -42,8 +42,8 @@
 Pre-Depends: dpkg (>= 1.15.6~)
 Depends: ${misc:Depends},
  ${python3:Depends},
-  octave (>= 3.8.1)
-Suggests: ipython3 (>= 1.2.1~)
+  octave (>= 3.8.2)
+Suggests: ipython3 (>= 2.2.0)
 Description: Python3 to GNU Octave bridge --> run m-files from Python
  Oct2Py is a means to seamlessly call M-files and Octave functions from
  Python. It manages the Octave session for you, sharing data behind the

Modified: packages/oct2py/trunk/debian/copyright
===================================================================
--- packages/oct2py/trunk/debian/copyright	2014-09-15 14:42:33 UTC (rev 30632)
+++ packages/oct2py/trunk/debian/copyright	2014-09-15 17:41:16 UTC (rev 30633)
@@ -3,7 +3,7 @@
 Source: http://blink1073.github.io/oct2py/docs/
 
 Files: *
-Copyright: 2012 - 2014 Steven Silves <steven.silvester at ieee.org>
+Copyright: 2012 - 2014 Steven Silvester <steven.silvester at ieee.org>
 License: MIT
 
 Files: debian/*

Modified: packages/oct2py/trunk/debian/patches/01-removes-plot-function.patch
===================================================================
--- packages/oct2py/trunk/debian/patches/01-removes-plot-function.patch	2014-09-15 14:42:33 UTC (rev 30632)
+++ packages/oct2py/trunk/debian/patches/01-removes-plot-function.patch	2014-09-15 17:41:16 UTC (rev 30633)
@@ -1,44 +1,42 @@
-Description: Since some tests require the use of X server this might cause a failure at
- the package building time if the enviroment lacks of X server. 
+Description: Since some tests require the use of X server this might cause a
+ failure at the package building time if the enviroment lacks of X server.
 Author: Josue Ortega <josueortega at debian.org.gt>
-Last-Update: 2014-09-07
+Last-Update: 2014-09-10
 
 --- a/oct2py/tests/test_misc.py
 +++ b/oct2py/tests/test_misc.py
-@@ -116,10 +116,10 @@
+@@ -118,11 +118,11 @@
          except TypeError:
              speed_check.speed_check()
  
 -    def test_plot(self):
--        n = self.oc.figure()
--        self.oc.plot([1, 2, 3])
--        self.oc.close(n)
-+#   def test_plot(self):
-+#       n = self.oc.figure()
-+#       self.oc.plot([1, 2, 3])
-+#       self.oc.close(n)
+-        plot_dir = tempfile.mkdtemp().replace('\\', '/')
+-        self.oc.plot([1, 2, 3], plot_dir=plot_dir)
+-        self.oc.close()
+-        assert glob.glob("%s/*" % plot_dir)
++#    def test_plot(self):
++#        plot_dir = tempfile.mkdtemp().replace('\\', '/')
++#        self.oc.plot([1, 2, 3], plot_dir=plot_dir)
++#        self.oc.close()
++#        assert glob.glob("%s/*" % plot_dir)
  
      def test_narg_out(self):
          s = self.oc.svd(np.array([[1, 2], [1, 3]]))
-
---- a/oct2py/ipython/tests/test_octavemagic.py
-+++ b/oct2py/ipython/tests/test_octavemagic.py
-@@ -50,12 +50,12 @@
-                           'z = x + y;')
-         npt.assert_array_equal(ip.user_ns['z'], [[4, 5]])
- 
--    def test_octave_plot(self):
--        magic = self.ip.find_cell_magic('octave').__self__
--        magic._publish_display_data = self.verify_publish_data
--        self.ip.run_cell_magic('octave', '-f svg -s 400,500',
--            'plot([1, 2, 3]); figure; plot([4, 5, 6]);')
--        npt.assert_equal(self.svgs_generated, 2)
-+#   def test_octave_plot(self):
-+#       magic = self.ip.find_cell_magic('octave').__self__
-+#       magic._publish_display_data = self.verify_publish_data
-+#       self.ip.run_cell_magic('octave', '-f svg -s 400,500',
-+#           'plot([1, 2, 3]); figure; plot([4, 5, 6]);')
-+#       npt.assert_equal(self.svgs_generated, 2)
- 
-     def verify_publish_data(self, source, data):
-         if 'image/svg+xml' in data:
+--- a/oct2py/tests/test_usage.py
++++ b/oct2py/tests/test_usage.py
+@@ -118,9 +118,9 @@
+     def test_octave_error(self):
+         self.assertRaises(Oct2PyError, self.oc.eval, 'a = ones2(1)')
+ 
+-    def test_keyword_arguments(self):
+-        self.oc.set(0, DefaultFigureColor='b')
+-        plot_dir = tempfile.mkdtemp().replace('\\', '/')
+-        self.oc.plot([1, 2, 3], linewidth=3, plot_dir=plot_dir)
+-        self.oc.close()
+-        assert glob.glob("%s/*" % plot_dir)
++#    def test_keyword_arguments(self):
++#        self.oc.set(0, DefaultFigureColor='b')
++#        plot_dir = tempfile.mkdtemp().replace('\\', '/')
++#        self.oc.plot([1, 2, 3], linewidth=3, plot_dir=plot_dir)
++#        self.oc.close()
++#        assert glob.glob("%s/*" % plot_dir)

Modified: packages/oct2py/trunk/debian/patches/02-removes-install_requires.patch
===================================================================
--- packages/oct2py/trunk/debian/patches/02-removes-install_requires.patch	2014-09-15 14:42:33 UTC (rev 30632)
+++ packages/oct2py/trunk/debian/patches/02-removes-install_requires.patch	2014-09-15 17:41:16 UTC (rev 30633)
@@ -1,7 +1,7 @@
-Description: Removes install_requires in order to avoid the authomatic instalation
- from third party package managers like pypi.
+Description: Removes install_requires in order to avoid the authomatic 
+ instalation from third party package managers like pypi.
 Author: Josue Ortega <josueortega at debian.org.gt>
-Last-Update: 2014-09-07
+Last-Update: 2014-09-10
 
 --- a/setup.py
 +++ b/setup.py
@@ -9,6 +9,6 @@
      description=DESCRIPTION,
      long_description=LONG_DESCRIPTION,
      classifiers=filter(None, CLASSIFIERS.split('\n')),
--    install_requires=REQUIRES
-+#    install_requires=REQUIRES
+-    requires=REQUIRES
++#    requires=REQUIRES
   )

Modified: packages/oct2py/trunk/debian/rules
===================================================================
--- packages/oct2py/trunk/debian/rules	2014-09-15 14:42:33 UTC (rev 30632)
+++ packages/oct2py/trunk/debian/rules	2014-09-15 17:41:16 UTC (rev 30633)
@@ -10,9 +10,3 @@
 
 override_dh_installchangelogs:
 	dh_installchangelogs HISTORY.rst
-
-#override_dh_auto_test:
-# redirects output to /dev/null since nosetests run terminal pagers with
-# the function docstrings
-#	python2 -m unittest discover -v > /dev/null
-#	python3 -m unittest discover -v > /dev/null




More information about the Python-modules-commits mailing list