From 3fcdaadedc7e3fd894f2a55f57a9d013aee5357f Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Wed, 14 Dec 2022 14:30:35 +0000 Subject: [PATCH 01/11] Added the README --- README.md | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..1a0d156 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# python-gbinder + +The python-gbinder package From ee86216e00600763fe211fad282710de888b5cc5 Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Wed, 14 Dec 2022 17:56:26 +0100 Subject: [PATCH 02/11] Initial import (fedora#2120130). --- .gitignore | 1 + python-gbinder.spec | 48 +++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 50 insertions(+) create mode 100644 .gitignore create mode 100644 python-gbinder.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b0d7e3b --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/gbinder-python-1.1.1.tar.gz diff --git a/python-gbinder.spec b/python-gbinder.spec new file mode 100644 index 0000000..7635c32 --- /dev/null +++ b/python-gbinder.spec @@ -0,0 +1,48 @@ +%global proj_name gbinder-python + +Name: python-gbinder +Version: 1.1.1 +Release: 1%{?dist} +Summary: Python bindings for libgbinder + +License: GPL-3.0-only +URL: https://github.com/erfanoabdi/%{proj_name} +Source: %{url}/archive/%{version}/%{proj_name}-%{version}.tar.gz + +%global libgbinder_version 1.1.20 +BuildRequires: python3-devel +BuildRequires: python3-Cython +BuildRequires: gcc +BuildRequires: pkgconfig(libgbinder) >= %{libgbinder_version} + +%global _description %{expand: +Cython extension module for libgbinder. +Provides IPC comunication over the /dev/binder protocol for python scripts.} + +%description %{_description} + +%package -n python3-gbinder +Summary: %{summary} +Requires: libgbinder >= %{libgbinder_version} + +%description -n python3-gbinder %{_description} + +%prep +%autosetup -p1 -n %{proj_name}-%{version} +sed -i "/^USE_CYTHON =/s/False/True/" setup.py + +%generate_buildrequires +%pyproject_buildrequires + +%build +%pyproject_wheel + +%install +%pyproject_install +%pyproject_save_files gbinder + +%files -n python3-gbinder -f %{pyproject_files} + +%changelog +* Sun Oct 30 2022 Alessandro Astone - 1.1.1-1 +- Initial changelog diff --git a/sources b/sources new file mode 100644 index 0000000..c7e747e --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (gbinder-python-1.1.1.tar.gz) = 1910d6e904ac46da519064e9dc57e4059e1ea7072f2cf4b7ca0888a73701a590ff565fe9e9ca67acf94dba2a69f3138457d8b9533c2360befdd508b983f32a03 From 364040209efd944ba1bf310b11d3293fc5338a3a Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Thu, 15 Dec 2022 12:14:33 +0100 Subject: [PATCH 03/11] Disable s390x build --- python-gbinder.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/python-gbinder.spec b/python-gbinder.spec index 7635c32..06f21cb 100644 --- a/python-gbinder.spec +++ b/python-gbinder.spec @@ -9,6 +9,9 @@ License: GPL-3.0-only URL: https://github.com/erfanoabdi/%{proj_name} Source: %{url}/archive/%{version}/%{proj_name}-%{version}.tar.gz +# bugzilla 2153760 +ExcludeArch: s390x + %global libgbinder_version 1.1.20 BuildRequires: python3-devel BuildRequires: python3-Cython From 66fbeef1eca5059a40575c0da1ff4b98671a449f Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Fri, 6 Jan 2023 18:13:31 +0100 Subject: [PATCH 04/11] Revert "Disable s390x build" This reverts commit 364040209efd944ba1bf310b11d3293fc5338a3a. --- python-gbinder.spec | 3 --- 1 file changed, 3 deletions(-) diff --git a/python-gbinder.spec b/python-gbinder.spec index 06f21cb..7635c32 100644 --- a/python-gbinder.spec +++ b/python-gbinder.spec @@ -9,9 +9,6 @@ License: GPL-3.0-only URL: https://github.com/erfanoabdi/%{proj_name} Source: %{url}/archive/%{version}/%{proj_name}-%{version}.tar.gz -# bugzilla 2153760 -ExcludeArch: s390x - %global libgbinder_version 1.1.20 BuildRequires: python3-devel BuildRequires: python3-Cython From f6447fed380f3df55a700e1709d939f893f016ac Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Fri, 6 Jan 2023 18:15:00 +0100 Subject: [PATCH 05/11] Rebuild --- python-gbinder.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-gbinder.spec b/python-gbinder.spec index 7635c32..86e16ca 100644 --- a/python-gbinder.spec +++ b/python-gbinder.spec @@ -2,7 +2,7 @@ Name: python-gbinder Version: 1.1.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Python bindings for libgbinder License: GPL-3.0-only @@ -44,5 +44,8 @@ sed -i "/^USE_CYTHON =/s/False/True/" setup.py %files -n python3-gbinder -f %{pyproject_files} %changelog +* Fri Jan 06 2023 Alessandro Astone - 1.1.1-2 +- Re-enable s390x builds + * Sun Oct 30 2022 Alessandro Astone - 1.1.1-1 - Initial changelog From 88d3a65c09b4167af7f30b2099d13e99aec06763 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 20 Jan 2023 13:23:50 +0000 Subject: [PATCH 06/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-gbinder.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-gbinder.spec b/python-gbinder.spec index 86e16ca..2def3f1 100644 --- a/python-gbinder.spec +++ b/python-gbinder.spec @@ -2,7 +2,7 @@ Name: python-gbinder Version: 1.1.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Python bindings for libgbinder License: GPL-3.0-only @@ -44,6 +44,9 @@ sed -i "/^USE_CYTHON =/s/False/True/" setup.py %files -n python3-gbinder -f %{pyproject_files} %changelog +* Fri Jan 20 2023 Fedora Release Engineering - 1.1.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Fri Jan 06 2023 Alessandro Astone - 1.1.1-2 - Re-enable s390x builds From bf2b0fd681ad9c9405042c4e547b2263bce4d765 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 13 Jun 2023 21:34:19 +0200 Subject: [PATCH 07/11] Rebuilt for Python 3.12 --- python-gbinder.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-gbinder.spec b/python-gbinder.spec index 2def3f1..b283315 100644 --- a/python-gbinder.spec +++ b/python-gbinder.spec @@ -2,7 +2,7 @@ Name: python-gbinder Version: 1.1.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Python bindings for libgbinder License: GPL-3.0-only @@ -44,6 +44,9 @@ sed -i "/^USE_CYTHON =/s/False/True/" setup.py %files -n python3-gbinder -f %{pyproject_files} %changelog +* Tue Jun 13 2023 Python Maint - 1.1.1-4 +- Rebuilt for Python 3.12 + * Fri Jan 20 2023 Fedora Release Engineering - 1.1.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From 76f870f08c2cecae799370e1ba5d21bbff5ee81a Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Fri, 21 Jul 2023 09:19:24 +0200 Subject: [PATCH 08/11] Avoid building against Cython 3 --- python-gbinder.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/python-gbinder.spec b/python-gbinder.spec index b283315..9c1ddfb 100644 --- a/python-gbinder.spec +++ b/python-gbinder.spec @@ -2,7 +2,7 @@ Name: python-gbinder Version: 1.1.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Python bindings for libgbinder License: GPL-3.0-only @@ -15,6 +15,9 @@ BuildRequires: python3-Cython BuildRequires: gcc BuildRequires: pkgconfig(libgbinder) >= %{libgbinder_version} +# FIXME: Fails to build with Cython 3 +BuildRequires: python3dist(cython) < 3~~ + %global _description %{expand: Cython extension module for libgbinder. Provides IPC comunication over the /dev/binder protocol for python scripts.} @@ -44,6 +47,9 @@ sed -i "/^USE_CYTHON =/s/False/True/" setup.py %files -n python3-gbinder -f %{pyproject_files} %changelog +* Fri Jul 21 2023 Alessandro Astone - 1.1.1-5 +- Avoid building against Cython 3 + * Tue Jun 13 2023 Python Maint - 1.1.1-4 - Rebuilt for Python 3.12 From b1ff41289fa6516c531f2fb85ce9a5505836e999 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 21 Jul 2023 09:54:46 +0000 Subject: [PATCH 09/11] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- python-gbinder.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python-gbinder.spec b/python-gbinder.spec index 9c1ddfb..f82ca83 100644 --- a/python-gbinder.spec +++ b/python-gbinder.spec @@ -2,7 +2,7 @@ Name: python-gbinder Version: 1.1.1 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Python bindings for libgbinder License: GPL-3.0-only @@ -47,6 +47,9 @@ sed -i "/^USE_CYTHON =/s/False/True/" setup.py %files -n python3-gbinder -f %{pyproject_files} %changelog +* Fri Jul 21 2023 Fedora Release Engineering - 1.1.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Fri Jul 21 2023 Alessandro Astone - 1.1.1-5 - Avoid building against Cython 3 From 937a2f5df29320ff9faa3b1025f8b4070c7e4f51 Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Sat, 16 Sep 2023 21:13:38 +0200 Subject: [PATCH 10/11] Update to 1.1.2 Now able to build with Cython3 --- python-gbinder.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/python-gbinder.spec b/python-gbinder.spec index f82ca83..7a1eae3 100644 --- a/python-gbinder.spec +++ b/python-gbinder.spec @@ -1,8 +1,8 @@ %global proj_name gbinder-python Name: python-gbinder -Version: 1.1.1 -Release: 6%{?dist} +Version: 1.1.2 +Release: 1%{?dist} Summary: Python bindings for libgbinder License: GPL-3.0-only @@ -15,9 +15,6 @@ BuildRequires: python3-Cython BuildRequires: gcc BuildRequires: pkgconfig(libgbinder) >= %{libgbinder_version} -# FIXME: Fails to build with Cython 3 -BuildRequires: python3dist(cython) < 3~~ - %global _description %{expand: Cython extension module for libgbinder. Provides IPC comunication over the /dev/binder protocol for python scripts.} @@ -47,6 +44,9 @@ sed -i "/^USE_CYTHON =/s/False/True/" setup.py %files -n python3-gbinder -f %{pyproject_files} %changelog +* Sat Sep 16 2023 Alessandro Astone - 1.1.2-1 +- Update to 1.1.2 + * Fri Jul 21 2023 Fedora Release Engineering - 1.1.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 7c255c8aed861acdc078cabcc5edb4de29d9e138 Mon Sep 17 00:00:00 2001 From: Alessandro Astone Date: Sat, 16 Sep 2023 21:25:16 +0200 Subject: [PATCH 11/11] Add 1.1.2 sources --- .gitignore | 1 + sources | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index b0d7e3b..87ed42a 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /gbinder-python-1.1.1.tar.gz +/gbinder-python-1.1.2.tar.gz diff --git a/sources b/sources index c7e747e..71f0e47 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (gbinder-python-1.1.1.tar.gz) = 1910d6e904ac46da519064e9dc57e4059e1ea7072f2cf4b7ca0888a73701a590ff565fe9e9ca67acf94dba2a69f3138457d8b9533c2360befdd508b983f32a03 +SHA512 (gbinder-python-1.1.2.tar.gz) = 6f076a5cb265eed193d2ac2623921e76ced923230ca2131460efea941182f26b770d657f5155f6a29fa54a314f6dc62a8d5b96d14ee90a359389e60318a38b71