From 7e188fcd336cfb55809a0948ad7d231e293f3e69416bf81d98d8fcdeaa7dbe48 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 29 Sep 2025 20:32:05 +0000 Subject: [PATCH] - update to 1.9.1: * Fix the CI * Wheel is not part of the default requries - update to 1.9.0: * Create FUNDING.yml OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyproject-api?expand=0&rev=12 --- .gitattributes | 23 +++++++++++ .gitignore | 1 + pyproject_api-1.8.0.tar.gz | 3 ++ pyproject_api-1.9.1.tar.gz | 3 ++ python-pyproject-api.changes | 57 ++++++++++++++++++++++++++ python-pyproject-api.spec | 79 ++++++++++++++++++++++++++++++++++++ 6 files changed, 166 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 pyproject_api-1.8.0.tar.gz create mode 100644 pyproject_api-1.9.1.tar.gz create mode 100644 python-pyproject-api.changes create mode 100644 python-pyproject-api.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/pyproject_api-1.8.0.tar.gz b/pyproject_api-1.8.0.tar.gz new file mode 100644 index 0000000..e694288 --- /dev/null +++ b/pyproject_api-1.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:77b8049f2feb5d33eefcc21b57f1e279636277a8ac8ad6b5871037b243778496 +size 22340 diff --git a/pyproject_api-1.9.1.tar.gz b/pyproject_api-1.9.1.tar.gz new file mode 100644 index 0000000..dd71ef8 --- /dev/null +++ b/pyproject_api-1.9.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:43c9918f49daab37e302038fc1aed54a8c7a91a9fa935d00b9a485f37e0f5335 +size 22710 diff --git a/python-pyproject-api.changes b/python-pyproject-api.changes new file mode 100644 index 0000000..68397aa --- /dev/null +++ b/python-pyproject-api.changes @@ -0,0 +1,57 @@ +------------------------------------------------------------------- +Mon Sep 29 20:31:37 UTC 2025 - Dirk Müller + +- update to 1.9.1: + * Fix the CI + * Wheel is not part of the default requries +- update to 1.9.0: + * Create FUNDING.yml + +------------------------------------------------------------------- +Tue Jul 8 11:46:40 UTC 2025 - Dirk Müller + +- update to 1.8.0: + * really drop python<3 support +- update to 1.7.2: + * Improve the CI +- update to 1.7.1: + * Move changelog to GH releases +- update to 1.7.0: + * docs: correct Homepage URL + * Bump and fix CI for new setuptools + +------------------------------------------------------------------- +Thu Nov 9 08:57:34 UTC 2023 - ecsos + +- Update to 1.6.1: + - Fix metadata_from_built only extracts one of the dist info files + in #100 +- Update to 1.6.0: + - Extrat build_ from + prepare_metadata_for_build_ in #99 + +------------------------------------------------------------------- +Mon Aug 28 21:46:05 UTC 2023 - Matej Cepl + +- Update to 1.5.4: + - Exclude dependabot and pre-commit ci from release notes + - Bump tools and deps + - Make sure that the order of Requires-Dist does not matter +- Update to 1.5.3: + - Bump pypa/gh-action-pypi-publish from 1.8.6 to 1.8.7 + - Fix read_line to raise EOFError if nothing was read +- Update to 1.5.2: + - Add pyproject-fmt + - docs: remove (dynamic) years from copyright + - Drop 2.7 test + - Add trusted-publish + - Add 3.12 support + - Bump pypa/gh-action-pypi-publish from 1.8.5 to 1.8.6 + git ls-files -z -- .github/workflows/check.yml \ + | xargs -0 sed -i 's|3.12.0-alpha.7|3.12.0-beta.1|g' + - Add ruff + +------------------------------------------------------------------- +Fri May 5 14:49:35 UTC 2023 - Matej Cepl + +- Initial packaging effort for pyproject-api v. 1.5.1. diff --git a/python-pyproject-api.spec b/python-pyproject-api.spec new file mode 100644 index 0000000..30fabf2 --- /dev/null +++ b/python-pyproject-api.spec @@ -0,0 +1,79 @@ +# +# spec file for package python-pyproject-api +# +# Copyright (c) 2025 SUSE LLC and contributors +# +# 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-pyproject-api +Version: 1.9.1 +Release: 0 +Summary: API to interact with the python pyproject.toml based projects +License: MIT +URL: https://github.com/tox-dev/pyproject-api +Source: https://files.pythonhosted.org/packages/source/p/pyproject_api/pyproject_api-%{version}.tar.gz +BuildRequires: %{python_module base >= 3.8} +BuildRequires: %{python_module hatch >= 0.3} +BuildRequires: %{python_module hatch-vcs >= 0.3} +BuildRequires: %{python_module hatchling >= 1.18} +BuildRequires: %{python_module packaging >= 24.1} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools >= 75.1} +BuildRequires: %{python_module setuptools_scm} +BuildRequires: %{python_module wheel >= 0.41.2} +BuildRequires: fdupes +BuildRequires: python-rpm-macros +BuildRequires: unzip +Requires: python-packaging >= 24.1 +BuildArch: noarch +# SECTION testing= +# (except for pytest-cov and -randomly) +BuildRequires: %{python_module covdefaults >= 2.3} +BuildRequires: %{python_module pytest >= 8.3.3} +BuildRequires: %{python_module pytest-cov >= 5} +BuildRequires: %{python_module pytest-mock >= 3.14} +# /SECTION +%python_subpackages + +%description +pyproject-api aims to abstract away interaction with +pyproject.toml style projects in a flexible way. + +%prep +%autosetup -p1 -n pyproject_api-%{version} + +%build +export LANG=en_US.UTF8 +%pyproject_wheel + +%install +export LANG=en_US.UTF8 +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +# gh#tox-dev/pyproject-api#45 +skip_tests="test_can_build_on_python_2" +# gh#tox-dev/pyproject-api#77 +skip_tests="($skip_tests or test_setuptools_prepare_metadata_for_build_wheel)" +%pytest -k "not $skip_tests" + +%files %{python_files} +%license LICENSE +%doc README.md +%{python_sitelib}/pyproject_api-%{version}*-info +%{python_sitelib}/pyproject_api + +%changelog