From e14270b78a4818d421a1d33e2018b242d1095b5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 4 Aug 2023 15:02:02 +0200 Subject: [PATCH] Sync from SUSE:ALP:Source:Standard:1.0 python-lupa revision 165c1bac2ecc16fd182952f24acb167c --- .gitattributes | 23 ++++++++++ lupa-1.14.1.tar.gz | 3 ++ python-lupa.changes | 103 ++++++++++++++++++++++++++++++++++++++++++++ python-lupa.spec | 71 ++++++++++++++++++++++++++++++ 4 files changed, 200 insertions(+) create mode 100644 .gitattributes create mode 100644 lupa-1.14.1.tar.gz create mode 100644 python-lupa.changes create mode 100644 python-lupa.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /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/lupa-1.14.1.tar.gz b/lupa-1.14.1.tar.gz new file mode 100644 index 0000000..a33b4ca --- /dev/null +++ b/lupa-1.14.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d0fd4e60ad149fe25c90530e2a0e032a42a6f0455f29ca0edb8170d6ec751c6e +size 1061109 diff --git a/python-lupa.changes b/python-lupa.changes new file mode 100644 index 0000000..84401fb --- /dev/null +++ b/python-lupa.changes @@ -0,0 +1,103 @@ +------------------------------------------------------------------- +Fri Aug 4 11:45:42 UTC 2023 - Matej Cepl + +- Synchronize architectures where luajit is Required with those + where it is build (riscv64 ppc64 ppc64le s390x). + +------------------------------------------------------------------- +Sat Jun 10 17:17:28 UTC 2023 - ecsos + +- Add %{?sle15_python_module_pythons} + +------------------------------------------------------------------- +Sat Dec 3 17:43:41 UTC 2022 - Yogalakshmi Arunachalam + +- Update to version 1.14.1 + * Rebuild with Cython 0.29.32 to support Python 3.11. + +------------------------------------------------------------------- +Tue Oct 18 17:10:06 UTC 2022 - Sarah Kriesch + +- No upstream LuaJIT on s390x + +------------------------------------------------------------------- +Thu Sep 29 15:01:40 UTC 2022 - Yogalakshmi Arunachalam + +- Update to 1.13 (2022-03-01) + * Bundled Lua source files were missing in the source distribution. + +------------------------------------------------------------------- +Mon Feb 21 09:05:32 UTC 2022 - Andreas Schneider + +- Fix BR for luajit (Leap 15.3 only offers moonjit) + +------------------------------------------------------------------- +Mon Feb 21 08:57:02 UTC 2022 - Andreas Schneider + +- Skip building for python2 + +------------------------------------------------------------------- +Wed Dec 29 00:48:53 UTC 2021 - Matej Cepl + +- Adjust BuildRequires for lua + +------------------------------------------------------------------- +Sun Dec 12 15:54:42 UTC 2021 - Ben Greiner + +- Update to 1.10 + * GH#147: Lua 5.4 is supported. (patch by Russel Davis) + * The runtime version of the Lua library as a tuple (e.g. (5,3)) + is provided via lupa.LUA_VERSION and LuaRuntime.lua_version. + * The Lua implementation name and version string is provided as + LuaRuntime.lua_implementation. + * setup.py accepts new command line arguments --lua-lib and + --lua-includes to specify the + * Use Lua 5.4.3 in binary wheels and as bundled Lua. + * Built with Cython 0.29.24 to support Python 3.9. +- Also successfully builds and tests on python310 +- Update to pkgconfig(lua5.4) + +------------------------------------------------------------------- +Thu Jul 1 14:56:37 UTC 2021 - Andreas Schwab + +- Force use of lua5.1, lua5.4 is not supported + +------------------------------------------------------------------- +Tue May 25 09:45:01 UTC 2021 - pgajdos@suse.com + +- %check: use %pyunittest_arch rpm macro + +------------------------------------------------------------------- +Thu Jan 7 16:28:30 UTC 2021 - Matej Cepl + +- Remove third-party/ bundled application, use the system ones + (bsc#1167557). + +------------------------------------------------------------------- +Sat Mar 21 18:05:45 UTC 2020 - Andreas Schwab + +- No LuaJIT on riscv64 + +------------------------------------------------------------------- +Thu Mar 5 13:50:57 UTC 2020 - pgajdos@suse.com + +- version update to 1.9 + * Build against Lua 5.3 if available. + * GH#129: Fix Lua module loading in Python 3.x. + * GH#126: Fix build on Linux systems that install Lua as "lua52" package. + +------------------------------------------------------------------- +Tue Dec 10 20:52:28 CET 2019 - Matej Cepl + +- Use pkgconf instead of directly defining required development + packages. + +------------------------------------------------------------------- +Tue Dec 10 10:34:01 UTC 2019 - Tomáš Chvátal + +- Fix dependency on the luajit to pull any implementation + +------------------------------------------------------------------- +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..a59a48b --- /dev/null +++ b/python-lupa.spec @@ -0,0 +1,71 @@ +# +# spec file for package python-lupa +# +# Copyright (c) 2023 SUSE LLC +# +# 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/ +# + + +%{?sle15_python_module_pythons} +Name: python-lupa +Version: 1.14.1 +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: pkgconfig +BuildRequires: python-rpm-macros +BuildRequires: pkgconfig(lua) +Suggests: lua +%if 0%{suse_version} >= 1550 || 0%{?sle_version} >= 150400 +# Synchronized with archs where luajit is build +%ifnarch riscv64 ppc64 ppc64le s390x +BuildRequires: pkgconfig(luajit) +%endif +Recommends: luajit +# /suse_version +%endif +%python_subpackages + +%description +Python wrapper around Lua and LuaJIT. + +%prep +%autosetup -p1 -n lupa-%{version} + +rm -rf third-party/ + +%build +export CFLAGS="-fno-strict-aliasing %{optflags}" +%python_build + +%install +%python_install +%python_expand %fdupes %{buildroot}%{$python_sitearch} + +%check +mv lupa/tests . +mv lupa lupa.hide +%pyunittest_arch discover -v + +%files %{python_files} +%doc CHANGES.rst README.rst +%license LICENSE.txt +%{python_sitearch}/* + +%changelog