ea4394c
Name:           python-gnupg
d852251
Version:        0.5.0
e2276b3
Release:        2%{?dist}
Fabio Alessandro Locati 89a5bc7
Summary:        A wrapper for the Gnu Privacy Guard (GPG or GnuPG)
Fabio Alessandro Locati 89a5bc7
ea4394c
License:        BSD
4abd22f
URL:            https://gnupg.readthedocs.io/
f235f5c
Source0:        https://pypi.io/packages/source/p/%{name}/%{name}-%{version}.tar.gz
fbe19b6
Source1:        https://pypi.io/packages/source/p/%{name}/%{name}-%{version}.tar.gz.asc
fbe19b6
# from keys.openpgp.net based on fingerprinted listed on pypi page
fbe19b6
Source2:	CA749061914EAC138E66EADB9147B477339A9B86.gpg
d852251
Source3:	tox.ini
d852251
Source4:	pyproject.toml
ea4394c
BuildArch:      noarch
Fabio Alessandro Locati 89a5bc7
ea4394c
%description
ea4394c
GnuPG bindings for python. This uses the gpg command.
ea4394c
Fabio Alessandro Locati 89a5bc7
%package -n     python3-gnupg
Fabio Alessandro Locati 89a5bc7
Summary:        A wrapper for the Gnu Privacy Guard (GPG or GnuPG)
a7cb894
BuildRequires:  python3-devel
a7cb894
BuildRequires:  python3-setuptools
b596255
BuildRequires:  gnupg2
Fabio Alessandro Locati 680404a
Requires:       gnupg
Fabio Alessandro Locati a11a16d
%{?python_provide:%python_provide python3-gnupg}
Fabio Alessandro Locati 89a5bc7
Fabio Alessandro Locati 89a5bc7
%description -n python3-gnupg
Fabio Alessandro Locati 89a5bc7
GnuPG bindings for python. This uses the gpg command.
Fabio Alessandro Locati 89a5bc7
ea4394c
%prep
fbe19b6
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
Fabio Alessandro Locati 89a5bc7
%autosetup -n %{name}-%{version}
d852251
# add missing pyproject.toml and tox.ini (taken from github.com/vsajip/python-gnupg
d852251
cp %{SOURCE3} %{SOURCE4} .
d852251
d852251
%generate_buildrequires
d852251
%pyproject_buildrequires -t
ea4394c
ea4394c
%build
d852251
%pyproject_wheel
ea4394c
ea4394c
%install
d852251
%pyproject_install
d852251
%pyproject_save_files gnupg
d852251
d852251
%check
d852251
%tox
Fabio Alessandro Locati 89a5bc7
d852251
%files -n python3-gnupg -f %{pyproject_files}
Fabio Alessandro Locati 89a5bc7
%doc README.rst
Fabio Alessandro Locati 89a5bc7
%license LICENSE.txt
ea4394c
ea4394c
%changelog
e2276b3
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.0-2
e2276b3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
e2276b3
d852251
* Wed Aug 31 2022 Paul Wouters 
d852251
- update to 0.5.0
d852251
- Use newer pyproject python macros
d852251
d4a4a26
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8-4
d4a4a26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
d4a4a26
38fdc4b
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 0.4.8-3
38fdc4b
- Rebuilt for Python 3.11
38fdc4b
b652cb6
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.8-2
b652cb6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
b652cb6
78489a9
* Fri Jan 07 2022 Ken Dreyer <kdreyer@redhat.com> - 0.4.8-1
78489a9
- Update to 0.4.8
fbe19b6
- Add gpg verification with upstream key
78489a9
9a65117
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.6-5
9a65117
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
9a65117
b858dbb
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 0.4.6-4
b858dbb
- Rebuilt for Python 3.10
b858dbb
8f4c06f
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.6-3
8f4c06f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
8f4c06f
3726e97
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.6-2
3726e97
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
3726e97
922b358
* Sat Jul 04 2020 Fabio Alessandro Locati <fale@fedoraproject.org> - 0.4.6-1
5a337a1
- Update to 0.4.6
5a337a1
6f30b4c
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 0.4.4-7
6f30b4c
- Rebuilt for Python 3.9
6f30b4c
4202308
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-6
4202308
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
4202308
e34c3bc
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4.4-5
e34c3bc
- Rebuilt for Python 3.8.0rc1 (#1748018)
e34c3bc
8251ed3
* Thu Aug 22 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4.4-4
8251ed3
- Subpackage python2-gnupg has been removed
8251ed3
  See https://fedoraproject.org/wiki/Changes/Mass_Python_2_Package_Removal
8251ed3
ad5f272
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.4.4-3
ad5f272
- Rebuilt for Python 3.8
ad5f272
1bc21e3
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.4-2
1bc21e3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
1bc21e3
4abd22f
* Fri Apr 26 2019 Paul Wouters <pwouters@redhat.com> - 0.4.4-1
4abd22f
- Resolves rhbz#1670364 Fixes CVE-2019-6690
4abd22f
9737a5d
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.3-2
9737a5d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
9737a5d
f235f5c
* Tue Aug 28 2018 Paul Wouters <pwouters@redhat.com> - 0.4.3-1
f235f5c
- Updated to 0.4.3, updated URL and Source fields
f235f5c
- Resolves: rhbz#1547638 New version is available
f235f5c
0fcd1f9
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8-11
0fcd1f9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
0fcd1f9
95c9797
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 0.3.8-10
95c9797
- Rebuilt for Python 3.7
95c9797
bf30dc7
* Mon Feb 12 2018 Iryna Shcherbina <ishcherb@redhat.com> - 0.3.8-9
bf30dc7
- Update Python 2 dependency declarations to new packaging standards
bf30dc7
  (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
bf30dc7
79dc0b2
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8-8
79dc0b2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
79dc0b2
a2f0123
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8-7
a2f0123
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a2f0123
d75ff86
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.8-6
d75ff86
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
d75ff86
89cae49
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 0.3.8-5
89cae49
- Rebuild for Python 3.6
89cae49
58091ba
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.8-4
58091ba
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
58091ba
a7cb894
* Thu Jun 02 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 0.3.8-3
Fabio Alessandro Locati 779c512
- Put the gnupg dependence for both py2 and py3 packages
Fabio Alessandro Locati 779c512
a7cb894
* Wed May 04 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 0.3.8-2
Fabio Alessandro Locati a11a16d
- Fix provides and obsoletes
Fabio Alessandro Locati a11a16d
a7cb894
* Sun Feb 07 2016 Fabio Alessandro Locati <fale@fedoraproject.org> - 0.3.8-1
Fabio Alessandro Locati 89a5bc7
- Enable python3 compilation
Fabio Alessandro Locati 89a5bc7
- Move to current python standard
Fabio Alessandro Locati 89a5bc7
- Update 0.3.8
Fabio Alessandro Locati 89a5bc7
9942a10
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.3.7-3
9942a10
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
9942a10
7347ea9
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.7-2
7347ea9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
7347ea9
cb19e7b
* Tue Jan 06 2015 Paul Wouters <pwouters@redhat.com> - 0.3.7-1
cb19e7b
- Updated to 0.3.7 Merged in export-minimal and armor options, many encoding fixes
cb19e7b
d917119
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.3.6-4
d917119
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
d917119
a50e7b1
* Thu Apr 17 2014 Paul Wouters <pwouters@redhat.com> - 0.3.6-3
a50e7b1
- Removed patch as gpg.decode_errors=ignore works well
a50e7b1
0dad306
* Thu Apr 17 2014 Paul Wouters <pwouters@redhat.com> - 0.3.6-2
0dad306
- Re-instate part of export patch that fixed encoding bug
0dad306
62cfba0
* Thu Feb 06 2014 Paul Wouters <pwouters@redhat.com> - 0.3.6-1
62cfba0
- Updated to 0.3.6 which includes Security fix (CVE-2014-XXXX)
62cfba0
- Upstream including our export patch and converted README file
62cfba0
- Upstream switched to new download site
62cfba0
ea4394c
* Mon Jan 06 2014 Paul Wouters <pwouters@redhat.com> - 0.3.5-4
ea4394c
- Require gnupg (duh)
ea4394c
- Remove cleaning in install target
ea4394c
- Fix license to BSD
ea4394c
- Link to upstream bug tracker for included patch
ea4394c
ea4394c
* Sat Jan 04 2014 Paul Wouters <pwouters@redhat.com> - 0.3.5-3
ea4394c
- Remove unused global, fix python macro, buildroot macro
ea4394c
- Converted README from DOS to unix (and reported upstream)
ea4394c
ea4394c
* Tue Dec 31 2013 Paul Wouters <pwouters@redhat.com> - 0.3.5-2
ea4394c
- Added minimal= and armor= options to export_keys()
ea4394c
ea4394c
* Sun Dec 22 2013 Paul Wouters <pwouters@redhat.com> - 0.3.5-1
ea4394c
- Initial package