diff --git a/lupa-1.9.tar.gz b/lupa-1.9.tar.gz new file mode 100644 index 0000000000000000000000000000000000000000..1b259e4c7366b420bbe2fbe29296c6f1640f66b8 Binary files /dev/null and b/lupa-1.9.tar.gz differ diff --git a/python-lupa.spec b/python-lupa.spec new file mode 100644 index 0000000000000000000000000000000000000000..ebf88af322851b791ed8a55547eb066bf41bcd83 --- /dev/null +++ b/python-lupa.spec @@ -0,0 +1,59 @@ +%global srcname lupa + +%global _description\ +Lupa integrates the run-times of Lua or LuaJIT2 into CPython. It is a\ +partial rewrite of LunaticPython in Cython with some additional features\ +such as proper co-routine support. + +Name: python-%{srcname} +Version: 1.9 +Release: 1 +Summary: Python wrapper around Lua and LuaJIT + +License: MIT +URL: https://pypi.python.org/pypi/lupa +#Source0: https://github.com/scoder/{srcname}/archive/{srcname}-{version}/{srcname}-{srcname}-{version}.tar.gz +Source0: lupa-1.9.tar.gz + +BuildRequires: gcc +BuildRequires: lua-devel + +%description %_description + +%package -n python3-%{srcname} +Summary: %{summary} +BuildRequires: python3-devel +BuildRequires: python3-Cython +BuildRequires: python3-setuptools +%{?python_provide:%python_provide python3-%{srcname}} + +%description -n python3-%{srcname} %_description + + +%prep +%autosetup -n %{srcname}-%{srcname}-%{version} + + +%build +%py3_build + + +%install +%py3_install + + +%check +# %python3 setup.py test + + +%files -n python3-%{srcname} +%license LICENSE.txt +%doc README.rst CHANGES.rst INSTALL.rst +%{python3_sitearch}/%{srcname}/ +%{python3_sitearch}/%{srcname}-*.egg-info + + +%changelog +* Thu Jul 8 2021 chenjian - 1.9-1 +- Init package +