File tinypy.spec of Package tinypy

%global debug_package %{nil}

Name:               tinypy
Version:            1.1
Release:            2.24
Summary:            Minimalist Implementation of Python
Source:   {version}.tar.gz
Group:              Development/Languages/Python
License:            MIT
BuildRequires:      python-devel
BuildRequires:      gcc make glibc-devel pkgconfig

tinypy includes a whole heap of features:
- parser and bytecode compiler written in tinypy
- fully bootstrapped
- luaesque virtual machine with garbage collection written in C
- it's "stackless" sans any "stackless" features
- cross-platform :) it runs under windows / linux / macosx
- a fairly decent subset of python
  * classes and single inheritance
  * functions with variable or keyword arguments
  * strings, lists, dicts, numbers
  * modules, list comprehensions
  * exceptions with full traceback
  * some builtins

%setup -q

python linux math

install -D -m0755 build/tinypy %{buildroot}%{_bindir}/tinypy

rm -rf %{buildroot}

%doc *.txt examples

* Sun Jan 27 2013 Huaren Zhong <> 1.1
- Rebuild for Fedora
* Sun Oct 23 2011
- initial version (1.1)