#1 Migrate to pyproject macros and SPDX license field
Closed 9 months ago by salimma. Opened 11 months ago by stevetraylen.
rpms/ stevetraylen/python-aiosmtpd pyproject  into  rawhide

file added
+84
@@ -0,0 +1,84 @@ 

+ * Sat May 13 2023 Neal Gompa <ngompa@fedoraproject.org> - 1.4.4.post2-1

+ - Update to 1.4.4.post2

+ 

+ * Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-10

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

+ 

+ * Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-9

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

+ 

+ * Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.4.2-8

+ - Rebuilt for Python 3.11

+ 

+ * Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-7

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

+ 

+ * Thu Sep 23 2021 Miro Hrončok <mhroncok@redhat.com> - 1.4.2-6

+ - Avoid SSLError: Cannot create a client socket with a PROTOCOL_TLS_SERVER context

+ 

+ * Fri Sep 17 2021 Neal Gompa <ngompa@fedoraproject.org> - 1.4.2-5

+ - Backport patches for some Python 3.10 support

+ 

+ * Fri Sep 17 2021 Neal Gompa <ngompa@fedoraproject.org> - 1.4.2-4

+ - Allow tests to fail to fix FTBFS

+ 

+ * Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-3

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

+ 

+ * Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.4.2-2

+ - Rebuilt for Python 3.10

+ 

+ * Tue Mar 30 2021 Neal Gompa <ngompa13@gmail.com> - 1.4.2-1

+ - Rebase to 1.4.2

+ - Drop unused alternate build logic

+ 

+ * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-9

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

+ 

+ * Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-8

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

+ 

+ * Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-7

+ - Rebuilt for Python 3.9

+ 

+ * Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-6

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

+ 

+ * Mon Sep 30 2019 Aurelien Bompard <abompard@fedoraproject.org> - 1.2.1-2

+ - Fix build

+ 

+ * Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-4

+ - Rebuilt for Python 3.8

+ 

+ * Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

+ 

+ * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

+ 

+ * Tue Nov 20 2018 Aurelien Bompard <abompard@fedoraproject.org> - 1.2.1-1

+ - Update to 1.2.1.

+ 

+ * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-6

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

+ 

+ * Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0-5

+ - Rebuilt for Python 3.7

+ 

+ * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-4

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

+ 

+ * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-3

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

+ 

+ * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-2

+ - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

+ 

+ * Sat Jun 03 2017 Aurelien Bompard <abompard@fedoraproject.org> - 1.0-0.1.a5

+ - Update to 1.0 final.

+ 

+ * Mon Apr 10 2017 Aurelien Bompard <abompard@fedoraproject.org> - 1.0-0.1.a5

+ - Update to 1.0a5.

+ 

+ * Wed Dec 14 2016 Aurelien Bompard <abompard@fedoraproject.org> - 1.0-0.1.a4

+ - Initial package.

file modified
+24 -112
@@ -10,151 +10,63 @@ 

  

  Name:           python-%{pkgname}

  Version:        1.4.4.post2

- Release:        1%{?dist}

+ Release:        %autorelease

  Summary:        %{summary}

  

- License:        ASL 2.0

+ License:        Apache-2.0

  URL:            https://github.com/aio-libs/aiosmtpd

  Source0:        %{url}/archive/%{version}/%{pkgname}-%{version}.tar.gz

  

  BuildArch:      noarch

  

- BuildRequires:  python%{python3_pkgversion}-devel >= 3.4

- BuildRequires:  python%{python3_pkgversion}-setuptools

- BuildRequires:  python%{python3_pkgversion}-atpublic

- BuildRequires:  python%{python3_pkgversion}-flufl-testing

- BuildRequires:  python%{python3_pkgversion}-attrs

- BuildRequires:  python%{python3_pkgversion}-pytest

- BuildRequires:  python%{python3_pkgversion}-pytest-mock

+ BuildRequires:  python%{python3_pkgversion}-devel

  # Required for tests

  BuildRequires:  git-core

- %if 0%{?with_docs}

- BuildRequires:  python%{python3_pkgversion}-sphinx

- %endif

  

  %description %{_description}

  

  

  %package -n python%{python3_pkgversion}-%{pkgname}

  Summary:        %{summary}

- Requires:       python%{python3_pkgversion}-atpublic

- Requires:       python%{python3_pkgversion}-attrs

- %{?python_provide:%python_provide python%{python3_pkgversion}-%{pkgname}}

  

  %description -n python%{python3_pkgversion}-%{pkgname} %{_description}

  

  

  %prep

  %autosetup -p1 -n %{srcname}-%{version}

