15
0

Accepting request 1128281 from home:ojkastl_buildservice:Branch_devel_languages_python

new package python-gp-libs, required by python-libtmux

OBS-URL: https://build.opensuse.org/request/show/1128281
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gp-libs?expand=0&rev=1
This commit is contained in:
2023-11-23 10:30:18 +00:00
committed by Git OBS Bridge
commit ee4bb18f85
5 changed files with 105 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.4.tar.gz Normal file
View File

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

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

@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Tue Nov 21 06:23:29 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
- new package python-gp-libs, required by python-libtmux

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

@@ -0,0 +1,74 @@
#
# spec file for package python-gp-libs
#
# 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
# 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/
#
Name: python-gp-libs
Version: 0.0.4
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-rpm-macros
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module poetry-core >= 1.0.0}
BuildRequires: %{python_module docutils}
BuildRequires: %{python_module myst-parser}
# SECTION test
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytest-rerunfailures}
# /SECTION
BuildRequires: fdupes
Requires: python-docutils
Requires: python-myst-parser
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