Sync from SUSE:ALP:Source:Standard:1.0 python-hatchling revision 9a41eac0d58d299aa801aedb94cdea93
This commit is contained in:
commit
4aee4cc342
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
|
BIN
hatchling-1.18.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
hatchling-1.18.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
299
python-hatchling.changes
Normal file
299
python-hatchling.changes
Normal file
@ -0,0 +1,299 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jun 21 08:25:58 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 1.18.0
|
||||
* Drop support for Python 3.7
|
||||
* Update the list of directories that are always excluded for
|
||||
builds
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 3 18:21:13 UTC 2023 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to version 1.17.1:
|
||||
* Fix dev mode when the project has symlinks and file inclusion is
|
||||
defined with the packages or only-include options
|
||||
* Change the name of generated PTH files for dev mode so they come
|
||||
first lexicographically and therefore load first
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat May 13 08:25:01 UTC 2023 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to version 1.17.0:
|
||||
* The app build target now embeds the project version in the name
|
||||
of binaries
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 11 18:48:27 UTC 2023 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to version 1.16.1:
|
||||
* Fix determining the built executable path for the app build
|
||||
target option when using a local copy of PyApp when there is
|
||||
an explicit target triple set
|
||||
- additional changes from version 1.16.0:
|
||||
* Add app build target option to build using a local copy of
|
||||
the PyApp repository
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 9 19:19:08 UTC 2023 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to version 1.15.0:
|
||||
* Add app build target
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 24 16:30:48 UTC 2023 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to 1.14.1:
|
||||
* Fix internal archive root naming for the sdist target when
|
||||
strict-naming is disabled to match the file name in order to
|
||||
support the expectation of some frontends
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 21 12:26:11 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- add sle15_python_module_pythons (jsc#PED-68)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 3 16:22:45 UTC 2023 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to 1.14.0:
|
||||
* Added: Add trove-classifiers as a dependency
|
||||
* Fixed: Properly normalize metadata descriptions that contain
|
||||
line breaks
|
||||
- requires python-trove-classifiers
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 9 17:13:34 UTC 2023 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to 1.13.0:
|
||||
* Update the set of known trove classifiers to version 2023.2.8
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 8 17:46:56 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- update to 1.12.2:
|
||||
* Add macos-max-compat option to the wheel target that is enabled by default to
|
||||
support the latest version 22.0 of the packaging library
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 2 10:31:58 UTC 2023 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to version 1.12.1:
|
||||
* Fixed:
|
||||
+ Fix minor regression in the PEP 517/660 function signatures
|
||||
that was discovered by Fedora
|
||||
- additional changes from version 1.12.0:
|
||||
* Added:
|
||||
+ Improve readability of exceptions
|
||||
+ Add extra_metadata build data to the wheel target
|
||||
+ Retroactively support License-Expression core metadata
|
||||
starting at version 2.1
|
||||
+ Add more type hints
|
||||
+ Update the set of known trove classifiers to version
|
||||
2022.12.22
|
||||
+ Update SPDX license information to version 3.19
|
||||
+ Store Hatchling's metadata in pyproject.toml
|
||||
* Fixed:
|
||||
+ Acknowledge the ARCHFLAGS environment variable on macOS for
|
||||
the wheel target when build hooks set the infer_tag build
|
||||
data to true
|
||||
+ Fix dependency checking when encountering broken
|
||||
distributions
|
||||
+ Remove unnecessary encoding declaration in the default
|
||||
template for the version build hook
|
||||
- remove skip_python2: python >= 3.7 is already required
|
||||
- drop python_module macro definition: provided by
|
||||
python-rpm-macros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 20 19:55:11 UTC 2022 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to version 1.11.1:
|
||||
* Fixed: Fix default file selection behavior of the wheel target
|
||||
when there is a single top-level module
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 9 19:49:17 UTC 2022 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to version 1.11.0:
|
||||
* Added:
|
||||
+ Add env version source to retrieve the version from an
|
||||
environment variable
|
||||
+ Add validate-bump option to the standard version scheme
|
||||
* Fixed:
|
||||
+ Use proper CSV formatting for the RECORD metadata file of the
|
||||
wheel target to avoid warnings during installation by pip if,
|
||||
for example, file names contain commas
|
||||
+ Fix installations with pip for build hooks that modify
|
||||
runtime dependencies
|
||||
+ Decreasing verbosity now has no affect on output that should
|
||||
always be displayed
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 23 19:56:00 UTC 2022 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to version 1.10.0:
|
||||
* Added:
|
||||
+ Add the following to the list of directories that cannot be
|
||||
traversed: __pypackages__, .hg, .hatch, .tox, .nox
|
||||
+ Add deprecated option to allow ambiguous features
|
||||
* Fixed:
|
||||
+ Improve tracking of dynamic metadata
|
||||
+ Fix core metadata for entries in
|
||||
project.optional-dependencies that use direct references
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 13 20:05:14 UTC 2022 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to version 1.9.0:
|
||||
* Changed:
|
||||
+ File pattern matching now more closely resembles Git's
|
||||
behavior
|
||||
* Added:
|
||||
+ Implement a minimal version of
|
||||
prepare_metadata_for_build_wheel and
|
||||
prepare_metadata_for_build_editable for non-frontend tools
|
||||
that only need to inspect a project's metadata
|
||||
+ Add metadata command to view PEP 621 project metadata
|
||||
+ Improve error messages for SPDX license errors
|
||||
+ Retroactively support License-File for core metadata starting
|
||||
at version 2.1
|
||||
+ Bump the minimum supported version of pathspec to 0.10.1
|
||||
* Fixed:
|
||||
+ Allow the valid non-SPDX license values
|
||||
LicenseRef-Public-Domain and LicenseRef-Proprietary
|
||||
+ Show the help text of the CLI when no subcommand is selected
|
||||
- requires python-base to set the minimum python version, -devel is
|
||||
not needed
|
||||
- requires pathspec >= 0.10.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 25 18:52:11 UTC 2022 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to version 1.8.1:
|
||||
* Fixed:
|
||||
+ Fix default file inclusion for wheel build targets when both
|
||||
the project name and package directory name are not
|
||||
normalized
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 18 15:44:17 UTC 2022 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to version 1.8.0:
|
||||
* Added:
|
||||
+ Add get_known_classifiers method to metadata hooks
|
||||
* Fixed:
|
||||
+ Fix check for updating static versions with the version
|
||||
command when metadata hooks are in use
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 13 19:23:18 UTC 2022 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to version 1.7.1:
|
||||
* Fixed:
|
||||
+ Fix the value the relative_path attribute of included files,
|
||||
that some build plugins may use, when selecting explicit
|
||||
paths
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Aug 13 14:17:00 UTC 2022 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to version 1.7.0:
|
||||
* Added:
|
||||
+ Add require-runtime-features option for builders and build
|
||||
hooks
|
||||
+ Check for unknown trove classifiers
|
||||
+ Update SPDX license information to version 3.18
|
||||
* Fixed:
|
||||
+ Add better error message for wheel target dev mode
|
||||
installations that define path rewrites with the sources
|
||||
option
|
||||
+ Note the allow-direct-references option in the relevant error
|
||||
messages
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jul 30 20:38:56 UTC 2022 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to version 1.6.0:
|
||||
* Changed:
|
||||
+ When no build targets are specified on the command line, now
|
||||
default to sdist and wheel targets rather than what happens
|
||||
to be defined in config
|
||||
+ The code version source now only supports files with known
|
||||
extensions
|
||||
+ Global build hooks now run before target-specific build hooks
|
||||
to better match expected behavior
|
||||
* Added:
|
||||
+ The code version source now supports loading extension
|
||||
modules
|
||||
+ Add search-paths option for the code version source
|
||||
* Fixed:
|
||||
+ Fix removing sources using an empty string value in the
|
||||
mapping
|
||||
+ The strict-naming option now also applies to the metadata
|
||||
directory of wheel targets
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 15 12:19:55 UTC 2022 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to version 1.5.0:
|
||||
* Added:
|
||||
+ Support the final draft of PEP 639
|
||||
+ Add strict-naming option for sdist and wheel targets
|
||||
* Fixed: Project names are now stored in sdist and wheel target
|
||||
core metadata exactly as defined in pyproject.toml without
|
||||
normalization to allow control of how PyPI displays them
|
||||
- require python 3.7 as minimum version to match upstream
|
||||
requirement
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 5 18:00:11 UTC 2022 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to version 1.4.1:
|
||||
* Fixed:
|
||||
+ Fix forced inclusion of important files like licenses for
|
||||
sdist targets when using the explicit selection options
|
||||
+ Don't sort project URL metadata so that the rendered order
|
||||
on PyPI can be controlled
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 4 16:13:37 UTC 2022 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to version 1.4.0:
|
||||
* Changed: The packages option uses the new only-include option
|
||||
to provide targeted inclusion, since that is desired most of
|
||||
the time
|
||||
* Added:
|
||||
+ Support PEP 561 type hinting
|
||||
+ Add version build hook
|
||||
+ Add only-include option
|
||||
+ The editable version of wheel targets now respects the
|
||||
force-include option by default
|
||||
+ The force-include option now supports path rewriting with the
|
||||
sources option
|
||||
+ The wheel target shared-data and extra-metadata options now
|
||||
respect file selection options
|
||||
+ The wheel target now auto-detects single module layouts
|
||||
+ Improve performance by never entering directories that are
|
||||
guaranteed to be undesirable like __pycache__ rather than
|
||||
excluding individual files within
|
||||
+ Update SPDX license information to version 3.17
|
||||
* Fixed:
|
||||
+ Don't write empty entry points file for wheel targets if
|
||||
there are no entry points defined
|
||||
+ Allow metadata hooks to set the version in all cases
|
||||
+ Prevent duplicate file entries from inclusion when using the
|
||||
force-include option
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jun 12 13:54:32 UTC 2022 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- update to version 1.3.1:
|
||||
* Fixed: Better populate global variables for the code version
|
||||
source
|
||||
- add a comment explaining why the tests are skipped in obs
|
||||
because they need internet access
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 26 16:38:22 UTC 2022 - Benoît Monin <benoit.monin@gmx.fr>
|
||||
|
||||
- creation of the package with version 1.3.0
|
82
python-hatchling.spec
Normal file
82
python-hatchling.spec
Normal file
@ -0,0 +1,82 @@
|
||||
#
|
||||
# spec file for package python-hatchling
|
||||
#
|
||||
# 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-hatchling
|
||||
Version: 1.18.0
|
||||
Release: 0
|
||||
Summary: Build backend used by Hatch
|
||||
License: MIT
|
||||
URL: https://hatch.pypa.io/latest/
|
||||
Source0: https://files.pythonhosted.org/packages/source/h/hatchling/hatchling-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module editables >= 0.3}
|
||||
BuildRequires: %{python_module packaging >= 21.3}
|
||||
BuildRequires: %{python_module pathspec >= 0.10.1}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pluggy >= 1.0.0}
|
||||
BuildRequires: %{python_module tomli >= 1.2.2 if %python-base < 3.11}
|
||||
BuildRequires: %{python_module trove-classifiers}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-editables >= 0.3
|
||||
Requires: python-packaging >= 21.3
|
||||
Requires: python-pathspec >= 0.10.1
|
||||
Requires: python-pluggy >= 1.0.0
|
||||
Requires: python-trove-classifiers
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
BuildArch: noarch
|
||||
%if 0%{?python_version_nodots} < 311
|
||||
Requires: python-tomli >= 1.2.2
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
This is the extensible, standards compliant build backend used by Hatch.
|
||||
|
||||
%prep
|
||||
%autosetup -n hatchling-%{version} -p1
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
%python_clone -a %{buildroot}%{_bindir}/hatchling
|
||||
|
||||
%check
|
||||
# The tests provided in the tarball relies on internet access to run
|
||||
# (git clone, pip install ...), so they cannot work on obs
|
||||
# see tests/downstream/integrate.py for details
|
||||
|
||||
%post
|
||||
%python_install_alternative hatchling
|
||||
|
||||
%postun
|
||||
%python_uninstall_alternative hatchling
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE.txt
|
||||
%{python_sitelib}/hatchling
|
||||
%{python_sitelib}/hatchling-%{version}.dist-info
|
||||
%python_alternative %{_bindir}/hatchling
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user