14
0

Accepting request 1246297 from devel:languages:python

- Switch to pyproject macros.
- No more greedy globs in %files.

- Update to 0.5.4
  * Fix #242: Handle exceptions in the on_data callable.

OBS-URL: https://build.opensuse.org/request/show/1246297
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-python-gnupg?expand=0&rev=18
This commit is contained in:
2025-02-17 19:54:50 +00:00
committed by Git OBS Bridge
4 changed files with 23 additions and 10 deletions

View File

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

View File

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

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Mon Feb 17 03:29:13 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- No more greedy globs in %files.
-------------------------------------------------------------------
Thu Feb 13 10:37:11 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- 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 <dmueller@suse.com> Tue Oct 1 12:42:05 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-python-gnupg # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,13 +18,13 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-python-gnupg Name: python-python-gnupg
Version: 0.5.3 Version: 0.5.4
Release: 0 Release: 0
Summary: A wrapper for the GNU Privacy Guard (GPG or GnuPG) Summary: A wrapper for the GNU Privacy Guard (GPG or GnuPG)
License: BSD-3-Clause License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://pythonhosted.org/python-gnupg/index.html URL: https://pythonhosted.org/python-gnupg/index.html
Source: https://files.pythonhosted.org/packages/source/p/python-gnupg/python-gnupg-%{version}.tar.gz 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 pytest}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
@@ -42,13 +42,12 @@ encryption and signature functionality from Python programs.
%prep %prep
%setup -q -n python-gnupg-%{version} %setup -q -n python-gnupg-%{version}
echo "import setuptools; setuptools.setup()" > setup.py
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
@@ -58,6 +57,8 @@ export NO_EXTERNAL_TESTS=true
%files %{python_files} %files %{python_files}
%license LICENSE.txt %license LICENSE.txt
%doc README.rst %doc README.rst
%{python_sitelib}/* %{python_sitelib}/gnupg.py
%pycache_only %{python_sitelib}/__pycache__/gnupg.*.pyc
%{python_sitelib}/python_gnupg-%{version}.dist-info
%changelog %changelog