From 61eb93cd8546d83d665f37ecf8d2a53ebd16018d Mon Sep 17 00:00:00 2001 From: Thomas Spura Date: Dec 16 2010 23:22:53 +0000 Subject: Initial commit (#554187) --- diff --git a/.gitignore b/.gitignore index e69de29..8e070de 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/shedskin-0.7.tgz diff --git a/shedskin.spec b/shedskin.spec new file mode 100644 index 0000000..9dcd947 --- /dev/null +++ b/shedskin.spec @@ -0,0 +1,87 @@ +Name: shedskin +Version: 0.7 +Release: 2%{?dist} +Summary: Python to C++ compiler + +Group: Development/Languages +# The dict implementation in shedskin/lib/builtin.cpp is under the Python +# 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) +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) + +BuildArch: noarch +BuildRequires: python2-devel +BuildRequires: python-setuptools + +# murmurhash is bundled in shedskin/lib/buildin.cpp as a hash function +# http://sites.google.com/site/murmurhash/ +# fpc exception granted at: +# https://fedorahosted.org/fpc/ticket/39 +Provides: bundled(murmurhash) = 2 + +%description +Shed Skin is an experimental compiler, that can translate pure, but +implicitly statically typed Python programs into optimized C++. It can +generate stand-alone programs or extension modules, that can be imported +and used in larger Python programs. + + +%prep +%setup -q -n %{name}-%{version} + + +%build +%{__python} setup.py build + + +%install +rm -rf %{buildroot} +%{__python} setup.py install -O1 --skip-build --root %{buildroot} + + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc LICENSE README.html +%{_bindir}/shedskin +%{python_sitelib}/shedskin/ +%{python_sitelib}/shedskin-*.egg-info + + +%changelog +* Thu Dec 16 2010 Thomas Spura - 0.7-2 +- fix license tag (thanks Toshio Ernie Kuratomi) + +* Sun Dec 12 2010 Thomas Spura - 0.7-1 +- update to new version + +* Wed Dec 1 2010 Thomas Spura - 0.6-2 +- provide bundled(murmurhash) + +* Mon Nov 29 2010 Thomas Spura - 0.6-1 +- update to new version + +* Sun Jun 20 2010 Thomas Spura - 0.5-1 +- update to new version + +* Sun Mar 28 2010 Thomas Spura - 0.4.0-1 +- update to new version + +* Mon Jan 18 2010 Thomas Spura - 0.3.1-3 +- make %%files more explicit + +* Sat Jan 16 2010 Thomas Spura - 0.3.1-2 +- use GPLv3 and MIT as license + +* Wed Jan 13 2010 Thomas Spura - 0.3.1-1 +- new version 0.3.1 + +* Sat Jan 09 2010 Thomas Spura - 0.3-1 +- initial spec for upcoming 0.3 version diff --git a/sources b/sources index e69de29..231efe9 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +0cd084152d8d2ddd719bf79572804e22 shedskin-0.7.tgz