Files
python-Lektor/python-Lektor.spec

121 lines
3.8 KiB
RPMSpec
Raw Permalink Normal View History

#
# spec file for package python-Lektor
#
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%bcond_without python2
- Update to 3.3.5: - Backport #1044. Fixes 404 from admin server for /admin. - Backport #1033. Fixes TypeError from click==8.1.3. - Back-port #1019: fixes for werkzeug 2.1.0. - Update to 3.3.2: - Enabled the Jinja debug extension when the LEKTOR_DEV env var is set to 1 and lektor server is used. (#984) - The wording in the LICENSE file was standardized to that of the current BSD 3-Clause License. (#972) - Fix overzealous HTML-entity escaping of link and image attributes. (#989) - Fix a bug in make_editor_session when editing non-existant pages with a non-primary alt. (#964) - Fix the ability to add an initial flowblock to a page. (Broken in 3.3.1.) - Refactor API views to move business logic back into the Tree adapter (#967). This fixes #962. - Changed the structure of the URLs used by the GUI single-page app (#976). This fixes problems with the "edit" pencil when using alternatives (#975), and issues when page ids include colons (#610). - Other React refactors and fixes (#988). - Fix Attachment.url_path when alternatives are in use. There is only one copy of each attachment emitted — the url_path should always be that corresponding to the primary alternative. (#958) - Pad.get, if not passed an explicit value for the alt parameter, now returns the record for the primary alternative rather than the fallback record. Similarly, Pad.root now returns the root record for the primary alternative. (#958, OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Lektor?expand=0&rev=19
2022-07-22 22:48:19 +00:00
%define modname Lektor
Name: python-Lektor
Version: 3.3.7
Release: 0
Summary: A static content management system
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/lektor/lektor/
- Update to 3.3.5: - Backport #1044. Fixes 404 from admin server for /admin. - Backport #1033. Fixes TypeError from click==8.1.3. - Back-port #1019: fixes for werkzeug 2.1.0. - Update to 3.3.2: - Enabled the Jinja debug extension when the LEKTOR_DEV env var is set to 1 and lektor server is used. (#984) - The wording in the LICENSE file was standardized to that of the current BSD 3-Clause License. (#972) - Fix overzealous HTML-entity escaping of link and image attributes. (#989) - Fix a bug in make_editor_session when editing non-existant pages with a non-primary alt. (#964) - Fix the ability to add an initial flowblock to a page. (Broken in 3.3.1.) - Refactor API views to move business logic back into the Tree adapter (#967). This fixes #962. - Changed the structure of the URLs used by the GUI single-page app (#976). This fixes problems with the "edit" pencil when using alternatives (#975), and issues when page ids include colons (#610). - Other React refactors and fixes (#988). - Fix Attachment.url_path when alternatives are in use. There is only one copy of each attachment emitted — the url_path should always be that corresponding to the primary alternative. (#958) - Pad.get, if not passed an explicit value for the alt parameter, now returns the record for the primary alternative rather than the fallback record. Similarly, Pad.root now returns the root record for the primary alternative. (#958, OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Lektor?expand=0&rev=19
2022-07-22 22:48:19 +00:00
Source: https://files.pythonhosted.org/packages/source/L/%{modname}/%{modname}-%{version}.tar.gz
# PATCH-FIX-UPSTREAM new_version_of_mistune.patch gh#lektor/lektor#944 mcepl@suse.com
# Make package working with mistune 2.*
Patch0: new_version_of_mistune.patch
BuildRequires: %{python_module flit-core}
BuildRequires: %{python_module pip}
- Update to 3.3.5: - Backport #1044. Fixes 404 from admin server for /admin. - Backport #1033. Fixes TypeError from click==8.1.3. - Back-port #1019: fixes for werkzeug 2.1.0. - Update to 3.3.2: - Enabled the Jinja debug extension when the LEKTOR_DEV env var is set to 1 and lektor server is used. (#984) - The wording in the LICENSE file was standardized to that of the current BSD 3-Clause License. (#972) - Fix overzealous HTML-entity escaping of link and image attributes. (#989) - Fix a bug in make_editor_session when editing non-existant pages with a non-primary alt. (#964) - Fix the ability to add an initial flowblock to a page. (Broken in 3.3.1.) - Refactor API views to move business logic back into the Tree adapter (#967). This fixes #962. - Changed the structure of the URLs used by the GUI single-page app (#976). This fixes problems with the "edit" pencil when using alternatives (#975), and issues when page ids include colons (#610). - Other React refactors and fixes (#988). - Fix Attachment.url_path when alternatives are in use. There is only one copy of each attachment emitted — the url_path should always be that corresponding to the primary alternative. (#958) - Pad.get, if not passed an explicit value for the alt parameter, now returns the record for the primary alternative rather than the fallback record. Similarly, Pad.root now returns the root record for the primary alternative. (#958, OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Lektor?expand=0&rev=19
2022-07-22 22:48:19 +00:00
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Babel
Requires: python-ExifRead
Requires: python-Flask
- Update to 3.2.0: - Fix off-by-one error in pagination's iter_pages in the interpretation of the right_current argument, and adding an appropriate trailing None for some uses. - Add support for setting an output_path in the project file. - Replaced the slugify backend to handle unicode more effectively. This should mean greater language support, but it may produce slightly different results in some cases. - Several modernization and performance improvements to the admin UI - Improved speed of source info updates. - Set colorspace to sRGB for thumbnails. - Now stripping profiles and comments from thumbnails. - Added support for deleting and excluding files for the rsync deployment publisher. - Improved speed of flow rendering in the admin UI. - Bugfix to correctly calculate relative urls from slugs that contain dots. - Bugfix to allow negative integers in integer fields in the admin UI. - Improved image-heavy build speeds by reducing the amount of data extracted from EXIFs. - Added the ability to collapse flow elements in the admin UI. - Now extra_flags is passed to all plugin events. - Extra flags can now be passed to the clean and dev shell CLI commands. - Bugfix where lektor plugins reinstall triggered on_setup_env instead of just reinstalling plugins. - Added the ability to generate video thumbnails with ffmpeg. - Added mode and upscale thumbnail arguments, changing the preferred crop method to using mode. mode can be crop, fit, or stretch. upscale=False can now prevent upscaling. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Lektor?expand=0&rev=11
2021-08-05 21:12:50 +00:00
Requires: python-Jinja2 >= 2.11
Requires: python-click >= 6.0
- Update to 3.2.0: - Fix off-by-one error in pagination's iter_pages in the interpretation of the right_current argument, and adding an appropriate trailing None for some uses. - Add support for setting an output_path in the project file. - Replaced the slugify backend to handle unicode more effectively. This should mean greater language support, but it may produce slightly different results in some cases. - Several modernization and performance improvements to the admin UI - Improved speed of source info updates. - Set colorspace to sRGB for thumbnails. - Now stripping profiles and comments from thumbnails. - Added support for deleting and excluding files for the rsync deployment publisher. - Improved speed of flow rendering in the admin UI. - Bugfix to correctly calculate relative urls from slugs that contain dots. - Bugfix to allow negative integers in integer fields in the admin UI. - Improved image-heavy build speeds by reducing the amount of data extracted from EXIFs. - Added the ability to collapse flow elements in the admin UI. - Now extra_flags is passed to all plugin events. - Extra flags can now be passed to the clean and dev shell CLI commands. - Bugfix where lektor plugins reinstall triggered on_setup_env instead of just reinstalling plugins. - Added the ability to generate video thumbnails with ffmpeg. - Added mode and upscale thumbnail arguments, changing the preferred crop method to using mode. mode can be crop, fit, or stretch. upscale=False can now prevent upscaling. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Lektor?expand=0&rev=11
2021-08-05 21:12:50 +00:00
Requires: python-filetype >= 1.0.7
Requires: python-inifile
Requires: python-mistune >= 0.7.0
- Update to 3.2.0: - Fix off-by-one error in pagination's iter_pages in the interpretation of the right_current argument, and adding an appropriate trailing None for some uses. - Add support for setting an output_path in the project file. - Replaced the slugify backend to handle unicode more effectively. This should mean greater language support, but it may produce slightly different results in some cases. - Several modernization and performance improvements to the admin UI - Improved speed of source info updates. - Set colorspace to sRGB for thumbnails. - Now stripping profiles and comments from thumbnails. - Added support for deleting and excluding files for the rsync deployment publisher. - Improved speed of flow rendering in the admin UI. - Bugfix to correctly calculate relative urls from slugs that contain dots. - Bugfix to allow negative integers in integer fields in the admin UI. - Improved image-heavy build speeds by reducing the amount of data extracted from EXIFs. - Added the ability to collapse flow elements in the admin UI. - Now extra_flags is passed to all plugin events. - Extra flags can now be passed to the clean and dev shell CLI commands. - Bugfix where lektor plugins reinstall triggered on_setup_env instead of just reinstalling plugins. - Added the ability to generate video thumbnails with ffmpeg. - Added mode and upscale thumbnail arguments, changing the preferred crop method to using mode. mode can be crop, fit, or stretch. upscale=False can now prevent upscaling. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Lektor?expand=0&rev=11
2021-08-05 21:12:50 +00:00
Requires: python-python-slugify
Requires: python-requests
Requires: python-setuptools
Requires: python-watchdog
Requires(post): update-alternatives
- Update to 3.2.0: - Fix off-by-one error in pagination's iter_pages in the interpretation of the right_current argument, and adding an appropriate trailing None for some uses. - Add support for setting an output_path in the project file. - Replaced the slugify backend to handle unicode more effectively. This should mean greater language support, but it may produce slightly different results in some cases. - Several modernization and performance improvements to the admin UI - Improved speed of source info updates. - Set colorspace to sRGB for thumbnails. - Now stripping profiles and comments from thumbnails. - Added support for deleting and excluding files for the rsync deployment publisher. - Improved speed of flow rendering in the admin UI. - Bugfix to correctly calculate relative urls from slugs that contain dots. - Bugfix to allow negative integers in integer fields in the admin UI. - Improved image-heavy build speeds by reducing the amount of data extracted from EXIFs. - Added the ability to collapse flow elements in the admin UI. - Now extra_flags is passed to all plugin events. - Extra flags can now be passed to the clean and dev shell CLI commands. - Bugfix where lektor plugins reinstall triggered on_setup_env instead of just reinstalling plugins. - Added the ability to generate video thumbnails with ffmpeg. - Added mode and upscale thumbnail arguments, changing the preferred crop method to using mode. mode can be crop, fit, or stretch. upscale=False can now prevent upscaling. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Lektor?expand=0&rev=11
2021-08-05 21:12:50 +00:00
Requires(postun):update-alternatives
Suggests: git-core
Suggests: python-pip
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module Babel}
BuildRequires: %{python_module ExifRead}
BuildRequires: %{python_module Flask}
- Update to 3.2.0: - Fix off-by-one error in pagination's iter_pages in the interpretation of the right_current argument, and adding an appropriate trailing None for some uses. - Add support for setting an output_path in the project file. - Replaced the slugify backend to handle unicode more effectively. This should mean greater language support, but it may produce slightly different results in some cases. - Several modernization and performance improvements to the admin UI - Improved speed of source info updates. - Set colorspace to sRGB for thumbnails. - Now stripping profiles and comments from thumbnails. - Added support for deleting and excluding files for the rsync deployment publisher. - Improved speed of flow rendering in the admin UI. - Bugfix to correctly calculate relative urls from slugs that contain dots. - Bugfix to allow negative integers in integer fields in the admin UI. - Improved image-heavy build speeds by reducing the amount of data extracted from EXIFs. - Added the ability to collapse flow elements in the admin UI. - Now extra_flags is passed to all plugin events. - Extra flags can now be passed to the clean and dev shell CLI commands. - Bugfix where lektor plugins reinstall triggered on_setup_env instead of just reinstalling plugins. - Added the ability to generate video thumbnails with ffmpeg. - Added mode and upscale thumbnail arguments, changing the preferred crop method to using mode. mode can be crop, fit, or stretch. upscale=False can now prevent upscaling. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Lektor?expand=0&rev=11
2021-08-05 21:12:50 +00:00
BuildRequires: %{python_module Jinja2 >= 2.11}
BuildRequires: %{python_module click >= 6.0}
BuildRequires: %{python_module cryptography >= 1.3.4}
- Update to 3.2.0: - Fix off-by-one error in pagination's iter_pages in the interpretation of the right_current argument, and adding an appropriate trailing None for some uses. - Add support for setting an output_path in the project file. - Replaced the slugify backend to handle unicode more effectively. This should mean greater language support, but it may produce slightly different results in some cases. - Several modernization and performance improvements to the admin UI - Improved speed of source info updates. - Set colorspace to sRGB for thumbnails. - Now stripping profiles and comments from thumbnails. - Added support for deleting and excluding files for the rsync deployment publisher. - Improved speed of flow rendering in the admin UI. - Bugfix to correctly calculate relative urls from slugs that contain dots. - Bugfix to allow negative integers in integer fields in the admin UI. - Improved image-heavy build speeds by reducing the amount of data extracted from EXIFs. - Added the ability to collapse flow elements in the admin UI. - Now extra_flags is passed to all plugin events. - Extra flags can now be passed to the clean and dev shell CLI commands. - Bugfix where lektor plugins reinstall triggered on_setup_env instead of just reinstalling plugins. - Added the ability to generate video thumbnails with ffmpeg. - Added mode and upscale thumbnail arguments, changing the preferred crop method to using mode. mode can be crop, fit, or stretch. upscale=False can now prevent upscaling. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Lektor?expand=0&rev=11
2021-08-05 21:12:50 +00:00
BuildRequires: %{python_module filetype >= 1.0.7}
BuildRequires: %{python_module inifile}
BuildRequires: %{python_module mistune >= 0.7.0}
BuildRequires: %{python_module pyOpenSSL >= 0.14}
- Update to 3.2.0: - Fix off-by-one error in pagination's iter_pages in the interpretation of the right_current argument, and adding an appropriate trailing None for some uses. - Add support for setting an output_path in the project file. - Replaced the slugify backend to handle unicode more effectively. This should mean greater language support, but it may produce slightly different results in some cases. - Several modernization and performance improvements to the admin UI - Improved speed of source info updates. - Set colorspace to sRGB for thumbnails. - Now stripping profiles and comments from thumbnails. - Added support for deleting and excluding files for the rsync deployment publisher. - Improved speed of flow rendering in the admin UI. - Bugfix to correctly calculate relative urls from slugs that contain dots. - Bugfix to allow negative integers in integer fields in the admin UI. - Improved image-heavy build speeds by reducing the amount of data extracted from EXIFs. - Added the ability to collapse flow elements in the admin UI. - Now extra_flags is passed to all plugin events. - Extra flags can now be passed to the clean and dev shell CLI commands. - Bugfix where lektor plugins reinstall triggered on_setup_env instead of just reinstalling plugins. - Added the ability to generate video thumbnails with ffmpeg. - Added mode and upscale thumbnail arguments, changing the preferred crop method to using mode. mode can be crop, fit, or stretch. upscale=False can now prevent upscaling. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Lektor?expand=0&rev=11
2021-08-05 21:12:50 +00:00
BuildRequires: %{python_module pylint}
BuildRequires: %{python_module pytest-click}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest}
- Update to 3.2.0: - Fix off-by-one error in pagination's iter_pages in the interpretation of the right_current argument, and adding an appropriate trailing None for some uses. - Add support for setting an output_path in the project file. - Replaced the slugify backend to handle unicode more effectively. This should mean greater language support, but it may produce slightly different results in some cases. - Several modernization and performance improvements to the admin UI - Improved speed of source info updates. - Set colorspace to sRGB for thumbnails. - Now stripping profiles and comments from thumbnails. - Added support for deleting and excluding files for the rsync deployment publisher. - Improved speed of flow rendering in the admin UI. - Bugfix to correctly calculate relative urls from slugs that contain dots. - Bugfix to allow negative integers in integer fields in the admin UI. - Improved image-heavy build speeds by reducing the amount of data extracted from EXIFs. - Added the ability to collapse flow elements in the admin UI. - Now extra_flags is passed to all plugin events. - Extra flags can now be passed to the clean and dev shell CLI commands. - Bugfix where lektor plugins reinstall triggered on_setup_env instead of just reinstalling plugins. - Added the ability to generate video thumbnails with ffmpeg. - Added mode and upscale thumbnail arguments, changing the preferred crop method to using mode. mode can be crop, fit, or stretch. upscale=False can now prevent upscaling. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Lektor?expand=0&rev=11
2021-08-05 21:12:50 +00:00
BuildRequires: %{python_module python-slugify}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module watchdog}
BuildRequires: git-core
%if %{with python2}
BuildRequires: python2-functools32
%endif
# /SECTION
%ifpython2
Requires: python-functools32
%endif
%python_subpackages
%description
A static content management system for building complex websites out
of flat files for people who do not want to make a compromise between
a CMS and a static blog engine.
%prep
- Update to 3.3.5: - Backport #1044. Fixes 404 from admin server for /admin. - Backport #1033. Fixes TypeError from click==8.1.3. - Back-port #1019: fixes for werkzeug 2.1.0. - Update to 3.3.2: - Enabled the Jinja debug extension when the LEKTOR_DEV env var is set to 1 and lektor server is used. (#984) - The wording in the LICENSE file was standardized to that of the current BSD 3-Clause License. (#972) - Fix overzealous HTML-entity escaping of link and image attributes. (#989) - Fix a bug in make_editor_session when editing non-existant pages with a non-primary alt. (#964) - Fix the ability to add an initial flowblock to a page. (Broken in 3.3.1.) - Refactor API views to move business logic back into the Tree adapter (#967). This fixes #962. - Changed the structure of the URLs used by the GUI single-page app (#976). This fixes problems with the "edit" pencil when using alternatives (#975), and issues when page ids include colons (#610). - Other React refactors and fixes (#988). - Fix Attachment.url_path when alternatives are in use. There is only one copy of each attachment emitted — the url_path should always be that corresponding to the primary alternative. (#958) - Pad.get, if not passed an explicit value for the alt parameter, now returns the record for the primary alternative rather than the fallback record. Similarly, Pad.root now returns the root record for the primary alternative. (#958, OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Lektor?expand=0&rev=19
2022-07-22 22:48:19 +00:00
%autosetup -p1 -n %{modname}-%{version}
- Update to 3.2.0: - Fix off-by-one error in pagination's iter_pages in the interpretation of the right_current argument, and adding an appropriate trailing None for some uses. - Add support for setting an output_path in the project file. - Replaced the slugify backend to handle unicode more effectively. This should mean greater language support, but it may produce slightly different results in some cases. - Several modernization and performance improvements to the admin UI - Improved speed of source info updates. - Set colorspace to sRGB for thumbnails. - Now stripping profiles and comments from thumbnails. - Added support for deleting and excluding files for the rsync deployment publisher. - Improved speed of flow rendering in the admin UI. - Bugfix to correctly calculate relative urls from slugs that contain dots. - Bugfix to allow negative integers in integer fields in the admin UI. - Improved image-heavy build speeds by reducing the amount of data extracted from EXIFs. - Added the ability to collapse flow elements in the admin UI. - Now extra_flags is passed to all plugin events. - Extra flags can now be passed to the clean and dev shell CLI commands. - Bugfix where lektor plugins reinstall triggered on_setup_env instead of just reinstalling plugins. - Added the ability to generate video thumbnails with ffmpeg. - Added mode and upscale thumbnail arguments, changing the preferred crop method to using mode. mode can be crop, fit, or stretch. upscale=False can now prevent upscaling. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Lektor?expand=0&rev=11
2021-08-05 21:12:50 +00:00
%build
%pyproject_wheel
%install
%pyproject_install
%python_clone -a %{buildroot}%{_bindir}/lektor
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
export LANG=en_US.UTF8
- Update to 3.3.5: - Backport #1044. Fixes 404 from admin server for /admin. - Backport #1033. Fixes TypeError from click==8.1.3. - Back-port #1019: fixes for werkzeug 2.1.0. - Update to 3.3.2: - Enabled the Jinja debug extension when the LEKTOR_DEV env var is set to 1 and lektor server is used. (#984) - The wording in the LICENSE file was standardized to that of the current BSD 3-Clause License. (#972) - Fix overzealous HTML-entity escaping of link and image attributes. (#989) - Fix a bug in make_editor_session when editing non-existant pages with a non-primary alt. (#964) - Fix the ability to add an initial flowblock to a page. (Broken in 3.3.1.) - Refactor API views to move business logic back into the Tree adapter (#967). This fixes #962. - Changed the structure of the URLs used by the GUI single-page app (#976). This fixes problems with the "edit" pencil when using alternatives (#975), and issues when page ids include colons (#610). - Other React refactors and fixes (#988). - Fix Attachment.url_path when alternatives are in use. There is only one copy of each attachment emitted — the url_path should always be that corresponding to the primary alternative. (#958) - Pad.get, if not passed an explicit value for the alt parameter, now returns the record for the primary alternative rather than the fallback record. Similarly, Pad.root now returns the root record for the primary alternative. (#958, OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Lektor?expand=0&rev=19
2022-07-22 22:48:19 +00:00
rm -v tests/test_markdown.py
# Test suite expects a git repo
git init -b master
- Update to 3.3.5: - Backport #1044. Fixes 404 from admin server for /admin. - Backport #1033. Fixes TypeError from click==8.1.3. - Back-port #1019: fixes for werkzeug 2.1.0. - Update to 3.3.2: - Enabled the Jinja debug extension when the LEKTOR_DEV env var is set to 1 and lektor server is used. (#984) - The wording in the LICENSE file was standardized to that of the current BSD 3-Clause License. (#972) - Fix overzealous HTML-entity escaping of link and image attributes. (#989) - Fix a bug in make_editor_session when editing non-existant pages with a non-primary alt. (#964) - Fix the ability to add an initial flowblock to a page. (Broken in 3.3.1.) - Refactor API views to move business logic back into the Tree adapter (#967). This fixes #962. - Changed the structure of the URLs used by the GUI single-page app (#976). This fixes problems with the "edit" pencil when using alternatives (#975), and issues when page ids include colons (#610). - Other React refactors and fixes (#988). - Fix Attachment.url_path when alternatives are in use. There is only one copy of each attachment emitted — the url_path should always be that corresponding to the primary alternative. (#958) - Pad.get, if not passed an explicit value for the alt parameter, now returns the record for the primary alternative rather than the fallback record. Similarly, Pad.root now returns the root record for the primary alternative. (#958, OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Lektor?expand=0&rev=19
2022-07-22 22:48:19 +00:00
%pytest -k 'not (requiresinternet or test_resolve_artifact)'
%post
%python_install_alternative lektor
%postun
%python_uninstall_alternative lektor
%files %{python_files}
%doc README.md
%license LICENSE
%python_alternative %{_bindir}/lektor
%{python_sitelib}/*
%changelog