|
1 | | -[tool.poetry] |
| 1 | +[project] |
2 | 2 | name = "msys2-devtools" |
3 | 3 | version = "0.1.0" |
4 | 4 | description = "" |
5 | | -authors = [ "Christoph Reiter <[email protected]>"] |
6 | | -license = "BSD-3-Clause" |
| 5 | +authors = [ { name = "Christoph Reiter", email = "[email protected]" }] |
| 6 | +requires-python = ">=3.10.0,<4.0" |
7 | 7 | readme = "README.md" |
| 8 | +license = "BSD-3-Clause" |
| 9 | +dependencies = [ |
| 10 | + "tabulate>=0.9.0,<0.10", |
| 11 | + "requests>=2.28.2,<3", |
| 12 | + "pydantic>=2.0,<3", |
| 13 | + "pyzstd>=0.17.0,<0.18", |
| 14 | +] |
8 | 15 |
|
9 | | -[tool.poetry.dependencies] |
10 | | -python = "^3.10" |
11 | | -tabulate = "^0.9.0" |
12 | | -requests = "^2.28.2" |
13 | | -pydantic = "^2.0" |
14 | | -pyzstd = "^0.17.0" |
15 | | -pgpdump = { version = "^1.5", optional = true } |
16 | | -netaddr = { version = "^1.0.0", optional = true } |
17 | | -fastprogress = { version = "^1.0.3", optional = true } |
18 | | -cyclonedx-python-lib = { version = "^11.0.0", optional = true } |
19 | | -packageurl-python = { version = "^0.17.0", optional = true } |
20 | | -requests-cache = { version = "^1.2.1", optional = true } |
21 | | - |
22 | | -[tool.poetry.extras] |
23 | | -sbom = ["cyclonedx-python-lib", "packageurl-python"] |
24 | | -logstats = ["netaddr", "requests-cache"] |
25 | | -sigstats = ["pgpdump", "fastprogress"] |
26 | | -pypi-cache = ["packageurl-python"] |
27 | | -all = ["cyclonedx-python-lib", "packageurl-python", "netaddr", "pgpdump", "fastprogress", "requests-cache"] |
| 16 | +[project.optional-dependencies] |
| 17 | +sbom = [ |
| 18 | + "cyclonedx-python-lib>=11.0.0,<12", |
| 19 | + "packageurl-python>=0.17.0,<0.18", |
| 20 | +] |
| 21 | +logstats = [ |
| 22 | + "netaddr>=1.0.0,<2", |
| 23 | + "requests-cache>=1.2.1,<2", |
| 24 | +] |
| 25 | +sigstats = [ |
| 26 | + "pgpdump>=1.5,<2", |
| 27 | + "fastprogress>=1.0.3,<2", |
| 28 | +] |
| 29 | +pypi-cache = ["packageurl-python>=0.17.0,<0.18"] |
| 30 | +all = [ |
| 31 | + "cyclonedx-python-lib>=11.0.0,<12", |
| 32 | + "packageurl-python>=0.17.0,<0.18", |
| 33 | + "netaddr>=1.0.0,<2", |
| 34 | + "pgpdump>=1.5,<2", |
| 35 | + "fastprogress>=1.0.3,<2", |
| 36 | + "requests-cache>=1.2.1,<2", |
| 37 | +] |
28 | 38 |
|
29 | | -[tool.poetry.scripts] |
30 | | -msys2-srcinfo-cache = 'msys2_devtools.srcinfo_cache:run' |
31 | | -msys2-pypi-cache = 'msys2_devtools.pypi_cache:run' |
32 | | -msys2-sbom = 'msys2_devtools.sbom:run' |
| 39 | +[project.scripts] |
| 40 | +msys2-srcinfo-cache = "msys2_devtools.srcinfo_cache:run" |
| 41 | +msys2-pypi-cache = "msys2_devtools.pypi_cache:run" |
| 42 | +msys2-sbom = "msys2_devtools.sbom:run" |
33 | 43 |
|
34 | | -[tool.poetry.group.dev.dependencies] |
35 | | -pytest = "^8.0.0" |
36 | | -flake8 = "^7.0.0" |
| 44 | +[dependency-groups] |
| 45 | +dev = [ |
| 46 | + "pytest>=8.0.0,<9", |
| 47 | + "flake8>=7.0.0,<8", |
| 48 | +] |
37 | 49 |
|
38 | 50 | [build-system] |
39 | | -requires = ["poetry-core"] |
40 | | -build-backend = "poetry.core.masonry.api" |
| 51 | +requires = ["hatchling"] |
| 52 | +build-backend = "hatchling.build" |
0 commit comments