14
0
forked from pool/python-josepy

Accepting request 1129754 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1129754
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-josepy?expand=0&rev=14
This commit is contained in:
2023-11-30 21:00:20 +00:00
committed by Git OBS Bridge
5 changed files with 28 additions and 24 deletions

View File

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

View File

@@ -1,14 +0,0 @@
-----BEGIN PGP SIGNATURE-----
iQGzBAABCAAdFiEEIPIBNGv48/RVpz+aeAzJlDKihiEFAmIqGhMACgkQeAzJlDKi
hiEFoQv/cGZfR1jJzah+UTM5klZd3aMXp9U1iGKp5ZsPjHJjFJnw76JPLeky6rbh
W8O4qGizvjfy5Jt2SEKQHixPYNE0N4C2IyhbZubcA0z7JyjTfdmR4BunpqNFXo9U
kySrvesAhq+cYZfDlEgBiExZiMBwCHyfL7OvG2TkcuaMzKhha52KPtafZJffiuvJ
4EB9F0El7psyNzLIBRq1RQ1e1Qm8+k1ug3cPPfoqlt3AhiML8FcNuAOHo2ithO+C
gsMYDmA4b5OtrNp9Wgu7FMxPypJv9d87f3JpsEP9Sn9lVvi8TZO0uLGv35CLA7r5
JWxjJzrT+X7K762FJy5fQgnTI6XJsaeNqzccXQb0WgtI653VfhcO+ISJe6hqTLkR
htImgbws3rytfEs2RIelBOIK2vkfO1E3YbvVv5X95uZlYaEcgb3730bZo4STJSBn
1NIhjfIbD7UXyXa1kaQBOA9NVERDMRaIveJs50zQBTK2owBqn7ile9TeHdp8KCR1
Jg2XNSqA
=TRwO
-----END PGP SIGNATURE-----

3
josepy-1.14.0.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Wed Nov 29 09:34:59 UTC 2023 - ecsos <ecsos@opensuse.org>
- Update to 1.14.0
- Added support for Python 3.11 and 3.12.
- Support for Python 3.7 has been deprecated and will be removed
in the next scheduled release.
- Dropped support for Python 3.6.
- Added a new valid PGP key for signing our PyPI packages with
the fingerprint F2871B4152AE13C49519111F447BF683AA3B26C3
- Comment out asc because no more found.
-------------------------------------------------------------------
Sun Jun 11 14:32:17 UTC 2023 - ecsos <ecsos@opensuse.org>

View File

@@ -19,20 +19,23 @@
%define libname josepy
%{?sle15_python_module_pythons}
Name: python-%{libname}
Version: 1.13.0
Version: 1.14.0
Release: 0
Summary: JOSE protocol implementation in Python
License: Apache-2.0
URL: https://github.com/certbot/josepy
Source0: https://files.pythonhosted.org/packages/source/j/%{libname}/%{libname}-%{version}.tar.gz
Source1: https://files.pythonhosted.org/packages/source/j/%{libname}/%{libname}-%{version}.tar.gz.asc
#Source1: https://files.pythonhosted.org/packages/source/j/%%{libname}/%%{libname}-%%{version}.tar.gz.asc
Source2: %{name}.keyring
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module coverage >= 4.0}
BuildRequires: %{python_module cryptography >= 1.5}
BuildRequires: %{python_module devel >= 2.7}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry >= 1.0.8}
BuildRequires: %{python_module pyOpenSSL >= 0.13}
BuildRequires: %{python_module pytest >= 2.8.0}
BuildRequires: %{python_module setuptools >= 1.0}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-cryptography >= 1.5
@@ -48,13 +51,12 @@ It is used by the certbot project. Formerly Let's Encrypt project.
%prep
%setup -q -n %{libname}-%{version}
rm pytest.ini
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
# remove test-data
%python_expand rm -rf %{buildroot}%{$python_sitelib}/%{libname}/testdata
%python_expand rm -rf %{buildroot}%{$python_sitelib}/%{libname}/*_test.py*
@@ -62,14 +64,18 @@ rm pytest.ini
%python_expand rm -rf %{buildroot}%{$python_sitelib}/%{libname}/__pycache__/*_test*
# remove duplicates
%python_expand %fdupes %{buildroot}%{$python_sitelib}/%{libname}
# remove docfiles
%python_expand rm -rf %{buildroot}%{$python_sitelib}/CHANGELOG.rst
%python_expand rm -rf %{buildroot}%{$python_sitelib}/CONTRIBUTING.md
%check
%pytest
%files %{python_files}
%license LICENSE.txt
%doc CHANGELOG.rst CONTRIBUTING.md
%{python_sitelib}/%{libname}
%{python_sitelib}/%{libname}-%{version}*.egg-info
%{python_sitelib}/%{libname}-%{version}.dist-info
%pycache_only %{python_sitelib}/%{libname}/__pycache__
# following the certbot-packaging guide, "jws" should not be packaged
%exclude %{_bindir}/jws