- update to 1.0.2:
* Improve the CI - update to 1.0.1: * Declare 3.13 support OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-devpi-process?expand=0&rev=6
This commit is contained in:
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
1
.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.osc
|
||||
3
_multibuild
Normal file
3
_multibuild
Normal file
@@ -0,0 +1,3 @@
|
||||
<multibuild>
|
||||
<package>test</package>
|
||||
</multibuild>
|
||||
3
devpi_process-1.0.0.tar.gz
Normal file
3
devpi_process-1.0.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:18cb93b430d560a40bf0e11136dfff4eb5edf665d3c49cd1b0ab5d8b11675a6e
|
||||
size 10943
|
||||
3
devpi_process-1.0.2.tar.gz
Normal file
3
devpi_process-1.0.2.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:412fdc7c28c38f0c9cf3487242bdb6800eeecec1dbf31f67140e59a0178a466c
|
||||
size 11387
|
||||
25
python-devpi-process.changes
Normal file
25
python-devpi-process.changes
Normal file
@@ -0,0 +1,25 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 10 15:42:53 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 1.0.2:
|
||||
* Improve the CI
|
||||
- update to 1.0.1:
|
||||
* Declare 3.13 support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 26 19:22:07 UTC 2023 - Torsten Gruner <t.gruner@katodev.de>
|
||||
|
||||
- update to version 1.0.0
|
||||
* Exclude dependabot and pre-commit ci from release notes
|
||||
- version 0.3.1
|
||||
* Add pyproject-fmt
|
||||
* [pre-commit.ci] pre-commit autoupdate
|
||||
* Bump deps and tools
|
||||
* Bump pypa/gh-action-pypi-publish 1.8.6
|
||||
* Add ruff
|
||||
- split package to prevent build dependency (multibuild)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 9 22:56:52 UTC 2023 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Initial packaging effort for devpi-process 0.3.0.
|
||||
91
python-devpi-process.spec
Normal file
91
python-devpi-process.spec
Normal file
@@ -0,0 +1,91 @@
|
||||
#
|
||||
# spec file for package python-devpi-process
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
%global flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%{flavor}" == "test"
|
||||
%define psuffix -test
|
||||
%bcond_without test
|
||||
%else
|
||||
%define psuffix %{nil}
|
||||
%bcond_with test
|
||||
%endif
|
||||
%{?sle15_python_module_pythons}
|
||||
%define skip_python39 1
|
||||
Name: python-devpi-process%{psuffix}
|
||||
Version: 1.0.2
|
||||
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-%{version}.tar.gz
|
||||
BuildRequires: %{python_module hatch-vcs >= 0.3}
|
||||
BuildRequires: %{python_module hatchling >= 1.18}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module typing-extensions >= 4.7.1 if %python-base < 3.11}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-devpi-client >= 6.0.5
|
||||
Requires: python-devpi-server >= 6.9.2
|
||||
Suggests: python-httpx >= 0.24.1
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
%if %{with test}
|
||||
BuildRequires: %{python_module covdefaults >= 2.3}
|
||||
BuildRequires: %{python_module devpi-client >= 6.0.5}
|
||||
BuildRequires: %{python_module devpi-server >= 6.8}
|
||||
BuildRequires: %{python_module httpx >= 0.24.1}
|
||||
BuildRequires: %{python_module pytest >= 7.4}
|
||||
BuildRequires: %{python_module pytest-cov}
|
||||
%endif
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
This package provides a programmatic API to create and use a
|
||||
devpi server process.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n devpi_process-%{version}
|
||||
# Fix version check for pytest
|
||||
sed -i -e '/import devpi_process/a\ \ \ \ from importlib import metadata' tests/test_devpi_process.py
|
||||
sed -i "s/^.*assert devpi_process.__version__/ assert metadata.version('devpi_process')/" tests/test_devpi_process.py
|
||||
sed -i "s/from ._version import __version__/from ._version import version/" src/devpi_process/__init__.py
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
%if %{with test}
|
||||
%pytest
|
||||
%python_expand rm -r -f %{buildroot}/usr
|
||||
%endif
|
||||
|
||||
%if !%{with test}
|
||||
%files %{python_files}
|
||||
%doc CHANGELOG.md README.md
|
||||
%license LICENSE.txt
|
||||
%{python_sitelib}/devpi_process
|
||||
%{python_sitelib}/devpi_process-%{version}*-info
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
Reference in New Issue
Block a user