diff options
Diffstat (limited to 'meta/recipes-devtools/python/python3-wheel/0001-Backport-pyproject.toml-from-flit-backend-branch.patch')
-rw-r--r-- | meta/recipes-devtools/python/python3-wheel/0001-Backport-pyproject.toml-from-flit-backend-branch.patch | 100 |
1 files changed, 0 insertions, 100 deletions
diff --git a/meta/recipes-devtools/python/python3-wheel/0001-Backport-pyproject.toml-from-flit-backend-branch.patch b/meta/recipes-devtools/python/python3-wheel/0001-Backport-pyproject.toml-from-flit-backend-branch.patch deleted file mode 100644 index 023de0e6a8..0000000000 --- a/meta/recipes-devtools/python/python3-wheel/0001-Backport-pyproject.toml-from-flit-backend-branch.patch +++ /dev/null | |||
@@ -1,100 +0,0 @@ | |||
1 | From f00dd220346773bc088d403847ee7f06f2b4c30a Mon Sep 17 00:00:00 2001 | ||
2 | From: Tim Orling <tim.orling@konsulko.com> | ||
3 | Date: Fri, 18 Feb 2022 11:09:16 -0800 | ||
4 | Subject: [PATCH] Backport pyproject.toml from flit-backend branch | ||
5 | |||
6 | This allows us to bootstrap wheels and PEP-517 packaging. | ||
7 | |||
8 | Upstream-Status: Backport from flit-backend branch | ||
9 | https://raw.githubusercontent.com/pypa/wheel/4f6ba78fede38a8d9e35a14e38377a121033afb3/pyproject.toml | ||
10 | |||
11 | Signed-off-by: Tim Orling <tim.orling@konsulko.com> | ||
12 | --- | ||
13 | pyproject.toml | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++ | ||
14 | 1 file changed, 78 insertions(+) | ||
15 | create mode 100644 pyproject.toml | ||
16 | |||
17 | diff --git a/pyproject.toml b/pyproject.toml | ||
18 | new file mode 100644 | ||
19 | index 0000000..749b8de | ||
20 | --- /dev/null | ||
21 | +++ b/pyproject.toml | ||
22 | @@ -0,0 +1,78 @@ | ||
23 | +[build-system] | ||
24 | +requires = ["flit_core >=3.2,<4"] | ||
25 | +build-backend = "flit_core.buildapi" | ||
26 | + | ||
27 | +[project] | ||
28 | +name = "wheel" | ||
29 | +description = "A built-package format for Python" | ||
30 | +readme = "README.rst" | ||
31 | +classifiers = [ | ||
32 | + "Development Status :: 5 - Production/Stable", | ||
33 | + "Intended Audience :: Developers", | ||
34 | + "Topic :: System :: Archiving :: Packaging", | ||
35 | + "License :: OSI Approved :: MIT License", | ||
36 | + "Programming Language :: Python", | ||
37 | + "Programming Language :: Python :: 3 :: Only", | ||
38 | + "Programming Language :: Python :: 3.7", | ||
39 | + "Programming Language :: Python :: 3.8", | ||
40 | + "Programming Language :: Python :: 3.9", | ||
41 | + "Programming Language :: Python :: 3.10" | ||
42 | +] | ||
43 | +authors = [{name = "Daniel Holth", email = "dholth@fastmail.fm"}] | ||
44 | +maintainers = [{name = "Alex Grönholm", email = "alex.gronholm@nextday.fi"}] | ||
45 | +keywords = ["wheel", "packaging"] | ||
46 | +license = {file = "LICENSE.txt"} | ||
47 | +requires-python = ">=3.7" | ||
48 | +dependencies = [ | ||
49 | + "setuptools >= 45.2.0" | ||
50 | +] | ||
51 | +dynamic = ["version"] | ||
52 | + | ||
53 | +[project.urls] | ||
54 | +Documentation = "https://wheel.readthedocs.io/" | ||
55 | +Changelog = "https://wheel.readthedocs.io/en/stable/news.html" | ||
56 | +"Issue Tracker" = "https://github.com/pypa/wheel/issues" | ||
57 | + | ||
58 | +[project.scripts] | ||
59 | +wheel = "wheel.cli:main" | ||
60 | + | ||
61 | +[project.entry-points."distutils.commands"] | ||
62 | +bdist_wheel = "wheel.bdist_wheel:bdist_wheel" | ||
63 | + | ||
64 | +[project.optional-dependencies] | ||
65 | +test = [ | ||
66 | + "pytest >= 3.0.0" | ||
67 | +] | ||
68 | + | ||
69 | +[tool.flit.sdist] | ||
70 | +exclude = [ | ||
71 | + ".cirrus.yml", | ||
72 | + ".github/*", | ||
73 | + ".gitignore", | ||
74 | + ".pre-commit-config.yaml", | ||
75 | + ".readthedocs.yml" | ||
76 | +] | ||
77 | + | ||
78 | +[tool.black] | ||
79 | +target-version = ['py37'] | ||
80 | +extend-exclude = ''' | ||
81 | +^/src/wheel/vendored/ | ||
82 | +''' | ||
83 | + | ||
84 | +[tool.isort] | ||
85 | +src_paths = ["src"] | ||
86 | +profile = "black" | ||
87 | +skip_gitignore = true | ||
88 | + | ||
89 | +[tool.flake8] | ||
90 | +max-line-length = 88 | ||
91 | + | ||
92 | +[tool.pytest.ini_options] | ||
93 | +testpaths = "tests" | ||
94 | + | ||
95 | +[tool.coverage.run] | ||
96 | +source = ["wheel"] | ||
97 | +omit = ["*/vendored/*"] | ||
98 | + | ||
99 | +[tool.coverage.report] | ||
100 | +show_missing = true | ||