#2 Update to 1.1.1+ pyproject-rpm-macros
Merged 3 years ago by churchyard. Opened 3 years ago by thrnciar.
rpms/ thrnciar/python-guizero update-to-1.1.1  into  master

file modified
+1
@@ -1,3 +1,4 @@ 

  /guizero-0.5.3-4b76aa3.tar.gz

  /guizero-0.6.4.tar.gz

  /guizero-1.1.0.tar.gz

+ /guizero-1.1.1.tar.gz

file modified
+16 -9
@@ -1,8 +1,8 @@ 

  %global pypi_name guizero

  

  Name:           python-%{pypi_name}

- Version:        1.1.0

- Release:        3%{?dist}

+ Version:        1.1.1

+ Release:        1%{?dist}

  Summary:        Python module to allow learners to easily create GUIs

  License:        BSD

  URL:            https://github.com/lawsie/guizero
@@ -11,11 +11,11 @@ 

  

  BuildRequires:  python3-devel

  BuildRequires:  python3-tkinter

- BuildRequires:  python3dist(setuptools)

  BuildRequires:  python3dist(pytest)

  BuildRequires:  /usr/bin/xvfb-run

  BuildRequires:  font(dejavusans)

  BuildRequires:  font(dejavuserif)

+ BuildRequires:  pyproject-rpm-macros

  

  %description

  Guizero is designed to allow new learners to quickly and easily create
@@ -34,6 +34,10 @@ 

  GUIs for their programs.

  

  

+ %generate_buildrequires

+ %pyproject_buildrequires -r

+ 

+ 

  %prep

  %autosetup -n %{pypi_name}-%{version}

  
@@ -43,29 +47,32 @@ 

  

  

  %build

- %py3_build

+ %pyproject_wheel

  

  

  %install

- %py3_install

+ %pyproject_install

+ %pyproject_save_files guizero

  

  

  %check

  # if called form builddir, tests open a window when collecting and hang until closed

  pushd tests

- export PYTHONPATH=%{buildroot}%{python3_sitelib} 

+ export PYTHONPATH=%{buildroot}%{python3_sitelib}

  xvfb-run %{__python3} -m pytest -v

  popd

  

  

- %files -n python3-%{pypi_name}

+ %files -n python3-%{pypi_name} -f %{pyproject_files}

  %doc README.md

  %license license.txt

- %{python3_sitelib}/%{pypi_name}/

- %{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info/

  

  

  %changelog

+ * Thu Jan 14 09:32:39 CET 2021 Tomas Hrnciar <thrnciar@redhat.com> - 1.1.0-4

+ - Update to 1.1.1

+ - Spec converted to use pyproject-rpm-macros

+ 

  * Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-3

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

  

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (guizero-1.1.0.tar.gz) = 014a484e7e66f6d38bea48e8f6a0192b260d1aab8cdc15283eeb9a11a6afdb11f49c1c6a37ff7059ddb86bb70de7760c5af4e783802fa27fbacbc0a79587dd0c

+ SHA512 (guizero-1.1.1.tar.gz) = 34cbd28939bdb6497241b6cc9a8566ea7e8b18258fe19a0ebe18243f80c46601d2e2d52206bea3528303ad9b5475c4d842b13498406b13d87b9b82a575ad1fd0