4 Commits

4 changed files with 24 additions and 9 deletions

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Mon Nov 10 08:10:19 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to serpent-1.42:
* added test-requirements.txt
-------------------------------------------------------------------
Thu Jun 12 10:46:13 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to pip-based build
-------------------------------------------------------------------
Sun Jun 11 13:53:35 UTC 2023 - ecsos <ecsos@opensuse.org>
@@ -6,7 +17,7 @@ Sun Jun 11 13:53:35 UTC 2023 - ecsos <ecsos@opensuse.org>
-------------------------------------------------------------------
Fri Oct 7 15:25:30 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to version 1.41
- Update to version 1.41
* support for python up to 3.11 added (__getstate__ behavior change)
* replaced travis CI by Github actions
* drop python 3.5 support

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-serpent
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,13 +18,15 @@
%{?sle15_python_module_pythons}
Name: python-serpent
Version: 1.41
Version: 1.42
Release: 0
Summary: Serialization based on astliteral_eval
License: MIT
URL: https://github.com/irmen/Serpent
Source: https://files.pythonhosted.org/packages/source/s/serpent/serpent-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
@@ -46,17 +48,19 @@ and de-serialize it there.
%setup -q -n serpent-%{version}
%build
%python_build
%pyproject_wheel
%check
%pytest
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%files %{python_files}
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/serpent.py
%pycache_only %{python_sitelib}/__pycache__/serpent*
%{python_sitelib}/serpent-%{version}*-info
%changelog

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0407035fe3c6644387d48cff1467d5aa9feff814d07372b78677ed0ee3ed7095
size 88927

3
serpent-1.42.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8ea082b01f8ba07ecd74e34a9118ac4521bc4594938d912b808c89f1da425506
size 90352