commit 3d12490ab04d716a514d0a130f129bdc8dae823ba6214e6bb926be319dbef645 Author: Matej Cepl Date: Wed May 10 00:01:06 2023 +0000 - 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 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/devpi_process-0.3.0.tar.gz b/devpi_process-0.3.0.tar.gz new file mode 100644 index 0000000..cc14342 --- /dev/null +++ b/devpi_process-0.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d2087df90457cc95e5220dddfba96fae7367aa6e8ad25fa819b1088ff5f62502 +size 12294 diff --git a/python-devpi-process.changes b/python-devpi-process.changes new file mode 100644 index 0000000..467ca09 --- /dev/null +++ b/python-devpi-process.changes @@ -0,0 +1,4 @@ +------------------------------------------------------------------- +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..ada723d --- /dev/null +++ b/python-devpi-process.spec @@ -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