[Python-modules-commits] r30962 - in packages/oct2py/trunk/debian (2 files)

noahfx-guest at users.alioth.debian.org noahfx-guest at users.alioth.debian.org
Thu Oct 9 04:59:28 UTC 2014


    Date: Thursday, October 9, 2014 @ 04:59:27
  Author: noahfx-guest
Revision: 30962

Updated to latest upstream version

Modified:
  packages/oct2py/trunk/debian/changelog
  packages/oct2py/trunk/debian/patches/01-removes-plot-function.patch

Modified: packages/oct2py/trunk/debian/changelog
===================================================================
--- packages/oct2py/trunk/debian/changelog	2014-10-08 21:55:47 UTC (rev 30961)
+++ packages/oct2py/trunk/debian/changelog	2014-10-09 04:59:27 UTC (rev 30962)
@@ -1,5 +1,5 @@
-oct2py (2.3.0-1) unstable; urgency=low
+oct2py (2.4.0-1) unstable; urgency=low
 
   * Initial release (Closes: #743499)
 
- -- Josue Ortega <josueortega at debian.org.gt>  Sat, 23 Aug 2014 10:45:28 -0600
+ -- Josue Ortega <josueortega at debian.org.gt>  Wed, 08 Oct 2014 10:45:28 -0600

Modified: packages/oct2py/trunk/debian/patches/01-removes-plot-function.patch
===================================================================
--- packages/oct2py/trunk/debian/patches/01-removes-plot-function.patch	2014-10-08 21:55:47 UTC (rev 30961)
+++ packages/oct2py/trunk/debian/patches/01-removes-plot-function.patch	2014-10-09 04:59:27 UTC (rev 30962)
@@ -1,7 +1,7 @@
 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-10
+Last-Update: 2014-10-08
 
 --- a/oct2py/tests/test_misc.py
 +++ b/oct2py/tests/test_misc.py
@@ -22,9 +22,10 @@
  
      def test_narg_out(self):
          s = self.oc.svd(np.array([[1, 2], [1, 3]]))
+
 --- a/oct2py/tests/test_usage.py
 +++ b/oct2py/tests/test_usage.py
-@@ -118,9 +118,9 @@
+@@ -125,9 +125,9 @@
      def test_octave_error(self):
          self.assertRaises(Oct2PyError, self.oc.eval, 'a = ones2(1)')
  
@@ -40,24 +41,25 @@
 +#        self.oc.plot([1, 2, 3], linewidth=3, plot_dir=plot_dir)
 +#        self.oc.close()
 +#        assert glob.glob("%s/*" % plot_dir)
+
 --- 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:
+                           '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:




More information about the Python-modules-commits mailing list