Accepting request 1109764 from devel:languages:python:numeric

OBS-URL: https://build.opensuse.org/request/show/1109764
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-PyX?expand=0&rev=4
This commit is contained in:
2023-09-10 11:10:00 +00:00
committed by Git OBS Bridge
4 changed files with 28 additions and 10 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2048d6229f4880b6c8c5b26afa1aa857b668e6e6d6b850930cf5aafe72916cba
size 875286

3
PyX-0.16.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:be2c0433cdb172d1d65c7f3bfe49d8a28b08a13c955562571a2e559a8fcc2050
size 887486

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Fri Sep 8 14:09:29 UTC 2023 - Atri Bhattacharya <badshah400@gmail.com>
- Update to version 0.16:
* Enable a shortcut for accessing graph-component attributes,
simplifying the modification of default components.
* Small improvements and several bug fixes, especially for text
alignment with TeX Live 2020.
- Rename source tarball to PyX-%{version}.tar.gz.
- Use pyproject macros to build; add BuildRequires: python-pip,
python-wheel.
-------------------------------------------------------------------
Fri May 7 12:21:08 UTC 2021 - Ben Greiner <code@bnavigator.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-PyX
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,16 +20,18 @@
%define skip_python2 1
%bcond_without test
Name: python-PyX
Version: 0.15
Version: 0.16
Release: 0
Summary: Python package for the generation of PostScript, PDF, and SVG files
License: GPL-2.0-or-later
Group: Development/Languages/Python
URL: https://pyx-project.org/
Source: https://github.com/pyx-project/pyx/archive/%{version}.tar.gz
Source: https://github.com/pyx-project/pyx/archive/%{version}.tar.gz#/PyX-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module testfixtures}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: texlive-latex-bin-bin
@@ -55,11 +57,14 @@ built out of these primitives.
sed -i 's/l.check/l.check_present/' test/unit/test_texmessageparser.py
%build
%python_build
%pyproject_wheel
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%pyproject_install
%{python_expand # Cleanups
chmod -x %{buildroot}%{$python_sitelib}/pyx/data/lfs/createlfs.py
%fdupes %{buildroot}%{$python_sitelib}
}
%check
%pytest test/unit
@@ -67,6 +72,7 @@ sed -i 's/l.check/l.check_present/' test/unit/test_texmessageparser.py
%files %{python_files}
%license LICENSE
%doc AUTHORS CHANGES README.md
%{python_sitelib}/*
%{python_sitelib}/pyx/
%{python_sitelib}/PyX-%{version}*-info/
%changelog