14
0

- Update to 1.0.8:

* Add new build file to build the cython extension and update
    pyproject.toml to use it.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-rencode?expand=0&rev=10
This commit is contained in:
2025-07-22 03:57:00 +00:00
committed by Git OBS Bridge
parent e6efe89658
commit 6cfbca6efc
4 changed files with 13 additions and 12 deletions

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Jul 22 03:56:14 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 1.0.8:
* Add new build file to build the cython extension and update
pyproject.toml to use it.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jun 11 11:43:51 UTC 2025 - Markéta Machová <mmachova@suse.com> Wed Jun 11 11:43:51 UTC 2025 - Markéta Machová <mmachova@suse.com>

View File

@@ -17,19 +17,18 @@
Name: python-rencode Name: python-rencode
Version: 1.0.6 Version: 1.0.8
Release: 0 Release: 0
Summary: Web safe object pickling/unpickling Summary: Web safe object pickling/unpickling
License: GPL-3.0-or-later License: GPL-3.0-or-later
Group: Development/Languages/Python
URL: https://github.com/aresch/rencode URL: https://github.com/aresch/rencode
Source0: https://github.com/aresch/rencode/archive/v%{version}.tar.gz Source0: https://github.com/aresch/rencode/archive/v%{version}.tar.gz
Source1: %{name}.changes Source1: %{name}.changes
BuildRequires: %{python_module Cython} BuildRequires: %{python_module Cython}
BuildRequires: %{python_module devel} BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
%python_subpackages %python_subpackages
@@ -42,11 +41,6 @@ b-encodings. Python2 version of package
%prep %prep
%setup -q -n rencode-%{version} %setup -q -n rencode-%{version}
# to "avoid python-bytecode-inconsistent-mtime" warnings
FAKE_TIMESTAMP=$(LC_ALL=C date -u -r %{SOURCE1} +%%y%%m%%d%%H%%M)
find . -name '*.py' -exec touch -mat $FAKE_TIMESTAMP {} \;
# do not use O3
sed -i -e '/extra_compile_args/d' setup.py
%build %build
export CFLAGS="%{optflags} -fno-strict-aliasing" export CFLAGS="%{optflags} -fno-strict-aliasing"
@@ -62,6 +56,6 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%files %{python_files} %files %{python_files}
%license COPYING %license COPYING
%{python_sitearch}/rencode %{python_sitearch}/rencode
%{python_sitearch}/rencode-%{version}*-info %{python_sitearch}/rencode-%{version}.dist-info
%changelog %changelog

View File

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

3
v1.0.8.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:480aab74948a7f339b749b5c39bdb4caf15429f4b49a998c770d5f371098d351
size 26072