public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-lupa] rawhide: Update to 2.8
@ 2026-06-23 10:35 
  0 siblings, 0 replies; only message in thread
From:  @ 2026-06-23 10:35 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-lupa
            Branch : rawhide
            Commit : 3e7f76270e7d5713c19f483e2153f43a81d8a301
            Author : Miro Hrončok <miro@hroncok.cz>
            Date   : 2026-06-23T10:49:35+02:00
            Stats  : +6/-20 in 4 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-lupa/c/3e7f76270e7d5713c19f483e2153f43a81d8a301?branch=rawhide

            Log:
            Update to 2.8

Also, drop a patch that needed rebasing and was not actually necessary.

---
diff --git a/.gitignore b/.gitignore
index c280807..710a2c7 100644
--- a/.gitignore
+++ b/.gitignore
@@ -3,3 +3,4 @@
 /lupa-2.4.tar.gz
 /lupa-2.5.tar.gz
 /lupa-2.6.tar.gz
+/lupa-2.8.tar.gz

diff --git a/lupa-default-to-no-bundle.diff b/lupa-default-to-no-bundle.diff
deleted file mode 100644
index d7f23eb..0000000
--- a/lupa-default-to-no-bundle.diff
+++ /dev/null
@@ -1,13 +0,0 @@
---- a/setup.py
-+++ b/setup.py
-@@ -350,8 +350,8 @@ if has_option('--with-lua-dlopen'):
- 
- 
- # find Lua
--option_no_bundle = has_option('--no-bundle')
--option_use_bundle = has_option('--use-bundle')
-+option_no_bundle = True
-+option_use_bundle = False
- option_no_luajit = has_option('--no-luajit')
- 
- configs = get_lua_build_from_arguments()

diff --git a/python-lupa.spec b/python-lupa.spec
index c6d094f..94ad320 100644
--- a/python-lupa.spec
+++ b/python-lupa.spec
@@ -16,16 +16,13 @@ such as proper co-routine support.
 %endif
 
 Name:           python-lupa
-Version:        2.6
+Version:        2.8
 Release:        %autorelease
 Summary:        Python wrapper around Lua and LuaJIT
 
 License:        MIT
 URL:            https://pypi.python.org/pypi/lupa
 Source:         https://github.com/scoder/lupa/archive/lupa-%{version}/lupa-%{version}.tar.gz
-# this could be passed via command line options or envvar if we're invoking setup.py directly
-# but we're not
-Patch:          lupa-default-to-no-bundle.diff
 
 BuildRequires:  gcc
 %if %{with luajit}
@@ -50,9 +47,10 @@ BuildRequires:  python3-setuptools
 
 %prep
 %autosetup -n lupa-lupa-%{version} -p1
+rm -r third-party/
 %if %{with old_cython}
 for f in pyproject.toml requirements.txt; do
-  sed -i 's|Cython>=3.1.6|Cython>=3.1.3|' $f
+  sed -i 's|Cython>=3.2.4|Cython>=3.1.3|' $f
 done
 %endif
 
@@ -62,7 +60,7 @@ done
 
 
 %build
-%pyproject_wheel
+%pyproject_wheel -C--global-option=--no-bundle
 
 
 %install

diff --git a/sources b/sources
index 186db19..bfcdb86 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (lupa-2.6.tar.gz) = 24d9908a7b0dd6f703301b45c40544d951c1605056ce4e3c76787351cb8fb0c600b1f31099f2805c42d9f3733fe3dbe579706bdb3f76b19b2e69f00ff1d00f02
+SHA512 (lupa-2.8.tar.gz) = 6f290e31603356b9910deb708392575e993fe8a1b61820dda4823f69ab04b7e08c8d7dd452c3582028fac6faa19a1082c46c8e46b9d7a6bb263739dd92e8b569

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-06-23 10:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-23 10:35 [rpms/python-lupa] rawhide: Update to 2.8 

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox