15
0

- Initial packaging effort for devpi-process 0.3.0.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-devpi-process?expand=0&rev=1
This commit is contained in:
2023-05-10 00:01:06 +00:00
committed by Git OBS Bridge
commit 3d12490ab0
5 changed files with 104 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

View File

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

View File

@@ -0,0 +1,4 @@
-------------------------------------------------------------------
Tue May 9 22:56:52 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Initial packaging effort for devpi-process 0.3.0.

73
python-devpi-process.spec Normal file
View File

@@ -0,0 +1,73 @@
#
# spec file for package python-devpi-process
#
# 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/
#
%{?sle15_python_module_pythons}
Name: python-devpi-process
Version: 0.3.0
Release: 0
Summary: Programmatic API to create and use a devpi server process
License: MIT
URL: https://github.com/tox-dev/devpi-process
Source: https://files.pythonhosted.org/packages/source/d/devpi_process/devpi_process-0.3.0.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module devpi-client >= 6.0.2}
BuildRequires: %{python_module devpi-server >= 6.7}
BuildRequires: %{python_module httpx}
BuildRequires: %{python_module pytest >= 7.2}
# /SECTION
BuildRequires: fdupes
Requires: python-devpi-client >= 6.0.2
Requires: python-devpi-server >= 6.7
Suggests: python-covdefaults >= 2.2.2
Suggests: python-httpx >= 0.23.1
Suggests: python-pytest >= 7.2
Suggests: python-pytest-cov >= 4
BuildArch: noarch
%python_subpackages
%description
This package provides a programmatic API to create and use a
devpi server process.
%prep
%autosetup -p1 -n devpi_process-%{version}
# Both of these issues are resolved in the upstream master
sed -i -e '/^license_file =/s/ =/s =/' \
-e '/^name/aversion = %{version}' setup.cfg
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc CHANGELOG.md README.md
%license LICENSE.txt
%{python_sitelib}/devpi_process
%{python_sitelib}/devpi_process-%{version}*-info
%changelog