Commit Graph

35 Commits

Author SHA256 Message Date
Ana Guerrero
b32de0aaf6 Accepting request 1118276 from devel:languages:python
- Add upstream patches to built with Cython 3.0.3:
  - Add no-bundle.patch gh#scoder/lupa@19279acda1ad
  - Add noexcept.patch gh#scoder/lupa@fc0a1af99b74
- Update to 2.0:
  - GH#217: Lua stack traces in Python exception messages are now
    reversed to match the order of Python stack traces.
  - GH#196: Lupa now ships separate extension modules built with Lua
    5.3, Lua 5.4, LuaJIT 2.0 and LuaJIT 2.1 beta. Note that this is
    build specific and may depend on the platform. A normal Python
    import cascade can be used.
  - GH#211: A new option max_memory allows to limit the memory usage
    of Lua code. (patch by Leo Developer)
  - GH#171: Python references in Lua are now more safely reference
    counted to prevent garbage collection glitches. (patch by
    Guilherme Dantas)
  - GH#146: Lua integers in Lua 5.3+ are converted from and to Python
    integers. (patch by Guilherme Dantas)
  - GH#180: The python.enumerate() function now returns indices as
    integers if supported by Lua. (patch by Guilherme Dantas)
  - GH#178: The Lua integer limits can be read from the module as
    LUA_MAXINTEGER and LUA_MININTEGER. (patch by Guilherme Dantas)
  - GH#174: Failures while calling the __index method in Lua during a
    table index lookup from Python could crash Python. (patch by
    Guilherme Dantas)
  - GH#137: Passing None as a dict key into table_from() crashed.
    (patch by Leo Developer)
  - GH#176: A new function python.args(*args, **kwargs) was added to
    help with building Python argument tuples and keyword argument
    dicts for Python function calls from Lua code.
  - GH#177: Tables that are not sequences raise IndexError when
    unpacking them. Previously, non-sequential items were simply
    ignored.
  - GH#179: Resolve some C compiler warnings about signed/unsigned
    comparisons. (patch by Guilherme Dantas)
  - Built with Cython 0.29.34.

OBS-URL: https://build.opensuse.org/request/show/1118276
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=17
2023-10-19 20:47:12 +00:00
bb832bb077 - Add upstream patches to built with Cython 3.0.3:
- Add no-bundle.patch gh#scoder/lupa@19279acda1ad
  - Add noexcept.patch gh#scoder/lupa@fc0a1af99b74
- Update to 2.0:
  - GH#217: Lua stack traces in Python exception messages are now
    reversed to match the order of Python stack traces.
  - GH#196: Lupa now ships separate extension modules built with Lua
    5.3, Lua 5.4, LuaJIT 2.0 and LuaJIT 2.1 beta. Note that this is
    build specific and may depend on the platform. A normal Python
    import cascade can be used.
  - GH#211: A new option max_memory allows to limit the memory usage
    of Lua code. (patch by Leo Developer)
  - GH#171: Python references in Lua are now more safely reference
    counted to prevent garbage collection glitches. (patch by
    Guilherme Dantas)
  - GH#146: Lua integers in Lua 5.3+ are converted from and to Python
    integers. (patch by Guilherme Dantas)
  - GH#180: The python.enumerate() function now returns indices as
    integers if supported by Lua. (patch by Guilherme Dantas)
  - GH#178: The Lua integer limits can be read from the module as
    LUA_MAXINTEGER and LUA_MININTEGER. (patch by Guilherme Dantas)
  - GH#174: Failures while calling the __index method in Lua during a
    table index lookup from Python could crash Python. (patch by
    Guilherme Dantas)
  - GH#137: Passing None as a dict key into table_from() crashed.
    (patch by Leo Developer)
  - GH#176: A new function python.args(*args, **kwargs) was added to
    help with building Python argument tuples and keyword argument
    dicts for Python function calls from Lua code.
  - GH#177: Tables that are not sequences raise IndexError when

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=30
2023-10-17 10:17:44 +00:00
Dominique Leuenberger
0644302b18 Accepting request 1102379 from devel:languages:python
- Synchronize architectures where luajit is Required with those
  where it is build (riscv64 ppc64 ppc64le s390x).

OBS-URL: https://build.opensuse.org/request/show/1102379
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=16
2023-08-05 10:54:57 +00:00
77bdb01fcd - Synchronize architectures where luajit is Required with those
where it is build (riscv64 ppc64 ppc64le s390x).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=28
2023-08-04 11:46:10 +00:00
Dominique Leuenberger
08accf5388 Accepting request 1092248 from devel:languages:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092248
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=15
2023-06-12 13:24:45 +00:00
6ea6de04c8 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=26 2023-06-11 11:43:08 +00:00
5ef575ab74 Accepting request 1092106 from home:ecsos:python
- Add %{?sle15_python_module_pythons}

OBS-URL: https://build.opensuse.org/request/show/1092106
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=25
2023-06-11 11:42:42 +00:00
Dominique Leuenberger
394f92cb07 Accepting request 1039911 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1039911
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=14
2022-12-05 17:00:31 +00:00
9f55e5e33d Accepting request 1039853 from home:yarunachalam:branches:devel:languages:python
- Update to version 1.14.1 
  * Rebuild with Cython 0.29.32 to support Python 3.11.

