forked from pool/python-rencode
- 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:
@@ -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>
|
||||
|
||||
|
@@ -17,19 +17,18 @@
|
||||
|
||||
|
||||
Name: python-rencode
|
||||
Version: 1.0.6
|
||||
Version: 1.0.8
|
||||
Release: 0
|
||||
Summary: Web safe object pickling/unpickling
|
||||
License: GPL-3.0-or-later
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/aresch/rencode
|
||||
Source0: https://github.com/aresch/rencode/archive/v%{version}.tar.gz
|
||||
Source1: %{name}.changes
|
||||
BuildRequires: %{python_module Cython}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module poetry-core}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
%python_subpackages
|
||||
@@ -42,11 +41,6 @@ b-encodings. Python2 version of package
|
||||
|
||||
%prep
|
||||
%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
|
||||
export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
@@ -62,6 +56,6 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
|
||||
%files %{python_files}
|
||||
%license COPYING
|
||||
%{python_sitearch}/rencode
|
||||
%{python_sitearch}/rencode-%{version}*-info
|
||||
%{python_sitearch}/rencode-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
@@ -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
3
v1.0.8.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:480aab74948a7f339b749b5c39bdb4caf15429f4b49a998c770d5f371098d351
|
||||
size 26072
|
Reference in New Issue
Block a user