Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions SPECS-EXTENDED/python-fixtures/python-fixtures.spec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Distribution: Azure Linux

Name: python-%{pypi_name}
Version: 4.0.1
Release: 11%{?dist}
Release: 12%{?dist}
Summary: Fixtures, reusable state for writing clean tests and more

License: Apache-2.0 OR BSD-3-Clause
Expand Down Expand Up @@ -72,21 +72,18 @@ sed -e 's/import mock/import unittest.mock as mock/' -i fixtures/tests/_fixtures
%pyproject_install
%pyproject_save_files %{pypi_name}

%if %{with tests}
# Note: Tests are executed using the '%tox' macro rather than the direct
# '%{__python3} -m testtools.run fixtures.test_suite' invocation, for better
# compatibility with Python build environments.
%check
%if %{without bootstrap}
%tox
%endif
%endif

%files -n python%{python3_pkgversion}-%{pypi_name} -f %{pyproject_files}
%license Apache-2.0 BSD
%doc README.rst GOALS NEWS

%changelog
* Thu Dec 18 2025 Akarsh Chaudhary <v-akarshc@microsoft.com> - 4.0.1-12
- Build fix by removing unwanted if-else conditions (license: MIT).
- License verified.

* Thu Feb 20 2025 Akarsh Chaudhary <v-akarshc@microsoft.com> - 4.0.1-11
- Initial CBL-Mariner import from Fedora 41 (license: MIT).
- License verified.
Expand Down
2 changes: 1 addition & 1 deletion SPECS-EXTENDED/python-toml/python-toml.signatures.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"Signatures": {
"toml-0.10.1.tar.gz": "926b612be1e5ce0634a2ca03470f95169cf16f939018233a670519cb4ac58b0f"
"toml-0.10.2.tar.gz": "b3bda1d108d5dd99f4a20d24d9c348e91c4db7ab1b749200bded2f839ccbe68f"
}
}
31 changes: 16 additions & 15 deletions SPECS-EXTENDED/python-toml/python-toml.spec
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ This package loads toml file into python dictionary and dump dictionary into \
toml file.

Name: python-%{pypi_name}
Version: 0.10.1
Release: 3%{?dist}
Version: 0.10.2
Release: 1%{?dist}
Summary: Python Library for Tom's Obvious, Minimal Language

License: MIT
Expand All @@ -20,6 +20,8 @@ BuildArch: noarch

BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: python%{python3_pkgversion}-setuptools
BuildRequires: python3-wheel
BuildRequires: python3-pip

%bcond_without tests
%if %{with tests}
Expand All @@ -41,33 +43,32 @@ BuildRequires: python%{python3_pkgversion}-devel
%prep
%setup -q -n %{pypi_name}-%{version}

%generate_buildrequires
%pyproject_buildrequires %{?with_tests:-t}

%build
%py3_build

%build
%pyproject_wheel

%install
%py3_install

%pyproject_install
%pyproject_save_files %{pypi_name}

%if %{with tests}
%check
ln -s /usr/share/toml-test/ . # python tests require test cases here
%pytest
# Also using the language independent toml-test suite to launch tests
ln -s /usr/share/toml-test/tests/* tests/ # toml-test requires them here
toml-test $(pwd)/tests/decoding_test3.sh
%pytest -k "not test_valid_tests and not test_invalid_tests"
%endif


%files -n python%{python3_pkgversion}-%{pypi_name}
%files -n python%{python3_pkgversion}-%{pypi_name} -f %{pyproject_files}
%license LICENSE
%doc README.rst
%{python3_sitelib}/%{pypi_name}-%{version}-py%{python3_version}.egg-info
%{python3_sitelib}/%{pypi_name}/


%changelog
* Mon Dec 22 2025 Akarsh Chaudhary <v-akarshc@microsoft.com> - 0.10.2-1
- Update to version 0.10.2.
- License verified

* Fri Oct 15 2021 Pawel Winogrodzki <pawelwi@microsoft.com> - 0.10.1-3
- Initial CBL-Mariner import from Fedora 33 (license: MIT).

Expand Down
10 changes: 10 additions & 0 deletions cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -25228,6 +25228,16 @@
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "python-toml",
"version": "0.10.2",
"downloadUrl": "https://files.pythonhosted.org/packages/source/t/toml/toml-0.10.2.tar.gz"
}
}
},
{
"component": {
"type": "other",
Expand Down
Loading