Sync from SUSE:ALP:Source:Standard:1.0 saltbundlepy-flit-core revision 6eab0f8f385699ba6806ee64e46424c7
This commit is contained in:
commit
dcdb22f518
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
|
4
_multibuild
Normal file
4
_multibuild
Normal file
@ -0,0 +1,4 @@
|
||||
<multibuild>
|
||||
<package>primary</package>
|
||||
<package>test</package>
|
||||
</multibuild>
|
BIN
flit_core-3.8.0.tar.gz
(Stored with Git LFS)
Normal file
BIN
flit_core-3.8.0.tar.gz
(Stored with Git LFS)
Normal file
Binary file not shown.
213
saltbundlepy-flit-core.changes
Normal file
213
saltbundlepy-flit-core.changes
Normal file
@ -0,0 +1,213 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jun 27 08:19:36 UTC 2023 - Victor Zhestkov <vzhestkov@suse.com>
|
||||
|
||||
- Initial submission based on python3-flit-core 3.8.0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 24 20:15:22 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- Rename package to avoid conflicts with the new Python Stack Proposal (jsc#PED-68)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 27 15:43:53 UTC 2023 - Antonio Larrosa <alarrosa@suse.com>
|
||||
|
||||
- Exclude the regular build in SLE15 SP5 as in SP4 instead of
|
||||
leaving it as unresolvable
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 8 00:36:32 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
|
||||
|
||||
- Update to v3.8.0
|
||||
|
||||
* Merge pull request #607 from pypa/relnotes-3.8
|
||||
Add release notes for version 3.8
|
||||
* Add --only-deps option to release notes
|
||||
* Merge pull request #546 from dciborow/dciborow/install-reqs
|
||||
Add "install-reqs" command to CLI
|
||||
* Fix some remaining uses of tomli in the tests, for Python 3.11
|
||||
* Remove test with side effects
|
||||
* Replace install-reqs subcommand with --only-deps option
|
||||
* Merge pull request #581 from nanonyme/nanonyme/bytecode
|
||||
* Merge pull request #602 from Mariatta/patch-1
|
||||
Document that token-based upload is supported
|
||||
* Merge pull request #604 from gotmax23/tomli
|
||||
Remove vestigial tomli usage
|
||||
* Test on Python 3.11-dev
|
||||
* Add python 3.11 to the test matrix
|
||||
* Adjust test deps in tox.ini
|
||||
* tests: Only use tomli if tomllib is missing
|
||||
* Fallback to installed tomli when vendor is removed
|
||||
In Fedora, we bootstrap tomli differently, so we remove the vendored
|
||||
version. This makes it so we don't also have to patch flit_core.config
|
||||
ourselves.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 7 12:16:47 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Make sure the 15.4 tests also have python3-packaging
|
||||
- Revert python_exec change, one pure wheel built by python3 is
|
||||
enough
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 30 11:52:39 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
- use the python_exec to bootstrap so that the primary interpeter
|
||||
is used
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Aug 2 19:03:15 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Use prjconf provided primary_python if available
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 14 22:27:53 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Split primary flavor in multibuild for possible inclusion into
|
||||
Ring0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 14 15:34:09 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Remove devendoring of tomli, so that we can put this in Ring0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 25 12:10:11 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to version 3.7.1
|
||||
* Support for external data files such as man pages or Jupyter
|
||||
extension support files (PR #510).
|
||||
* Project names are now lowercase in wheel filenames and
|
||||
.dist-info folder names, in line with the specifications (PR
|
||||
#498).
|
||||
* Improved support for bootstrapping a Python environment, e.g.
|
||||
for downstream packagers (PR #511). flit_core.wheel is usable
|
||||
with python -m to create wheels before the build tool is
|
||||
available, and flit_core sdists also include a script to
|
||||
install itself from a wheel before installer is available.
|
||||
* Use newer importlib APIs, fixing some deprecation warnings (PR
|
||||
#499).
|
||||
* Fix building packages which need execution to get the version
|
||||
number, and have a relative import in __init__.py (PR #531).
|
||||
- Update bootstrapping process
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 9 14:53:21 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Back to bootstrap without pip
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 9 11:38:59 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to version 3.6
|
||||
* flit_core now bundles the tomli TOML parser library (version
|
||||
1.2.3) to avoid a circular dependency between flit_core and
|
||||
tomli (:ghpull:`492`). This means flit_core now has no
|
||||
dependencies except Python itself, both at build time and at
|
||||
runtime, simplifying :doc:`bootstrapping <bootstrap>`.
|
||||
- The above is not fully applicale to openSUSE, we debundle.
|
||||
- Release notes for Version 3.5.1
|
||||
* Fix development installs with flit install --symlink and
|
||||
--pth-file, which were broken in 3.5.0, especially for packages
|
||||
using a src folder (:ghpull:`472`).
|
||||
- Release notes for Version 3.5
|
||||
* You can now use Flit to distribute a module or package inside a
|
||||
namespace package (as defined by PEP 420). To do this, specify
|
||||
the import name of the concrete, inner module you are packaging
|
||||
- e.g. name = "sphinxcontrib.foo" - either in the [project]
|
||||
table, or under [tool.flit.module] if you want to use a
|
||||
different name on PyPI (:ghpull:`468`).
|
||||
* Flit no longer generates a setup.py file in sdists (.tar.gz
|
||||
packages) by default (:ghpull:`462`). Modern packaging tools
|
||||
don't need this. You can use the --setup-py flag to keep adding
|
||||
it for now, but this will probably be removed at some point in
|
||||
the future.
|
||||
* Fixed how flit init handles authors' names with non-ASCII
|
||||
characters (:ghpull:`460`).
|
||||
* When flit init generates a LICENSE file, the new pyproject.toml
|
||||
now references it (:ghpull:`467`).
|
||||
- Do not package tests
|
||||
- Make it work with old python-rpm-macros
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 15 19:27:43 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Break build cycle by using upstream recommended bootstrap method
|
||||
https://flit.readthedocs.io/en/latest/bootstrap.html
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 15 17:32:51 UTC 2021 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to Version 3.4
|
||||
* Python 3.6 or above is now required, both for flit and
|
||||
flit_core.
|
||||
* Add a --setup-py option to flit build and flit publish,
|
||||
and a warning when neither this nor --no-setup-py are
|
||||
specified (PR #431). A future version will stop
|
||||
generating setup.py files in sdists by default.
|
||||
* Add support for standardised editable installs - pip
|
||||
install -e - according to PEP 660 (PR #400).
|
||||
* Add a --pypirc option for flit publish to specify an
|
||||
alternative path to a .pypirc config file describing
|
||||
package indexes (PR #434).
|
||||
* Fix installing dependencies specified in a [project]
|
||||
table (PR #433)
|
||||
* Fix building wheels when SOURCE_DATE_EPOCH (see
|
||||
Reproducible builds) is set to a date before 1980 (PR
|
||||
#448).
|
||||
* Switch to using the tomli TOML parser, in common with
|
||||
other packaging projects (PR #438). This supports TOML
|
||||
version 1.0.
|
||||
* Add a document on Bootstrapping (PR #441).
|
||||
- Release Version 3.3
|
||||
* PKG-INFO files in sdists are now generated the same way
|
||||
as METADATA in wheels, fixing some issues with sdists
|
||||
(PR #410).
|
||||
* flit publish now sends SHA-256 hashes, fixing uploads
|
||||
to GitLab package repositories (PR #416).
|
||||
* The [project] metadata table from PEP 621 is now fully
|
||||
supported and documented. Projects using this can now
|
||||
specify requires = ["flit_core >=3.2,<4"] in the
|
||||
[build-system] table.
|
||||
- Multibuild: break another depcycle with
|
||||
pytest/importlib-metadata/tomli
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 14 19:29:23 UTC 2021 - Matthias Bach <marix@marix.org>
|
||||
|
||||
- Update to version 3.2
|
||||
* Experimental support for specifying metadata in a [project] in
|
||||
pyproject.toml table as specified by PEP-621.
|
||||
* Fix writing METADATA file with multi-line information in
|
||||
certain fields such as Author.
|
||||
* Fix building wheel when a directory such as LICENSES appears
|
||||
in the project root directory.
|
||||
* Switch from the deprecated pytoml package to toml.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 26 22:38:40 UTC 2020 - Benjamin Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to version 3.0
|
||||
* flit_core once again requires Python 3 (>=3.4). Packages that
|
||||
support Python 2 can still be built by flit_core 2.x, but can't
|
||||
rely on new features (:ghpull:`342`).
|
||||
- Kill dephell dependency
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 23 18:13:44 UTC 2020 - Matej Cepl <mcepl@suse.com>
|
||||
|
||||
- Add macro %dephell_genspec to generate setup.py
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 15 10:01:34 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||
|
||||
- Fix generating with new dephell
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 18 23:33:33 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Remove dephell build workaround
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Dec 16 12:53:01 PM UTC 2019 - John Vandenberg <jayvdb@gmail.com>
|
||||
|
||||
- Initial spec for v2.1.0
|
84
saltbundlepy-flit-core.spec
Normal file
84
saltbundlepy-flit-core.spec
Normal file
@ -0,0 +1,84 @@
|
||||
#
|
||||
# spec file for saltbundlepy-flit-core
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
%{?!saltbundlepy_module:%define saltbundlepy_module() saltbundlepy-%{**}}
|
||||
%define pythons saltbundlepy
|
||||
|
||||
# test everything in the buildset by standard python flavor expansion: primary and non-primary, if any.
|
||||
%if "%{flavor}" == "test"
|
||||
%define psuffix -test
|
||||
%endif
|
||||
|
||||
Name: saltbundlepy-flit-core%{?psuffix}
|
||||
Version: 3.8.0
|
||||
Release: 0
|
||||
Summary: Distribution-building parts of Flit
|
||||
License: BSD-3-Clause AND MIT
|
||||
URL: https://github.com/pypa/flit
|
||||
Source0: https://files.pythonhosted.org/packages/source/f/flit_core/flit_core-%{version}.tar.gz
|
||||
BuildRequires: %{saltbundlepy_module base >= 3.6}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: saltbundlepy-rpm-macros
|
||||
BuildArch: noarch
|
||||
%if "%{flavor}" == "test"
|
||||
BuildRequires: %{saltbundlepy_module flit-core = %{version}}
|
||||
BuildRequires: %{saltbundlepy_module packaging}
|
||||
BuildRequires: %{saltbundlepy_module pytest}
|
||||
BuildRequires: %{saltbundlepy_module testpath}
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
This provides a PEP 517 build backend for packages using Flit.
|
||||
The only public interface is the API specified by PEP 517, at flit_core.buildapi.
|
||||
|
||||
%prep
|
||||
%setup -q -n flit_core-%{version}
|
||||
|
||||
%if "%{flavor}" != "test"
|
||||
%build
|
||||
%{python_expand \
|
||||
$python -m flit_core.wheel
|
||||
}
|
||||
|
||||
%install
|
||||
%{python_expand \
|
||||
mkdir -p %{buildroot}%{$python_sitelib}
|
||||
$python bootstrap_install.py dist/flit_core-%{version}-py3-none-any.whl -i %{buildroot}%{$python_sitelib}
|
||||
# Don't package the tests
|
||||
rm -r %{buildroot}%{$python_sitelib}/flit_core/tests
|
||||
$python -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}
|
||||
$python -O -m compileall -d %{$python_sitelib} %{buildroot}%{$python_sitelib}
|
||||
%fdupes %{buildroot}%{$python_sitelib}
|
||||
}
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" == "test"
|
||||
%check
|
||||
# make sure we do not test the sources but the package
|
||||
rm flit_core/*.py pyproject.toml
|
||||
%pytest -rfEs
|
||||
%endif
|
||||
|
||||
%if "%{flavor}" != "test"
|
||||
%files %{python_files}
|
||||
%{python_sitelib}/flit_core
|
||||
%{python_sitelib}/flit_core-%{version}*-info
|
||||
%endif
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user