14
0

- 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
This commit is contained in:
2025-09-29 20:32:05 +00:00
committed by Git OBS Bridge
commit 7e188fcd33
6 changed files with 166 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

BIN
pyproject_api-1.8.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

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

View File

@@ -0,0 +1,57 @@
-------------------------------------------------------------------
Mon Sep 29 20:31:37 UTC 2025 - Dirk Müller <dmueller@suse.com>
- 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 <dmueller@suse.com>
- 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 <ecsos@opensuse.org>
- 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_<wheel|editable> from
prepare_metadata_for_build_<wheel|editable> in #99
-------------------------------------------------------------------
Mon Aug 28 21:46:05 UTC 2023 - Matej Cepl <mcepl@suse.com>
- 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 <mcepl@suse.com>
- Initial packaging effort for pyproject-api v. 1.5.1.

79
python-pyproject-api.spec Normal file
View File

@@ -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