[shedskin] update to new version and run testsuite
tomspur
tomspur at fedoraproject.org
Wed Jun 15 08:50:00 UTC 2011
commit 5ca2f5357d27d9a7ca2dbde2e65c0515f0d09830
Author: Thomas Spura <tomspur at fedoraproject.org>
Date: Wed Jun 15 10:48:51 2011 +0200
update to new version and run testsuite
.gitignore | 1 +
shedskin.spec | 18 ++++++++++++++++--
sources | 2 +-
3 files changed, 18 insertions(+), 3 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a83eaeb..70299e7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,2 +1,3 @@
/shedskin-0.7.tgz
/shedskin-0.7.1.tgz
+/shedskin-0.8.tgz
diff --git a/shedskin.spec b/shedskin.spec
index 52f4e4a..67a455b 100644
--- a/shedskin.spec
+++ b/shedskin.spec
@@ -1,5 +1,8 @@
+# add --without testsuite option, i.e. enable testsuite by default
+%bcond_without testsuite
+
Name: shedskin
-Version: 0.7.1
+Version: 0.8
Release: 1%{?dist}
Summary: Python to C++ compiler
@@ -8,7 +11,8 @@ Group: Development/Languages
# license. The Murmurhash implementation in builtin.cpp is bundled (noted
# below) and licensed MIT.
# Other files in shedskin/lib/ are MIT, rest GPLv3
-License: GPLv3 and (MIT and Python)
+# WTFPL: print_stacktrace function in shedskin/lib/builtin.hpp
+License: GPLv3 and (MIT and Python) and WTFPL
URL: http://code.google.com/p/shedskin/
Source0: http://shedskin.googlecode.com/files/shedskin-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -52,6 +56,12 @@ and used in larger Python programs.
rm -rf %{buildroot}
%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+
+%check
+%if %{with testsuite}
+%{__python} setup.py test
+%endif
+
%clean
rm -rf %{buildroot}
@@ -66,6 +76,10 @@ rm -rf %{buildroot}
%changelog
+* Wed Jun 15 2011 Thomas Spura <tomspur at fedoraproject.org> - 0.8-1
+- update to new version
+- run tests, when building
+
* Wed Feb 23 2011 Thomas Spura <tomspur at fedoraproject.org> - 0.7.1-1
- update to new version
diff --git a/sources b/sources
index db54be7..06f281c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-412de0bf26d009ed7b91b8aaf6a17951 shedskin-0.7.1.tgz
+05eba0a3221f8eb2d38ff3d600e60692 shedskin-0.8.tgz
More information about the scm-commits
mailing list