Compare commits
2 Commits
changed/a9
...
a9
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6e66563ca4 | ||
|
|
d29aa87eda |
@ -0,0 +1,24 @@
|
||||
From dd7c59da2309f974c3d530590c33a75f553bfc2e Mon Sep 17 00:00:00 2001
|
||||
From: eabdullin <eabdullin@almalinux.org>
|
||||
Date: Thu, 10 Jul 2025 11:52:16 +0300
|
||||
Subject: [PATCH] Remove dataclasses from setup for python39
|
||||
|
||||
---
|
||||
setup.py | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index 4568112..c3b0d83 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -31,7 +31,6 @@ setup(name='immudb-py',
|
||||
keywords=['immudb', 'immutable'],
|
||||
install_requires=[
|
||||
'grpcio>=1.31.0',
|
||||
- 'dataclasses>=0.6',
|
||||
'protobuf>=3.13.0,<4.0.0',
|
||||
'google-api>=0.1.12',
|
||||
'google-api-core>=1.22.1',
|
||||
--
|
||||
2.39.5 (Apple Git-154)
|
||||
|
||||
24
SOURCES/0002-Remove-google_api-from-setup.patch
Normal file
24
SOURCES/0002-Remove-google_api-from-setup.patch
Normal file
@ -0,0 +1,24 @@
|
||||
From 3995b7a4e74a2494acda6ecd9679ef0f90ef7ece Mon Sep 17 00:00:00 2001
|
||||
From: eabdullin <eabdullin@almalinux.org>
|
||||
Date: Thu, 10 Jul 2025 13:10:21 +0300
|
||||
Subject: [PATCH 2/2] Remove google_api from setup
|
||||
|
||||
---
|
||||
setup.py | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/setup.py b/setup.py
|
||||
index c3b0d83..c71a9fd 100644
|
||||
--- a/setup.py
|
||||
+++ b/setup.py
|
||||
@@ -32,7 +32,6 @@ setup(name='immudb-py',
|
||||
install_requires=[
|
||||
'grpcio>=1.31.0',
|
||||
'protobuf>=3.13.0,<4.0.0',
|
||||
- 'google-api>=0.1.12',
|
||||
'google-api-core>=1.22.1',
|
||||
'ecdsa>=0.16.1'
|
||||
],
|
||||
--
|
||||
2.39.5 (Apple Git-154)
|
||||
|
||||
1
SOURCES/immudb-py-1.4.0
Submodule
1
SOURCES/immudb-py-1.4.0
Submodule
@ -0,0 +1 @@
|
||||
Subproject commit 3995b7a4e74a2494acda6ecd9679ef0f90ef7ece
|
||||
@ -2,17 +2,19 @@
|
||||
|
||||
Name: python-%{modname}
|
||||
Version: 1.4.0
|
||||
Release: 1%{?dist}
|
||||
Release: 3%{?dist}
|
||||
Summary: Immudb client for Python
|
||||
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/codenotary/immudb-py
|
||||
Source0: https://github.com/codenotary/immudb-py/archive/v%{immudb_version}/immudb-py-%{version}.tar.gz
|
||||
|
||||
Patch1: 0001-Remove-dataclasses-from-setup-for-python39.patch
|
||||
Patch2: 0002-Remove-google_api-from-setup.patch
|
||||
BuildArch: noarch
|
||||
BuildRequires: python3-devel
|
||||
BuildRequires: python3-pip
|
||||
BuildRequires: python3-wheel
|
||||
BuildRequires: python%{python3_pkgversion}-devel
|
||||
BuildRequires: python%{python3_pkgversion}-pip
|
||||
BuildRequires: python%{python3_pkgversion}-wheel
|
||||
BuildRequires: pyproject-rpm-macros
|
||||
|
||||
%description
|
||||
@ -21,7 +23,7 @@ BuildRequires: pyproject-rpm-macros
|
||||
%package -n python%{python3_pkgversion}-%{modname}
|
||||
Summary: %{summary}
|
||||
%{?python_provide:%python_provide python%{python3_pkgversion}-%{modname}}
|
||||
Requires: python3-immudb = 1.4.0
|
||||
Requires: python%{python3_pkgversion}-immudb = 1.4.0
|
||||
|
||||
%description -n python%{python3_pkgversion}-%{modname}
|
||||
%{summary}.
|
||||
@ -31,7 +33,11 @@ Python %{python3_pkgversion} version.
|
||||
%pyproject_buildrequires
|
||||
|
||||
%prep
|
||||
%autosetup -n immudb-py-%{version}
|
||||
%setup -n immudb-py-%{version}
|
||||
%if 0%{?rhel} > 8
|
||||
%patch1 -p1 -b .remove-dataclasses
|
||||
%endif
|
||||
%patch2 -p1 -b .remove-google-api
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
@ -40,10 +46,16 @@ Python %{python3_pkgversion} version.
|
||||
%pyproject_install
|
||||
%pyproject_save_files %{modname}
|
||||
|
||||
%files -n python3-%{modname} -f %{pyproject_files}
|
||||
%files -n python%{python3_pkgversion}-%{modname} -f %{pyproject_files}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
|
||||
%changelog
|
||||
* Thu Jul 10 2025 Eduard Abdullin <eabdullin@almalinux.org> - 1.4.0-3
|
||||
- Remove google-api from setup.py
|
||||
|
||||
* Thu Jul 10 2025 Eduard Abdullin <eabdullin@almalinux.org> - 1.4.0-2
|
||||
- Remove dataclasses from setup.py for AlmaLinux 9 and later
|
||||
|
||||
* Mon May 12 2025 Eduard Abdullin <eabdullin@almalinux.org> - 1.4.0-1
|
||||
- Initial release
|
||||
|
||||
Loading…
Reference in New Issue
Block a user