From 63c5c8c23a52c3da89e01278e6149d56f332fde38e8eaab180796f3cc376186b Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 17 Feb 2025 03:18:00 +0000 Subject: [PATCH 1/2] Accepting request 1245597 from home:glaubitz:branches:devel:languages:python - Update to 0.5.4 * Fix #242: Handle exceptions in the on_data callable. OBS-URL: https://build.opensuse.org/request/show/1245597 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gnupg?expand=0&rev=35 --- python-gnupg-0.5.3.tar.gz | 3 --- python-gnupg-0.5.4.tar.gz | 3 +++ python-python-gnupg.changes | 6 ++++++ python-python-gnupg.spec | 4 ++-- 4 files changed, 11 insertions(+), 5 deletions(-) delete mode 100644 python-gnupg-0.5.3.tar.gz create mode 100644 python-gnupg-0.5.4.tar.gz diff --git a/python-gnupg-0.5.3.tar.gz b/python-gnupg-0.5.3.tar.gz deleted file mode 100644 index caaf099..0000000 --- a/python-gnupg-0.5.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:290d8ddb9cd63df96cfe9284b9b265f19fd6e145e5582dc58fd7271f026d0a47 -size 65457 diff --git a/python-gnupg-0.5.4.tar.gz b/python-gnupg-0.5.4.tar.gz new file mode 100644 index 0000000..6b7b5e7 --- /dev/null +++ b/python-gnupg-0.5.4.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f2fdb5fb29615c77c2743e1cb3d9314353a6e87b10c37d238d91ae1c6feae086 +size 65705 diff --git a/python-python-gnupg.changes b/python-python-gnupg.changes index a83d1b2..e070e47 100644 --- a/python-python-gnupg.changes +++ b/python-python-gnupg.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Feb 13 10:37:11 UTC 2025 - John Paul Adrian Glaubitz + +- Update to 0.5.4 + * Fix #242: Handle exceptions in the on_data callable. + ------------------------------------------------------------------- Tue Oct 1 12:42:05 UTC 2024 - Dirk Müller diff --git a/python-python-gnupg.spec b/python-python-gnupg.spec index 35badb7..ad08aa5 100644 --- a/python-python-gnupg.spec +++ b/python-python-gnupg.spec @@ -1,7 +1,7 @@ # # spec file for package python-python-gnupg # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-python-gnupg -Version: 0.5.3 +Version: 0.5.4 Release: 0 Summary: A wrapper for the GNU Privacy Guard (GPG or GnuPG) License: BSD-3-Clause From 7daecc790f2c8dcc1834632d80cbd7f32eb4f7bdb574665743bc2b59f66f0582 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Mon, 17 Feb 2025 03:29:48 +0000 Subject: [PATCH 2/2] - Switch to pyproject macros. - No more greedy globs in %files. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-python-gnupg?expand=0&rev=36 --- python-python-gnupg.changes | 6 ++++++ python-python-gnupg.spec | 11 ++++++----- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/python-python-gnupg.changes b/python-python-gnupg.changes index e070e47..b0db428 100644 --- a/python-python-gnupg.changes +++ b/python-python-gnupg.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Feb 17 03:29:13 UTC 2025 - Steve Kowalik + +- Switch to pyproject macros. +- No more greedy globs in %files. + ------------------------------------------------------------------- Thu Feb 13 10:37:11 UTC 2025 - John Paul Adrian Glaubitz diff --git a/python-python-gnupg.spec b/python-python-gnupg.spec index ad08aa5..0a1f5d3 100644 --- a/python-python-gnupg.spec +++ b/python-python-gnupg.spec @@ -22,9 +22,9 @@ Version: 0.5.4 Release: 0 Summary: A wrapper for the GNU Privacy Guard (GPG or GnuPG) License: BSD-3-Clause -Group: Development/Languages/Python URL: https://pythonhosted.org/python-gnupg/index.html Source: https://files.pythonhosted.org/packages/source/p/python-gnupg/python-gnupg-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -42,13 +42,12 @@ encryption and signature functionality from Python programs. %prep %setup -q -n python-gnupg-%{version} -echo "import setuptools; setuptools.setup()" > setup.py %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -58,6 +57,8 @@ export NO_EXTERNAL_TESTS=true %files %{python_files} %license LICENSE.txt %doc README.rst -%{python_sitelib}/* +%{python_sitelib}/gnupg.py +%pycache_only %{python_sitelib}/__pycache__/gnupg.*.pyc +%{python_sitelib}/python_gnupg-%{version}.dist-info %changelog