15
0

- update to 0.0.8:

* Final Python 3.8 release, as it has reached end-of-life status

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gp-libs?expand=0&rev=9
This commit is contained in:
2024-10-29 21:47:19 +00:00
committed by Git OBS Bridge
commit 016a137206
6 changed files with 135 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

3
gp_libs-0.0.7.tar.gz Normal file
View File

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

3
gp_libs-0.0.8.tar.gz Normal file
View File

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

30
python-gp-libs.changes Normal file
View File

@@ -0,0 +1,30 @@
-------------------------------------------------------------------
Tue Oct 29 21:46:58 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.0.8:
* Final Python 3.8 release, as it has reached end-of-life status
-------------------------------------------------------------------
Wed May 22 19:42:18 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- add sle15_python_module_pythons
-------------------------------------------------------------------
Mon Apr 15 06:10:36 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.0.7:
* support pytest 8
* ruff related reformatting
* pin only new versions as legacy versions are untested
-------------------------------------------------------------------
Fri Dec 29 12:45:26 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.0.5:
* Move CodeQL from advanced configuration file to GitHubs default
* Add docstrings to functions, methods, classes, and packages
-------------------------------------------------------------------
Tue Nov 21 06:23:29 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
- new package python-gp-libs, required by python-libtmux

75
python-gp-libs.spec Normal file
View File

@@ -0,0 +1,75 @@
#
# spec file for package python-gp-libs
#
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-gp-libs
Version: 0.0.8
Release: 0
Summary: Internal utilities for projects following git-pull python package spec
License: MIT
URL: https://gp-libs.git-pull.com
Source: https://files.pythonhosted.org/packages/source/g/gp-libs/gp_libs-%{version}.tar.gz
BuildRequires: %{python_module docutils >= 0.20.1}
BuildRequires: %{python_module myst-parser >= 2.0.0}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module poetry-core >= 1.0.0}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
# SECTION test
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytest-rerunfailures}
# /SECTION
BuildRequires: fdupes
Requires: python-docutils >= 0.20.1
Requires: python-myst-parser >= 2.0.0
BuildArch: noarch
%python_subpackages
%description
Incubating / dogfooding some sphinx extensions and pytest plugins on git-pull projects, e.g. cihai, vcs-python, or tmux-python.
%prep
%autosetup -p1 -n gp_libs-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# Move src to a different path to do not use in tests
mv src src.bak
ignore="--ignore=tests/test_doctest_docutils.py"
ignore+=" --ignore=tests/test_linkify_issues.py"
%pytest $ignore
mv src.bak src
%files %{python_files}
%{python_sitelib}/doctest_docutils.py
%{python_sitelib}/docutils_compat.py
%{python_sitelib}/gp_libs.py
%{python_sitelib}/linkify_issues.py
%{python_sitelib}/pytest_doctest_docutils.py
%{python_sitelib}/gp_libs-%{version}.dist-info
%pycache_only %{python_sitelib}/__pycache__/*
%changelog