commit 77604d5d8fbe163199d157ae7608fbac972062d1d07b0e72b54506e58a196fab Author: Matej Cepl Date: Tue Feb 19 12:13:26 2019 +0000 Accepting request 677289 from home:jayvdb:django - Initial spec for v1.8 OBS-URL: https://build.opensuse.org/request/show/677289 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/lupa-1.8.tar.gz b/lupa-1.8.tar.gz new file mode 100644 index 0000000..537d6f4 --- /dev/null +++ b/lupa-1.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f55781c9ab8fab77aa438481067a72da0b04849e2790a4e80d3c9bc77d7f8e53 +size 1013207 diff --git a/python-lupa.changes b/python-lupa.changes new file mode 100644 index 0000000..dc82a10 --- /dev/null +++ b/python-lupa.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +Sat Feb 16 16:23:10 UTC 2019 - John Vandenberg + +- Initial spec for v1.8 diff --git a/python-lupa.spec b/python-lupa.spec new file mode 100644 index 0000000..f8ceae8 --- /dev/null +++ b/python-lupa.spec @@ -0,0 +1,60 @@ +# +# spec file for package python-lupa +# +# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +Name: python-lupa +Version: 1.8 +Release: 0 +Summary: Python wrapper around Lua and LuaJIT +License: MIT +Group: Development/Languages/Python +URL: https://github.com/scoder/lupa +Source: https://files.pythonhosted.org/packages/source/l/lupa/lupa-%{version}.tar.gz +BuildRequires: %{python_module devel} +BuildRequires: %{python_module setuptools} +BuildRequires: fdupes +BuildRequires: lua-devel +BuildRequires: lua51-luajit-devel +BuildRequires: python-rpm-macros +Recommends: lua51-luajit +Suggests: lua +%python_subpackages + +%description +Python wrapper around Lua and LuaJIT. + +%prep +%setup -q -n lupa-%{version} + +%build +export CFLAGS="-fno-strict-aliasing %{optflags}" +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} + +%check +%python_exec setup.py test + +%files %{python_files} +%doc CHANGES.rst README.rst +%license LICENSE.txt +%{python_sitearch}/* + +%changelog