+ # Remove unused cosmetic dependencies to tests

+ sed -i 's/pytest-print//' tox.ini

+ sed -i 's/pytest-sugar//' tox.ini

+ sed -i 's/pytest-profiling//' tox.ini

+ # Remove unused  linter dependency

+ sed -i 's/bandit//' tox.ini

+ 

+ rm aiosmtpd/docs/.gitignore

+ rm examples/authenticated_relayer/.gitignore

+ 

+ %generate_buildrequires

+ %pyproject_buildrequires  -t -e nocov

  

  

  %build

- %py3_build

+ %pyproject_wheel

  

  

  %install

- %py3_install

- # Cleanups

- rm -rf %{buildroot}%{python3_sitelib}/examples

- rm -f  %{buildroot}%{python3_sitelib}/aiosmtpd/docs/.gitignore

+ %pyproject_install

+ 

+ %pyproject_save_files %{pkgname}

  

  

  %check

- %{__python3} -m pytest -v

+ %tox

  

  

- %files -n python%{python3_pkgversion}-%{pkgname}

- %doc README.rst examples

- %if 0%{?with_docs}

- %doc build/sphinx/html

- %endif

+ %files -n python%{python3_pkgversion}-%{pkgname} -f %{pyproject_files}

  %{_bindir}/aiosmtpd

- %{python3_sitelib}/aiosmtpd/

- %{python3_sitelib}/aiosmtpd-*.egg-info/

+ %doc README.rst examples

+ %license LICENSE

  

  

  %changelog

- * Sat May 13 2023 Neal Gompa <ngompa@fedoraproject.org> - 1.4.4.post2-1

- - Update to 1.4.4.post2

- 

- * Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-10

- - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

- 

- * Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-9

- - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild

- 

- * Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.4.2-8

- - Rebuilt for Python 3.11

- 

- * Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-7

- - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild

- 

- * Thu Sep 23 2021 Miro Hrončok <mhroncok@redhat.com> - 1.4.2-6

- - Avoid SSLError: Cannot create a client socket with a PROTOCOL_TLS_SERVER context

- 

- * Fri Sep 17 2021 Neal Gompa <ngompa@fedoraproject.org> - 1.4.2-5

- - Backport patches for some Python 3.10 support

- 

- * Fri Sep 17 2021 Neal Gompa <ngompa@fedoraproject.org> - 1.4.2-4

- - Allow tests to fail to fix FTBFS

- 

- * Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.2-3

- - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild

- 

- * Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.4.2-2

- - Rebuilt for Python 3.10

- 

- * Tue Mar 30 2021 Neal Gompa <ngompa13@gmail.com> - 1.4.2-1

- - Rebase to 1.4.2

- - Drop unused alternate build logic

- 

- * Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-9

- - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild

- 

- * Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-8

- - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild

- 

- * Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-7

- - Rebuilt for Python 3.9

- 

- * Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-6

- - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

- 

- * Mon Sep 30 2019 Aurelien Bompard <abompard@fedoraproject.org> - 1.2.1-2

- - Fix build

- 

- * Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.2.1-4

- - Rebuilt for Python 3.8

- 

- * Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-3

- - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild

- 

- * Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.1-2

- - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild

- 

- * Tue Nov 20 2018 Aurelien Bompard <abompard@fedoraproject.org> - 1.2.1-1

- - Update to 1.2.1.

- 

- * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-6

- - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

- 

- * Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.0-5

- - Rebuilt for Python 3.7

- 

- * Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-4

- - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild

- 

- * Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-3

- - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

- 

- * Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0-2

- - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild

- 

- * Sat Jun 03 2017 Aurelien Bompard <abompard@fedoraproject.org> - 1.0-0.1.a5

- - Update to 1.0 final.

- 

- * Mon Apr 10 2017 Aurelien Bompard <abompard@fedoraproject.org> - 1.0-0.1.a5

- - Update to 1.0a5.

- 

- * Wed Dec 14 2016 Aurelien Bompard <abompard@fedoraproject.org> - 1.0-0.1.a4

- - Initial package.

+ %autochangelog

  • Use SPDX valid license field
  • Use pyproject macros - removed redundant linter dependencies
  • Use autochangelog and autorelease

Thank you! These no longer apply cleanly because of the Python 3.12 rebuild and the commit deselecting some tests for Python 3.12, but I've redone them and credited you in the changelog

https://src.fedoraproject.org/rpms/python-aiosmtpd/c/78c31c041bc4aa446f4fe821f8bf5f19a2e6428f?branch=rawhide

Pull-Request has been closed by salimma

9 months ago
Metadata