Compare commits
1 commit
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5f18939f71 |
4 changed files with 16 additions and 5 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1 +1,2 @@
|
|||
/emacs-blacken-1874018.tar.gz
|
||||
/emacs-blacken-784da60.tar.gz
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -1,16 +1,16 @@
|
|||
%global pkg blacken
|
||||
|
||||
%global commit 1874018ae242176d0780cdcd0109e8f9a123a914
|
||||
%global commit 784da60033fe3743336d1da0f33239f1bf514266
|
||||
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
||||
%global commitdate 20190521
|
||||
%global commitdate 20200626
|
||||
|
||||
Name: emacs-%{pkg}
|
||||
Version: 0
|
||||
Release: 0.2.%{commitdate}git%{shortcommit}%{?dist}
|
||||
Release: 0.3.%{commitdate}git%{shortcommit}%{?dist}
|
||||
Summary: Python Black for Emacs
|
||||
|
||||
License: GPLv3+
|
||||
URL: https://github.com/proofit404/%{pkg}
|
||||
URL: https://github.com/pythonic-emacs/%{pkg}
|
||||
Source0: %{url}/archive/%{commit}/%{name}-%{shortcommit}.tar.gz
|
||||
Source1: %{pkg}-init.el
|
||||
|
||||
|
|
@ -46,11 +46,16 @@ install -Dpm 0644 %{SOURCE1} $RPM_BUILD_ROOT%{_emacs_sitestartdir}/%{pkg}-init.e
|
|||
|
||||
|
||||
%files
|
||||
%doc README.md
|
||||
%{_emacs_sitelispdir}/%{pkg}/
|
||||
%{_emacs_sitestartdir}/*.el
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Sep 01 2020 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0-0.3.20200626git784da60
|
||||
- Switch to new upstream
|
||||
- Update to latest snapshot
|
||||
|
||||
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0-0.2.20190521git1874018
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (emacs-blacken-1874018.tar.gz) = c5446cd103d5855b2c12ce0120adf6a43c03bf1c6636a8120f15357117b97ebc82df03dcfc492d353235fdf7bf1c90db30937cdf0c45b64681eebf365790c77d
|
||||
SHA512 (emacs-blacken-784da60.tar.gz) = 6d921edadbb930078b32f807ae4790787b28ebe3febd7fd1f559a79866239f02cc26359b0227fa7490033b6b1eed64e3337f7e8a332e287b3449ac4f32b76c9d
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue