aboutsummaryrefslogtreecommitdiff
blob: 51e6a21ed19452c3ad16b92bb1ec1e854fa09305 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
[build-system]
requires = [
	"flit_core >=3.8,<4",
	"snakeoil~=0.10.4",
]
build-backend = "py_build"
backend-path = ["."]

[project]
name = "pkgcore"
description = "package managing framework"
readme = "README.rst"
license = {file = "LICENSE"}
requires-python = "~=3.10"
authors = [
	{name = "Tim Harder", email = "radhermit@gmail.com"},
	{name = "Arthur Zamarin", email = "arthurzam@gentoo.org"},
	{name = "Brian Harring", email = "ferringb@gmail.com"},
]
maintainers = [
	{name = "Arthur Zamarin", email = "arthurzam@gentoo.org"},
]
classifiers = [
	"License :: OSI Approved :: BSD License",
	"Programming Language :: Python :: 3.10",
	"Programming Language :: Python :: 3.11",
	"Programming Language :: Python :: 3.12",
]
dynamic = ["version"]

dependencies = [
	"snakeoil~=0.10.4",
	"lxml",
]

[project.optional-dependencies]
test = [
	"pytest>=6.0",
	"pytest-cov",
]
doc = [
	"sphinx",
	"tomli; python_version < '3.11'"
]

[project.urls]
Homepage = "https://github.com/pkgcore/pkgcore"
Documentation = "https://pkgcore.github.io/pkgcore/"
Source = "https://github.com/pkgcore/pkgcore"

[project.scripts]
patom = "pkgcore.scripts.__init__:main"
pclean = "pkgcore.scripts.__init__:main"
pclonecache = "pkgcore.scripts.__init__:main"
pconfig = "pkgcore.scripts.__init__:main"
pebuild = "pkgcore.scripts.__init__:main"
pinspect = "pkgcore.scripts.__init__:main"
pmaint = "pkgcore.scripts.__init__:main"
pmerge = "pkgcore.scripts.__init__:main"
pplugincache = "pkgcore.scripts.__init__:main"
pquery = "pkgcore.scripts.__init__:main"

[tool.flit.external-data]
directory = "data"

[tool.flit.sdist]
include = [
	"tox.ini", ".coveragerc", "Makefile", "py_build.py",
	"NEWS.rst", "doc", "tests", "examples", "bin",
	"build/sphinx/man/*.1", "build/sphinx/man/*.5",
]
exclude = [
	".github/", ".gitignore",
	"doc/api/", "doc/generated/",
]

[project.entry-points.pytest11]
pkgcore = "pkgcore.pytest.plugin"

[tool.pytest.ini_options]
minversion = "6.0"
addopts = "-vv -ra -l"
testpaths = ["tests"]
markers = [
	"net: tests that require network access (must enable --network option to run)",
]