OBS-URL: https://build.opensuse.org/request/show/1039853
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=23
2022-12-03 22:35:38 +00:00
Dominique Leuenberger
e65c042dcc Accepting request 1029884 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1029884
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=13
2022-10-20 09:09:34 +00:00
15b6394ba6 Accepting request 1029800 from home:AdaLovelace:branches:devel:languages:python
- No upstream LuaJIT on s390x

OBS-URL: https://build.opensuse.org/request/show/1029800
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=21
2022-10-18 22:28:49 +00:00
Dominique Leuenberger
78d51995ba Accepting request 1007069 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1007069
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=12
2022-10-03 11:44:08 +00:00
11e73f56ec Accepting request 1006994 from home:yarunachalam:branches:devel:languages:python
- Update to 1.13 (2022-03-01)
  * Bundled Lua source files were missing in the source distribution.

OBS-URL: https://build.opensuse.org/request/show/1006994
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=19
2022-09-29 19:02:00 +00:00
Dominique Leuenberger
5bbf54cb96 Accepting request 956623 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/956623
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=11
2022-02-23 15:25:42 +00:00
090354a569 Accepting request 956332 from home:gladiac:branches:devel:languages:python
- Fix BR for luajit (Leap 15.3 only offers moonjit)
- Skip building for python2

OBS-URL: https://build.opensuse.org/request/show/956332
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=18
2022-02-22 08:24:25 +00:00
Dominique Leuenberger
a01bdc104d Accepting request 943002 from devel:languages:python
- Adjust BuildRequires for lua

OBS-URL: https://build.opensuse.org/request/show/943002
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=10
2021-12-30 14:55:26 +00:00
06ea211ba0 - Adjust BuildRequires for lua
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=17
2021-12-29 00:49:03 +00:00
Dominique Leuenberger
caab9457d5 Accepting request 940346 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/940346
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=9
2021-12-16 20:19:32 +00:00
e92fdbda50 Accepting request 940098 from home:bnavigator:python-rpm-macros
- 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)

OBS-URL: https://build.opensuse.org/request/show/940098
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=16
2021-12-13 18:46:23 +00:00
Dominique Leuenberger
d8f4df0a76 Accepting request 903562 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/903562
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=8
2021-07-10 20:53:54 +00:00
a14f881499 Accepting request 903471 from openSUSE:Factory:RISCV
- Force use of lua5.1, lua5.4 is not supported

OBS-URL: https://build.opensuse.org/request/show/903471
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=15
2021-07-01 17:14:10 +00:00
Dominique Leuenberger
a5d758c1f0 Accepting request 895337 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/895337
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=7
2021-06-01 08:33:00 +00:00
6c785709b3 Accepting request 895319 from home:pgajdos:python
- %check: use %pyunittest_arch rpm macro

OBS-URL: https://build.opensuse.org/request/show/895319
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=13
2021-05-25 11:16:17 +00:00
Dominique Leuenberger
bdb6dea808 Accepting request 861403 from devel:languages:python
- Remove third-party/ bundled application, use the system ones
  (bsc#1167557).

OBS-URL: https://build.opensuse.org/request/show/861403
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=6
2021-01-11 16:08:08 +00:00
714ad1e1e1 - Remove third-party/ bundled application, use the system ones
(bsc#1167557).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=11
2021-01-07 16:31:33 +00:00
Dominique Leuenberger
9261ddb902 Accepting request 787215 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/787215
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=5
2020-03-26 23:28:15 +00:00
Tomáš Chvátal
2090470374 Accepting request 787170 from openSUSE:Factory:RISCV
- No LuaJIT on riscv64

OBS-URL: https://build.opensuse.org/request/show/787170
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=9
2020-03-22 07:43:39 +00:00
Dominique Leuenberger
4412c076dc Accepting request 781871 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/781871
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=4
2020-03-08 21:22:26 +00:00
Tomáš Chvátal
c91752763d Accepting request 781868 from home:pgajdos:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/781868
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=7
2020-03-05 14:02:24 +00:00
Dominique Leuenberger
1d540edf7b Accepting request 757623 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/757623
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=3
2019-12-23 21:38:39 +00:00
Dominique Leuenberger
90ca99bd8c Accepting request 755513 from devel:languages:python
- Fix dependency on the luajit to pull any implementation

OBS-URL: https://build.opensuse.org/request/show/755513
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=2
2019-12-11 11:04:16 +00:00
0ec79ea76d - Use pkgconf instead of directly defining required development
packages.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=4
2019-12-10 20:17:42 +00:00
Tomáš Chvátal
7cb343399c - Fix dependency on the luajit to pull any implementation
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-lupa?expand=0&rev=3
2019-12-10 10:34:18 +00:00
Dominique Leuenberger
67a912dea4 Accepting request 677348 from devel:languages:python
- Initial spec for v1.8

OBS-URL: https://build.opensuse.org/request/show/677348
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-lupa?expand=0&rev=1
2019-02-27 16:28:40 +00:00
77604d5d8f 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
2019-02-19 12:13:26 +00:00