From 1467470c98e4cfaaa4f96cd0661a4c2214599bded8a029dfeb56b8c595ec7cd6 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Thu, 10 Oct 2024 15:43:05 +0000 Subject: [PATCH] - 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 --- .gitattributes | 23 +++++++++ .gitignore | 1 + _multibuild | 3 ++ devpi_process-1.0.0.tar.gz | 3 ++ devpi_process-1.0.2.tar.gz | 3 ++ python-devpi-process.changes | 25 ++++++++++ python-devpi-process.spec | 91 ++++++++++++++++++++++++++++++++++++ 7 files changed, 149 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _multibuild create mode 100644 devpi_process-1.0.0.tar.gz create mode 100644 devpi_process-1.0.2.tar.gz create mode 100644 python-devpi-process.changes create mode 100644 python-devpi-process.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/_multibuild b/_multibuild new file mode 100644 index 0000000..fcc7b97 --- /dev/null +++ b/_multibuild @@ -0,0 +1,3 @@ + + test + diff --git a/devpi_process-1.0.0.tar.gz b/devpi_process-1.0.0.tar.gz new file mode 100644 index 0000000..4cb4e8c --- /dev/null +++ b/devpi_process-1.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18cb93b430d560a40bf0e11136dfff4eb5edf665d3c49cd1b0ab5d8b11675a6e +size 10943 diff --git a/devpi_process-1.0.2.tar.gz b/devpi_process-1.0.2.tar.gz new file mode 100644 index 0000000..e103b52 --- /dev/null +++ b/devpi_process-1.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:412fdc7c28c38f0c9cf3487242bdb6800eeecec1dbf31f67140e59a0178a466c +size 11387 diff --git a/python-devpi-process.changes b/python-devpi-process.changes new file mode 100644 index 0000000..82498ea --- /dev/null +++ b/python-devpi-process.changes @@ -0,0 +1,25 @@ +------------------------------------------------------------------- +Thu Oct 10 15:42:53 UTC 2024 - Dirk Müller + +- 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 + +- 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 + +- Initial packaging effort for devpi-process 0.3.0. diff --git a/python-devpi-process.spec b/python-devpi-process.spec new file mode 100644 index 0000000..2c679ac --- /dev/null +++ b/python-devpi-process.spec @@ -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