[python-theano] New upstream release. Drop upstreamed -import patch.

Jerry James jjames at fedoraproject.org
Sun Dec 8 05:41:36 UTC 2013


commit bfed893c45077534986ed516787abe21bf853077
Author: Jerry James <loganjerry at gmail.com>
Date:   Sat Dec 7 22:41:23 2013 -0700

    New upstream release.
    Drop upstreamed -import patch.

 .gitignore                 |    2 +-
 badge.png                  |  Bin 1892 -> 1893 bytes
 badge2.png                 |  Bin 1719 -> 1683 bytes
 python-theano-doc.patch    |   32 ++++++++++----------------------
 python-theano-import.patch |   10 ----------
 python-theano.spec         |   23 ++++++++++++-----------
 sources                    |    4 ++--
 7 files changed, 25 insertions(+), 46 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b330a49..8577337 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,2 @@
-/Theano-0.6.0rc3.tar.gz
 /Theano-missing.tar.xz
+/Theano-0.6.0.tar.gz
diff --git a/badge.png b/badge.png
index 4eb3bec..a52082a 100644
Binary files a/badge.png and b/badge.png differ
diff --git a/badge2.png b/badge2.png
index 71de86d..c2f56e0 100644
Binary files a/badge2.png and b/badge2.png differ
diff --git a/python-theano-doc.patch b/python-theano-doc.patch
index 385379f..3e2223b 100644
--- a/python-theano-doc.patch
+++ b/python-theano-doc.patch
@@ -1,30 +1,18 @@
---- ./MANIFEST.in.orig	2013-02-14 08:52:51.000000000 -0700
-+++ ./MANIFEST.in	2013-07-16 11:43:02.508559835 -0600
-@@ -2,7 +2,7 @@ global-include *.txt
- global-include *.cu
+--- ./MANIFEST.in.orig	2013-12-03 10:47:16.000000000 -0700
++++ ./MANIFEST.in	2013-12-07 13:00:00.000000000 -0700
+@@ -4,7 +4,7 @@ global-include *.cu
  global-include *.cuh
  global-include *.sh
+ global-include *.pkl
 -recursive-include docs
 +recursive-include docs *
  include bin/theano-cache
  include bin/theano-nose
  include bin/theano-test
---- ./doc/NEWS.txt.orig	2013-02-14 08:52:51.000000000 -0700
-+++ ./doc/NEWS.txt	2013-07-16 11:43:02.508559835 -0600
-@@ -337,8 +337,7 @@ Speed up:
-  * Faster rng_mrg Python code. (mostly used for tests) (Frederic B.)
+--- ./doc/tutorial/using_gpu.txt.orig	2013-12-03 10:47:22.000000000 -0700
++++ ./doc/tutorial/using_gpu.txt	2013-12-07 13:00:00.000000000 -0700
+@@ -561,7 +561,7 @@ Modify and execute to work for a matrix
  
- Speed up GPU:
-- * Convolution on the GPU now checks the generation of the card to make
--   it faster in some cases (especially medium/big ouput image) (Frederic B.)
-+ * Convolution on the GPU now checks the generation of the card to make it faster in some cases (especially medium/big ouput image) (Frederic B.)
-      * We had hardcoded 512 as the maximum number of threads per block. Newer cards
-        support up to 1024 threads per block.
-  * Faster GpuAdvancedSubtensor1, GpuSubtensor, GpuAlloc (Frederic B.)
---- ./doc/tutorial/using_gpu.txt.orig	2013-02-14 08:52:55.000000000 -0700
-+++ ./doc/tutorial/using_gpu.txt	2013-07-16 11:43:02.509559834 -0600
-@@ -562,7 +562,7 @@ Modify and execute to work for a matrix
- -------------------------------------------
  
  
 -.. _pyCUDA_theano:
@@ -32,9 +20,9 @@
  
  **Example: Theano + PyCUDA**
  
