commit python-panflute for openSUSE:Factory
Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-panflute for openSUSE:Factory checked in at 2023-09-01 14:19:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-panflute (Old) and /work/SRC/openSUSE:Factory/.python-panflute.new.1766 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-panflute" Fri Sep 1 14:19:40 2023 rev:8 rq:1108349 version:2.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-panflute/python-panflute.changes 2023-06-03 00:07:30.642090614 +0200 +++ /work/SRC/openSUSE:Factory/.python-panflute.new.1766/python-panflute.changes 2023-09-01 14:20:31.199035486 +0200 @@ -1,0 +2,7 @@ +Fri Sep 1 00:26:56 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com> + +- Stop using greedy globs in %files. +- Switch to pyproject macros. +- Drop unneeded {Build,}Requires on future. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-panflute.spec ++++++ --- /var/tmp/diff_new_pack.WGZ78C/_old 2023-09-01 14:20:32.135068893 +0200 +++ /var/tmp/diff_new_pack.WGZ78C/_new 2023-09-01 14:20:32.139069036 +0200 @@ -16,29 +16,26 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%bcond_without python2 Name: python-panflute Version: 2.3.0 Release: 0 Summary: Pandoc filters package for Python License: BSD-3-Clause -Group: Development/Languages/Python URL: https://github.com/sergiocorreia/panflute Source: https://files.pythonhosted.org/packages/source/p/panflute/panflute-%{version}.tar.gz +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-PyYAML Requires: python-click -Requires: python-future Requires(post): update-alternatives Requires(postun):update-alternatives BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module PyYAML} BuildRequires: %{python_module click} -BuildRequires: %{python_module future} BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest} %if %{with python2} @@ -46,9 +43,6 @@ BuildRequires: python-shutilwhich %endif # /SECTION -%ifpython2 -Requires: python-shutilwhich -%endif %python_subpackages %description @@ -58,14 +52,13 @@ %setup -q -n panflute-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/panfl %python_clone -a %{buildroot}%{_bindir}/panflute %python_expand %fdupes %{buildroot}%{$python_sitelib} -sed -i 's|shutilwhich||' %{buildroot}%{python3_sitelib}/panflute-*.egg-info/requires.txt %post %python_install_alternative panfl @@ -80,6 +73,7 @@ %license LICENSE %python_alternative %{_bindir}/panflute %python_alternative %{_bindir}/panfl -%{python_sitelib}/* +%{python_sitelib}/panflute +%{python_sitelib}/panflute-%{version}.dist-info %changelog
participants (1)
-
Source-Sync