From 016a13720677bb505068a3461b27a96edda0d181a1503908dee818d14e12448c Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Tue, 29 Oct 2024 21:47:19 +0000 Subject: [PATCH] - 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 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + gp_libs-0.0.7.tar.gz | 3 ++ gp_libs-0.0.8.tar.gz | 3 ++ python-gp-libs.changes | 30 +++++++++++++++++ python-gp-libs.spec | 75 ++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 135 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 gp_libs-0.0.7.tar.gz create mode 100644 gp_libs-0.0.8.tar.gz create mode 100644 python-gp-libs.changes create mode 100644 python-gp-libs.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/gp_libs-0.0.7.tar.gz b/gp_libs-0.0.7.tar.gz new file mode 100644 index 0000000..739856f --- /dev/null +++ b/gp_libs-0.0.7.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bdc76579611cbd8a9d0cb7949fd2ca4dd05c1106dd2a852717871e0ca9f1e5c6 +size 18839 diff --git a/gp_libs-0.0.8.tar.gz b/gp_libs-0.0.8.tar.gz new file mode 100644 index 0000000..916c4e2 --- /dev/null +++ b/gp_libs-0.0.8.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c150ef6de4ab9287894fb6cb85c9a4efbaf1bd85dc021fd827c1903eb6a4ee77 +size 18836 diff --git a/python-gp-libs.changes b/python-gp-libs.changes new file mode 100644 index 0000000..a87e23b --- /dev/null +++ b/python-gp-libs.changes @@ -0,0 +1,30 @@ +------------------------------------------------------------------- +Tue Oct 29 21:46:58 UTC 2024 - Dirk Müller + +- 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 + +- add sle15_python_module_pythons + +------------------------------------------------------------------- +Mon Apr 15 06:10:36 UTC 2024 - Dirk Müller + +- 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 + +- update to 0.0.5: + * Move CodeQL from advanced configuration file to GitHub’s default + * Add docstrings to functions, methods, classes, and packages + +------------------------------------------------------------------- +Tue Nov 21 06:23:29 UTC 2023 - Johannes Kastl + +- new package python-gp-libs, required by python-libtmux diff --git a/python-gp-libs.spec b/python-gp-libs.spec new file mode 100644 index 0000000..d17ebfd --- /dev/null +++ b/python-gp-libs.spec @@ -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