forked from pool/python-PyMeta3
Accepting request 1275129 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1275129 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyMeta3?expand=0&rev=4
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 6 13:11:01 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- Convert to pip-based build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed May 20 07:26:35 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
Wed May 20 07:26:35 UTC 2020 - Petr Gajdos <pgajdos@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-PyMeta3
|
# spec file for package python-PyMeta3
|
||||||
#
|
#
|
||||||
# Copyright (c) 2020 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,7 +16,6 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-PyMeta3
|
Name: python-PyMeta3
|
||||||
Version: 0.5.1
|
Version: 0.5.1
|
||||||
Release: 0
|
Release: 0
|
||||||
@@ -24,7 +23,9 @@ Summary: Pattern-matching language based on OMeta for Python 3 and 2
|
|||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/wbond/pymeta3
|
URL: https://github.com/wbond/pymeta3
|
||||||
Source: https://files.pythonhosted.org/packages/source/P/PyMeta3/PyMeta3-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/P/PyMeta3/PyMeta3-%{version}.tar.gz
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
Requires(post): update-alternatives
|
Requires(post): update-alternatives
|
||||||
@@ -46,10 +47,10 @@ It is a fork of PyMeta 0.5.0 that supports Python 2 and 3.
|
|||||||
%setup -q -n PyMeta3-%{version}
|
%setup -q -n PyMeta3-%{version}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
install -D -m0755 bin/generate_parser %{buildroot}%{_bindir}/generate_parser
|
install -D -m0755 bin/generate_parser %{buildroot}%{_bindir}/generate_parser
|
||||||
sed -i -e 's/env python$/python3/' %{buildroot}%{_bindir}/generate_parser
|
sed -i -e 's/env python$/python3/' %{buildroot}%{_bindir}/generate_parser
|
||||||
@@ -64,7 +65,8 @@ sed -i -e 's/env python$/python3/' %{buildroot}%{_bindir}/generate_parser
|
|||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc NEWS README
|
%doc NEWS README
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/pymeta
|
||||||
|
%{python_sitelib}/[Pp]y[Mm]eta3-%{version}*-info
|
||||||
%python_alternative %{_bindir}/generate_parser
|
%python_alternative %{_bindir}/generate_parser
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user