|
|
5ca2f53 |
# add --without testsuite option, i.e. enable testsuite by default
|
|
|
5ca2f53 |
%bcond_without testsuite
|
|
|
5ca2f53 |
|
|
|
863d402 |
Name: shedskin
|
|
Thomas Spura |
7bf1590 |
Version: 0.9.4
|
|
|
407b890 |
Release: 11%{?dist}
|
|
|
863d402 |
Summary: Python to C++ compiler
|
|
|
863d402 |
|
|
|
863d402 |
# The dict implementation in shedskin/lib/builtin.cpp is under the Python
|
|
|
863d402 |
# license. The Murmurhash implementation in builtin.cpp is bundled (noted
|
|
|
863d402 |
# below) and licensed MIT.
|
|
|
863d402 |
# Other files in shedskin/lib/ are MIT, rest GPLv3
|
|
|
5ca2f53 |
# WTFPL: print_stacktrace function in shedskin/lib/builtin.hpp
|
|
|
5ca2f53 |
License: GPLv3 and (MIT and Python) and WTFPL
|
|
|
863d402 |
URL: http://code.google.com/p/shedskin/
|
|
|
863d402 |
Source0: http://shedskin.googlecode.com/files/shedskin-%{version}.tgz
|
|
|
863d402 |
|
|
|
863d402 |
BuildArch: noarch
|
|
|
863d402 |
BuildRequires: python2-devel
|
|
|
dadd62a |
BuildRequires: python2-setuptools
|
|
|
863d402 |
|
|
|
3c5efa9 |
# Required for running the testsuite:
|
|
|
3c5efa9 |
BuildRequires: gc-devel
|
|
Thomas Spura |
7bf1590 |
BuildRequires: gcc-c++
|
|
|
3c5efa9 |
BuildRequires: pcre-devel
|
|
|
3c5efa9 |
|
|
|
cf62a62 |
# Require all devel packages for making a binary
|
|
|
cf62a62 |
# <gc/gc_allocator.h>
|
|
|
cf62a62 |
Requires: gc-devel
|
|
|
cf62a62 |
# <sys/types.h>
|
|
Thomas Spura |
7bf1590 |
Requires: gcc-c++
|
|
|
cf62a62 |
# <pcre.h>
|
|
|
cf62a62 |
Requires: pcre-devel
|
|
|
cf62a62 |
# <Python.h>
|
|
|
dadd62a |
Requires: python2-devel
|
|
|
cf62a62 |
|
|
|
863d402 |
# murmurhash is bundled in shedskin/lib/buildin.cpp as a hash function
|
|
|
863d402 |
# http://sites.google.com/site/murmurhash/
|
|
|
863d402 |
# fpc exception granted at:
|
|
|
863d402 |
# https://fedorahosted.org/fpc/ticket/39
|
|
|
863d402 |
Provides: bundled(murmurhash) = 2
|
|
|
863d402 |
|
|
|
863d402 |
%description
|
|
|
863d402 |
Shed Skin is an experimental compiler, that can translate pure, but
|
|
|
863d402 |
implicitly statically typed Python programs into optimized C++. It can
|
|
|
863d402 |
generate stand-alone programs or extension modules, that can be imported
|
|
|
863d402 |
and used in larger Python programs.
|
|
|
863d402 |
|
|
|
863d402 |
|
|
|
863d402 |
%prep
|
|
|
863d402 |
%setup -q -n %{name}-%{version}
|
|
|
863d402 |
|
|
|
863d402 |
|
|
|
863d402 |
%build
|
|
|
e3d2d25 |
%py2_build
|
|
|
863d402 |
|
|
|
863d402 |
|
|
|
863d402 |
%install
|
|
|
863d402 |
rm -rf %{buildroot}
|
|
|
1226dfe |
%py2_install
|
|
|
863d402 |
|
|
|
5ca2f53 |
|
|
|
5ca2f53 |
%check
|
|
|
5ca2f53 |
%if %{with testsuite}
|
|
|
397e05a |
%{__python2} setup.py test
|
|
|
5ca2f53 |
%endif
|
|
|
5ca2f53 |
|
|
|
863d402 |
|
|
|
863d402 |
|
|
|
863d402 |
%files
|
|
Thomas Spura |
a5dc0e4 |
%doc LICENSE README doc/
|
|
|
863d402 |
%{_bindir}/shedskin
|
|
|
98dfe65 |
%{python2_sitelib}/shedskin/
|
|
|
98dfe65 |
%{python2_sitelib}/shedskin-*.egg-info
|
|
|
863d402 |
|
|
|
863d402 |
|
|
|
863d402 |
%changelog
|
|
|
407b890 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.4-11
|
|
|
407b890 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
407b890 |
|
|
|
355080e |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.4-10
|
|
|
355080e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
355080e |
|
|
|
5b0e1eb |
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.4-9
|
|
|
5b0e1eb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
5b0e1eb |
|
|
|
dadd62a |
* Wed Feb 14 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.9.4-8
|
|
|
dadd62a |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
dadd62a |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
dadd62a |
|
|
|
bcc3f6f |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.4-7
|
|
|
bcc3f6f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
bcc3f6f |
|
|
|
6c82320 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.4-6
|
|
|
6c82320 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
6c82320 |
|
|
|
2132a2b |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.4-5
|
|
|
2132a2b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
2132a2b |
|
|
|
1927bc4 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.4-4
|
|
|
1927bc4 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
1927bc4 |
|
|
|
cb2e396 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.4-3
|
|
|
cb2e396 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
cb2e396 |
|
|
|
c38dbf7 |
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.4-2
|
|
|
c38dbf7 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
c38dbf7 |
|
|
Thomas Spura |
7bf1590 |
* Thu Jun 11 2015 Thomas Spura <tomspur@fedoraproject.org> - 0.9.4-1
|
|
Thomas Spura |
0a6ace7 |
- BR gcc-c++ instead of glibc-headers (#1230497)
|
|
Thomas Spura |
7bf1590 |
|
|
|
6820883 |
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-6
|
|
|
6820883 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
6820883 |
|
|
|
01f5d52 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-5
|
|
|
01f5d52 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
01f5d52 |
|
|
|
d638a8f |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-4
|
|
|
d638a8f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
d638a8f |
|
|
|
461286e |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-3
|
|
|
461286e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
461286e |
|
|
|
a70e881 |
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9-2
|
|
|
a70e881 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
a70e881 |
|
|
Thomas Spura |
a5dc0e4 |
* Mon Sep 12 2011 Thomas Spura <tomspur@fedoraproject.org> - 0.9-1
|
|
Thomas Spura |
a5dc0e4 |
- update to new version
|
|
Thomas Spura |
a5dc0e4 |
|
|
|
5ca2f53 |
* Wed Jun 15 2011 Thomas Spura <tomspur@fedoraproject.org> - 0.8-1
|
|
|
5ca2f53 |
- update to new version
|
|
|
5ca2f53 |
- run tests, when building
|
|
|
5ca2f53 |
|
|
|
1dabe71 |
* Wed Feb 23 2011 Thomas Spura <tomspur@fedoraproject.org> - 0.7.1-1
|
|
|
1dabe71 |
- update to new version
|
|
|
1dabe71 |
|
|
|
a566aa3 |
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7-4
|
|
|
a566aa3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
a566aa3 |
|
|
|
cf62a62 |
* Sat Dec 25 2010 Thomas Spura <tomspur@fedoraproject.org> - 0.7-3
|
|
|
cf62a62 |
- add some missing Requires
|
|
|
cf62a62 |
|
|
|
863d402 |
* Thu Dec 16 2010 Thomas Spura <tomspur@fedoraproject.org> - 0.7-2
|
|
|
863d402 |
- fix license tag (thanks Toshio Ernie Kuratomi)
|
|
|
863d402 |
|
|
|
863d402 |
* Sun Dec 12 2010 Thomas Spura <tomspur@fedoraproject.org> - 0.7-1
|
|
|
863d402 |
- update to new version
|
|
|
863d402 |
|
|
|
863d402 |
* Wed Dec 1 2010 Thomas Spura <tomspur@fedoraproject.org> - 0.6-2
|
|
|
863d402 |
- provide bundled(murmurhash)
|
|
|
863d402 |
|
|
|
863d402 |
* Mon Nov 29 2010 Thomas Spura <tomspur@fedoraproject.org> - 0.6-1
|
|
|
863d402 |
- update to new version
|
|
|
863d402 |
|
|
|
863d402 |
* Sun Jun 20 2010 Thomas Spura <tomspur@fedoraproject.org> - 0.5-1
|
|
|
863d402 |
- update to new version
|
|
|
863d402 |
|
|
|
863d402 |
* Sun Mar 28 2010 Thomas Spura <tomspur@fedoraproject.org> - 0.4.0-1
|
|
|
863d402 |
- update to new version
|
|
|
863d402 |
|
|
|
863d402 |
* Mon Jan 18 2010 Thomas Spura <tomspur@fedoraproject.org> - 0.3.1-3
|
|
|
863d402 |
- make %%files more explicit
|
|
|
863d402 |
|
|
|
863d402 |
* Sat Jan 16 2010 Thomas Spura <tomspur@fedoraproject.org> - 0.3.1-2
|
|
|
863d402 |
- use GPLv3 and MIT as license
|
|
|
863d402 |
|
|
|
863d402 |
* Wed Jan 13 2010 Thomas Spura <tomspur@fedoraproject.org> - 0.3.1-1
|
|
|
863d402 |
- new version 0.3.1
|
|
|
863d402 |
|
|
|
863d402 |
* Sat Jan 09 2010 Thomas Spura <tomspur@fedoraproject.org> - 0.3-1
|
|
|
863d402 |
- initial spec for upcoming 0.3 version
|