forked from pool/python-anymarkup-core
Accepting request 1277161 from home:mcalabkova:branches:devel:languages:python
- Convert to pip-based build OBS-URL: https://build.opensuse.org/request/show/1277161 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-anymarkup-core?expand=0&rev=8
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue May 13 13:40:25 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
- Convert to pip-based build
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 20 06:52:24 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-anymarkup-core
|
||||
#
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2020 SUSE Software Solutions Germany GmbH.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -17,7 +17,6 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-anymarkup-core
|
||||
Version: 0.8.1
|
||||
Release: 0
|
||||
@@ -29,7 +28,9 @@ Source0: https://github.com/bkabrda/anymarkup-core/archive/v%{version}/an
|
||||
Patch0: xml-to-dict-0.13.patch
|
||||
# PATCH-FIX-UPSTREAM drop-python2-support.patch gh#bkabrda/anymarkup-core#7
|
||||
Patch1: drop-python2-support.patch
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Suggests: python-PyYAML
|
||||
@@ -57,10 +58,10 @@ python-anymarkup.
|
||||
%autosetup -p1 -n anymarkup-core-%{version}
|
||||
|
||||
%build
|
||||
%python_build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%python_install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
|
||||
Reference in New Issue
Block a user