diff --git a/.gitignore b/.gitignore index 8bc85d5..9380177 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,3 @@ /emacs-blacken-1874018.tar.gz +/emacs-blacken-784da60.tar.gz +/emacs-blacken-880cf50.tar.gz diff --git a/blacken-init.el b/blacken-init.el index c84e9a2..67a47e1 100644 --- a/blacken-init.el +++ b/blacken-init.el @@ -8,4 +8,9 @@ Show black output, if black exit abnormally and DISPLAY is t. (autoload 'blacken-mode "blacken" "\ Automatically run black before saving. +If called interactively, enable Blacken mode if ARG is positive, +and disable it if ARG is zero or negative. If called from Lisp, +also enable the mode if ARG is omitted or nil, and toggle it if +ARG is `toggle'; disable the mode otherwise. + \(fn &optional ARG)" t nil) diff --git a/emacs-blacken.spec b/emacs-blacken.spec index f70d178..5af5c22 100644 --- a/emacs-blacken.spec +++ b/emacs-blacken.spec @@ -1,16 +1,17 @@ %global pkg blacken -%global commit 1874018ae242176d0780cdcd0109e8f9a123a914 +%global commit 880cf502198753643a3e2ccd4131ee6973be2e8a %global shortcommit %(c=%{commit}; echo ${c:0:7}) -%global commitdate 20190521 +%global commitdate 20210406 Name: emacs-%{pkg} Version: 0 -Release: 0.2.%{commitdate}git%{shortcommit}%{?dist} +Release: 0.17.%{commitdate}git%{shortcommit}%{?dist} Summary: Python Black for Emacs -License: GPLv3+ -URL: https://github.com/proofit404/%{pkg} +# Automatically converted from old format: GPLv3+ - review is highly recommended. +License: GPL-3.0-or-later +URL: https://github.com/pythonic-emacs/%{pkg} Source0: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz Source1: %{pkg}-init.el @@ -46,11 +47,58 @@ install -Dpm 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_emacs_sitestartdir}/%{pkg}-init.e %files +%doc README.md %{_emacs_sitelispdir}/%{pkg}/ %{_emacs_sitestartdir}/*.el %changelog +* Wed Jul 23 2025 Fedora Release Engineering - 0-0.17.20210406git880cf50 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Thu Jan 16 2025 Fedora Release Engineering - 0-0.16.20210406git880cf50 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Thu Jul 25 2024 Miroslav Suchý - 0-0.15.20210406git880cf50 +- convert license to SPDX + +* Wed Jul 17 2024 Fedora Release Engineering - 0-0.14.20210406git880cf50 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Wed Jan 24 2024 Fedora Release Engineering - 0-0.13.20210406git880cf50 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Fri Jan 19 2024 Fedora Release Engineering - 0-0.12.20210406git880cf50 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Jul 19 2023 Fedora Release Engineering - 0-0.11.20210406git880cf50 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jan 19 2023 Fedora Release Engineering - 0-0.10.20210406git880cf50 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Jul 21 2022 Fedora Release Engineering - 0-0.9.20210406git880cf50 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu Jan 20 2022 Fedora Release Engineering - 0-0.8.20210406git880cf50 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Sun Sep 05 2021 Mohamed El Morabity - 0-0.7.20210406git880cf50 +- Update to latest snapshot + +* Wed Jul 21 2021 Fedora Release Engineering - 0-0.6.20200626git784da60 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jan 26 2021 Fedora Release Engineering - 0-0.5.20200626git784da60 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Sep 01 2020 Mohamed El Morabity - 0-0.4.20200626git784da60 +- Switch to new upstream +- Update to latest snapshot + +* Mon Jul 27 2020 Fedora Release Engineering - 0-0.3.20190521git1874018 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Tue Jan 28 2020 Fedora Release Engineering - 0-0.2.20190521git1874018 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild diff --git a/sources b/sources index d4009d3..628700c 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (emacs-blacken-1874018.tar.gz) = c5446cd103d5855b2c12ce0120adf6a43c03bf1c6636a8120f15357117b97ebc82df03dcfc492d353235fdf7bf1c90db30937cdf0c45b64681eebf365790c77d +SHA512 (emacs-blacken-880cf50.tar.gz) = 8ae99f18439bd115c1d8cfe443ff0bfd813a45d696c954804810d1cc90ed3ffd24ea8c2eefd6b93d746431173d0239f38f4865c35edf553e1e7773285c31d27c