15
0

Accepting request 1264860 from devel:languages:python

- Normalize metadata directory name.

Requires python-setuptools 78 to build successfully.

OBS-URL: https://build.opensuse.org/request/show/1264860
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-cPyparsing?expand=0&rev=13
This commit is contained in:
2025-04-16 18:38:49 +00:00
committed by Git OBS Bridge
2 changed files with 9 additions and 5 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Mar 26 04:15:45 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Normalize metadata directory name.
- Run the testsuite.
-------------------------------------------------------------------
Wed Jan 3 10:05:58 UTC 2024 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-cPyparsing
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,13 +16,11 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-cPyparsing
Version: 2.4.7.2.3.2
Release: 0
Summary: Cython implementation of PyParsing
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/evhub/cpyparsing
Source: https://files.pythonhosted.org/packages/source/c/cPyparsing/cPyparsing-%{version}.tar.gz
BuildRequires: %{python_module Cython}
@@ -49,12 +47,12 @@ export CFLAGS="%{optflags}"
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
# no tests in PyPi tarball and no release tags in GitHub repo https://github.com/evhub/cpyparsing/issues/3
%python_expand PYTHONPATH=%{buildroot}%{$python_sitearch} $python ./tests/cPyparsing_test.py
%files %{python_files}
%doc README.md
%license LICENSE.txt
%{python_sitearch}/cPyparsing.cpython-*-*-linux-gnu.so
%{python_sitearch}/cPyparsing-%{version}.dist-info
%{python_sitearch}/cpyparsing-%{version}.dist-info
%changelog