---- ./theano/sandbox/cuda/basic_ops.py.orig	2013-02-14 08:52:55.000000000 -0700
-+++ ./theano/sandbox/cuda/basic_ops.py	2013-07-16 11:44:32.819511698 -0600
-@@ -1127,8 +1127,10 @@ class GpuCAReduce(GpuOp):
+--- ./theano/sandbox/cuda/basic_ops.py.orig	2013-12-03 10:47:22.000000000 -0700
++++ ./theano/sandbox/cuda/basic_ops.py	2013-12-07 13:00:00.000000000 -0700
+@@ -1168,8 +1168,10 @@ class GpuCAReduce(GpuOp):
  
      def c_code_reduce_01X(self, sio, node, name, x, z, fail, N):
          """
diff --git a/python-theano.spec b/python-theano.spec
index cfcdbc9..df2c4f2 100644
--- a/python-theano.spec
+++ b/python-theano.spec
@@ -1,14 +1,14 @@
 %global pkgname Theano
-%global rctag rc3
+#%%global rctag rc3
 
 Name:           python-theano
 Version:        0.6.0
-Release:        0.1%{?rctag:.%{rctag}}%{?dist}
+Release:        1%{?rctag:.%{rctag}}%{?dist}
 Summary:        Mathematical expressions involving multidimensional arrays
 
 License:        BSD
 URL:            http://deeplearning.net/software/theano/
-Source0:        https://pypi.python.org/packages/source/T/%{pkgname}/%{pkgname}-%{version}%{rctag}.tar.gz
+Source0:        https://pypi.python.org/packages/source/T/%{pkgname}/%{pkgname}-%{version}%{?rctag:.%{rctag}}.tar.gz
 # Files from git that were omitted from the release
 Source1:        %{pkgname}-missing.tar.xz
 # Images used when building documentation
@@ -20,8 +20,6 @@ Source4:        badge2.png
 
 # Fix some documentation bugs
 Patch0:         %{name}-doc.patch
-# Insert a missing import
-Patch1:         %{name}-import.patch
 
 BuildArch:      noarch
 
@@ -66,10 +64,9 @@ Summary:        Theano documentation
 User documentation for Theano.
 
 %prep
-%setup -q -n %{pkgname}-%{version}%{rctag}
-%setup -q -n %{pkgname}-%{version}%{rctag} -T -D -a 1
+%setup -q -n %{pkgname}-%{version}%{?rctag:.%{rctag}}
+%setup -q -n %{pkgname}-%{version}%{?rctag:.%{rctag}} -T -D -a 1
 %patch0
-%patch1
 
 # Don't use non-local images when building documentation
 cp -p %{SOURCE2} %{SOURCE3} %{SOURCE4} doc/images
@@ -83,7 +80,7 @@ rm -fr %{pkgname}.egg-info
 
 # Remove the shebang from a non-executable Python file
 for fil in theano/sandbox/neighbourhoods.py; do
-  sed '1,2d' $fil > $fil.new
+  sed '1d' $fil > $fil.new
   touch -r $fil $fil.new
   mv -f $fil.new $fil
 done
@@ -115,8 +112,8 @@ chmod a+x $(find %{buildroot} -name \*.py -o -name \*.sh | xargs grep -l '^#!')
 # Theano's self tests currently fail one test.  Enable this once upstream has
 # fixed the problem.
 #
-# %%check
-# PYTHONPATH=$PWD bin/theano-test
+#%%check
+#PYTHONPATH=$PWD bin/theano-test
 
 %files
 %doc doc/LICENSE.txt DESCRIPTION.txt HISTORY.txt NEWS.txt README.txt
@@ -127,6 +124,10 @@ chmod a+x $(find %{buildroot} -name \*.py -o -name \*.sh | xargs grep -l '^#!')
 %doc html
 
 %changelog
+* Sat Dec  7 2013 Jerry James <loganjerry at gmail.com> - 0.6.0-1
+- New upstream release
+- Drop upstreamed -import patch
+
 * Mon Oct 21 2013 Jerry James <loganjerry at gmail.com> - 0.6.0-0.1.rc3
 - Add the -import patch to fix an exception
 - Add more files to the base package docs
diff --git a/sources b/sources
index 838c923..4cae233 100644
--- a/sources
+++ b/sources
@@ -1,2 +1,2 @@
-f91672d298029b4620c582ab6e52129e  Theano-0.6.0rc3.tar.gz
-61e656087f374a0f5b0facd7a3356b0c  Theano-missing.tar.xz
+44df6c476d8012290a2d5bb66611126a  Theano-0.6.0.tar.gz
+efb79e98a7da72a91132f8c53e54c567  Theano-missing.tar.xz


More information about the scm-commits mailing list