## START: Set by rpmautospec ## (rpmautospec version 0.3.5) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 2; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec %global srcname branca Name: python-%{srcname} Version: 0.6.0 Release: %autorelease Summary: Generate complex HTML+JS pages with Python License: MIT URL: https://github.com/python-visualization/branca Source0: https://github.com/python-visualization/%{srcname}/archive/v%{version}/%{srcname}-%{version}.tar.gz BuildArch: noarch %global _description \ This library is a spinoff from folium, that would host the non-map-specific \ features. It may become a HTML+JS generation library in the future. It is based \ on Jinja2 only. %description %{_description} %package -n python3-%{srcname} Summary: %{summary} BuildRequires: python3-devel BuildRequires: python3dist(ipykernel) BuildRequires: python3dist(jupyter-client) BuildRequires: python3dist(nbconvert) BuildRequires: python3dist(pytest) %description -n python3-%{srcname} %{_description} %prep %autosetup -n %{srcname}-%{version} %generate_buildrequires export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %pyproject_buildrequires %build export SETUPTOOLS_SCM_PRETEND_VERSION=%{version} %pyproject_wheel %install %pyproject_install %pyproject_save_files %{srcname} %check # Skip selenium test as Firefox is no longer available that way. rm tests/test_iframe.py %{pytest} %files -n python3-%{srcname} -f %{pyproject_files} %doc README.md %license LICENSE.txt %changelog * Fri Jan 20 2023 Fedora Release Engineering - 0.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sun Nov 20 2022 Elliott Sales de Andrade - 0.6.0-1 - Update to latest version (#2140792) * Fri Jul 22 2022 Fedora Release Engineering - 0.5.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Wed Jun 15 2022 Python Maint - 0.5.0-2 - Rebuilt for Python 3.11 * Mon May 23 2022 Elliott Sales de Andrade - 0.5.0-1 - Update to latest version (#2076309) * Mon May 23 2022 Elliott Sales de Andrade - 0.4.2-7 - Switch to latest Python macros * Fri Jan 21 2022 Fedora Release Engineering - 0.4.2-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 0.4.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 0.4.2-3 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 0.4.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Dec 30 2020 Elliott Sales de Andrade - 0.4.2-1 - Update to latest version (#1911666) * Tue Jul 28 2020 Fedora Release Engineering - 0.4.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 0.4.1-2 - Rebuilt for Python 3.9 * Thu May 07 2020 Elliott Sales de Andrade - 0.4.1-1 - Update to latest version * Tue Feb 18 2020 Elliott Sales de Andrade - 0.4.0-1 - Update to latest version * Thu Jan 30 2020 Fedora Release Engineering - 0.3.1-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Thu Oct 03 2019 Miro Hrončok - 0.3.1-5 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.3.1-4 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 0.3.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Feb 02 2019 Fedora Release Engineering - 0.3.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Wed Dec 12 2018 Elliott Sales de Andrade - 0.3.1-1 - Update to latest version * Sun Jul 15 2018 Elliott Sales de Andrade - 0.3.0-1 - Initial package.