## START: Set by rpmautospec ## (rpmautospec version 0.3.0) %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 %bcond_without test Name: py3status Version: 3.48 Release: %autorelease Summary: An extensible i3status wrapper written in python License: BSD-3-Clause URL: https://github.com/ultrabug/py3status Source0: https://github.com/ultrabug/%{name}/archive/%{version}/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: python3-devel BuildRequires: python3-setuptools %if %{with test} BuildRequires: python3-tox python3-tox-current-env python3-pytest %endif Requires: i3status Obsoletes: %{name}-doc < 3.44-1 %description Using py3status, you can take control of your i3bar easily by: - writing your own modules and have their output displayed on your bar - handling click events on your i3bar and play with them in no time - seeing your clock tick every second whatever your i3status interval No extra configuration file needed, just install & enjoy ! %prep %setup -q -n %{name}-%{version} %build %py3_build %install %py3_install %if %{with test} %check # disable linters sed -i -e '/{envbindir}\/black/d' -e 's/pytest --flake8/pytest/' tox.ini # test in install environment sed -i -e 's#{envbindir}/##' tox.ini %tox %endif %files %license LICENSE %doc README.md CHANGELOG %{_bindir}/py3-cmd %{_bindir}/py3status %dir %{python3_sitelib}/py3status %{python3_sitelib}/py3status/* %{python3_sitelib}/*.egg-info %changelog * Fri Jan 20 2023 Fedora Release Engineering 3.48-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild * Sun Jan 15 2023 Michael J Gruber 3.48-1 - Upgrade to version 3.48 (rhbz#2160987) - IMPORTANT: bluetooth module has been replaced by the bluetooth2 code, please migrate - clock module: migrate to standard zoneinfo - timewarrior module: remove dependency on dateutil - volume_status module: deprecate start_delay parameter (init retreies smarter now) * Tue Dec 06 2022 Michael J Gruber 3.47-2 - SPDX migration * Mon Oct 03 2022 Michael J Gruber 3.47-1 - Upgrade to version 3.47 (rhbz#2131607) - formatter: add escape command to escape html - new module from scratch: bluetooth2 (users are encouraged to switch) - volume_status module: autoselect channel on amixer backend * Sat Aug 27 2022 Michael J Gruber 3.46-1 - Upgrade to version 3.46 (rhbz#2121862) - core: use git package for logging git commit information if available - new audiosink module: switch between pulseaudio sinks from your bar * Fri Jul 22 2022 Fedora Release Engineering - 3.45-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 20 2022 Python Maint - 3.45-2 - Rebuilt for Python 3.11 * Sun Jun 19 2022 Michael J Gruber - 3.45-1 - Upgrade to version 3.45 (bz #1925984) - Disable linters * Thu Jun 09 2022 Michael J Gruber - 3.44-1 - Upgrade to version 3.44 (bz #1925984) - Clean up spec file - Drop doc subpackage (see bz #2006555) - Reenable tests * Fri Jan 21 2022 Fedora Release Engineering - 3.34-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Fri Jul 23 2021 Fedora Release Engineering - 3.34-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 3.34-2 - Rebuilt for Python 3.10 * Fri Mar 5 2021 Jakub Jedelsky - 3.34-1 - Bump to 3.34 * Wed Jan 27 2021 Fedora Release Engineering - 3.31-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Tue Dec 29 2020 Jakub Jedelsky - 3.31-1 - Bump to 3.31 * Sat Oct 24 2020 Jakub Jedelsky - 3.30-1 - Bump to 3.30 * Tue Jul 28 2020 Fedora Release Engineering - 3.24-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 3.24-3 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 3.24-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sat Jan 11 2020 Jakub Jedelsky - 3.24-1 - Upgrade to version 3.24 * Sun Jan 05 2020 Jakub Jedelsky - 3.23-1 - Upgrade to version 3.23 * Wed Oct 23 2019 Jakub Jedelsky - 3.21-1 - Upgrade to version 3.21 * Thu Oct 03 2019 Miro Hrončok - 3.19-4 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 3.19-3 - Rebuilt for Python 3.8 * Fri Jul 26 2019 Fedora Release Engineering - 3.19-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri May 10 2019 Jakub Jedelsky - 3.19-1 - Upgrade to version 3.19 * Wed Feb 20 2019 Jakub Jedelsky - 3.16-1 - Upgrade to version 3.16 * Sat Feb 02 2019 Fedora Release Engineering - 3.12-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Aug 10 2018 Jakub Jedelsky - 3.12-1 - Update to new version * Fri Jul 13 2018 Fedora Release Engineering - 3.11-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Mon Jul 09 2018 Jakub Jedelsky - 3.11-1 - Update to new version * Tue Jun 19 2018 Miro Hrončok - 3.9-2 - Rebuilt for Python 3.7 * Thu May 17 2018 Jakub Jedelsky - 3.9-1 - Update to new version * Mon Apr 16 2018 Jakub Jedelsky - 3.8-1 - Update to new version (BZ#1563227) * Fri Feb 09 2018 Igor Gnatenko - 3.6-4 - Escape macros in %%changelog * Fri Feb 09 2018 Fedora Release Engineering - 3.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 24 2017 Jakub Jedelsky - 3.5-2 - don't build -doc subpackage for F25, there is a weird error * Thu Aug 24 2017 Jakub Jedelsky - 3.5-1 - update to version 3.6 - add -doc subpackage * Thu Jul 27 2017 Fedora Release Engineering - 3.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Mon Apr 10 2017 Jakub Jedelsky - 3.5-1 - update to version 3.5 * Sat Feb 11 2017 Fedora Release Engineering - 3.3-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 3.3-2 - Rebuild for Python 3.6 * Sun Nov 20 2016 Jakub Jedelsky - 3.3-1 - update to version 3.3 * Thu Nov 03 2016 Jakub Jedelsky - 3.2-1 - update to version 3.2 * Thu Sep 15 2016 Jakub Jedelsky - 3.1-1 - update to version 3.1 * Tue Jul 19 2016 Fedora Release Engineering - 3.0-2 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Mon Jun 27 2016 Jakub Jedelsky - 3.0-1 - update to version 3.0 * Thu Apr 21 2016 Jakub Jedelsky - 2.9-1 - update to version 2.9 - use python3 support as default (BZ#1282483) * Thu Feb 04 2016 Fedora Release Engineering - 2.7-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Nov 12 2015 Jakub Jedelsky - 2.7-1 - update to version 2.7 * Mon Aug 31 2015 Jakub Jedelsky - 2.6-2 - fix modules location, it won't be used in %%doc anymore * Mon Aug 31 2015 Jakub Jedelsky - 2.6-1 - update to version 2.6 * Tue Aug 25 2015 Jakub Jedelsky - 2.5-1 - update to version 2.5 * Thu Jul 16 2015 Jakub Jedelsky - 2.4-1 - update to version 2.4 * Thu Jun 18 2015 Fedora Release Engineering - 2.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Thu Jan 29 2015 Jakub Jedelsky - 2.2-2 - move modules dir into docs * Thu Jan 22 2015 Jakub Jedelsky - 2.2-1 - update to new version * Mon Oct 27 2014 Jakub Jedelsky - 1.6-1 - inital package