pyproject.toml 3.04 KB
Newer Older
1
2
3
4
5
6
7
8
[tool.black]
line-length = 88

[tool.isort]
profile = "black"
combine_as_imports = true


9
10
11
12
13
14
15
16
17
18
# Poetry build configuration for the aurweb project.
#
# Dependencies:
#   * python >= 3.9
#   * pip
#       * poetry
#       * poetry-dynamic-versioning
#
[tool.poetry]
name = "aurweb"
Kevin Morris's avatar
Kevin Morris committed
19
version = "v6.1.2"
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
license = "GPL-2.0-only"
description = "Source code for the Arch User Repository's website"
homepage = "https://aur.archlinux.org"
repository = "https://gitlab.archlinux.org/archlinux/aurweb"
documentation = "https://gitlab.archlinux.org/archlinux/aurweb/-/blob/master/README.md"
keywords = ["aurweb", "aur", "Arch", "Linux"]
authors = [
    "Lucas Fleischer <lfleischer@archlinux.org>",
    "Eli Schwartz <eschwartz@archlinux.org>",
    "Kevin Morris <kevr@0cost.org>"
]
maintainers = [
    "Eli Schwartz <eschwartz@archlinux.org>"
]
packages = [
    { include = "aurweb" }
]

[tool.poetry-dynamic-versioning]
enable = true
vcs = "git"

[build-system]
requires = ["poetry>=1.1.8", "poetry-dynamic-versioning"]
build-backend = "poetry.masonry.api"

[tool.poetry.urls]
"Repository" = "https://gitlab.archlinux.org/archlinux/aurweb"
"Bug Tracker" = "https://gitlab.archlinux.org/archlinux/aurweb/-/issues"
"Development Mailing List" = "https://lists.archlinux.org/listinfo/aur-dev"
"General Mailing List" = "https://lists.archlinux.org/listinfo/aur-general"
"Request Mailing List" = "https://lists.archlinux.org/listinfo/aur-requests"

[tool.poetry.dependencies]
54
python = ">=3.9,<3.11"
Kevin Morris's avatar
Kevin Morris committed
55

56
57
58
59
# poetry-dynamic-versioning is used to produce tool.poetry.version
# based on git tags.

# General
60
aiofiles = "^0.8.0"
Kevin Morris's avatar
Kevin Morris committed
61
62
63
asgiref = "^3.4.1"
bcrypt = "^3.2.0"
bleach = "^4.1.0"
64
email-validator = "1.2.1"
Kevin Morris's avatar
Kevin Morris committed
65
66
fakeredis = "^1.6.1"
feedgen = "^0.9.0"
67
httpx = "^0.23.0"
Kevin Morris's avatar
Kevin Morris committed
68
69
70
71
72
73
74
itsdangerous = "^2.0.1"
lxml = "^4.6.3"
orjson = "^3.6.4"
protobuf = "^3.19.0"
pygit2 = "^1.7.0"
python-multipart = "^0.0.5"
redis = "^3.5.3"
Kevin Morris's avatar
Kevin Morris committed
75
requests = "^2.28.1"
Kevin Morris's avatar
Kevin Morris committed
76
paginate = "^0.5.6"
77
78

# SQL
Kevin Morris's avatar
Kevin Morris committed
79
80
81
82
alembic = "^1.7.4"
mysqlclient = "^2.0.3"
Authlib = "^0.15.5"
Jinja2 = "^3.0.2"
83
Markdown = "^3.3.6"
Kevin Morris's avatar
Kevin Morris committed
84
85
86
87
88
89
90
Werkzeug = "^2.0.2"
SQLAlchemy = "^1.4.26"

# ASGI
uvicorn = "^0.15.0"
gunicorn = "^20.1.0"
Hypercorn = "^0.11.2"
91
prometheus-fastapi-instrumentator = "^5.7.1"
Kevin Morris's avatar
Kevin Morris committed
92
pytest-xdist = "^2.4.0"
Kevin Morris's avatar
Kevin Morris committed
93
filelock = "^3.3.2"
Kevin Morris's avatar
Kevin Morris committed
94
posix-ipc = "^1.0.5"
95
pyalpm = "^0.10.6"
96
fastapi = "^0.71.0"
Kevin Morris's avatar
Kevin Morris committed
97
srcinfo = "^0.0.8"
98
99

[tool.poetry.dev-dependencies]
Kevin Morris's avatar
Kevin Morris committed
100
101
coverage = "^6.0.2"
pytest = "^6.2.5"
102
pytest-asyncio = "^0.19.0"
Kevin Morris's avatar
Kevin Morris committed
103
104
pytest-cov = "^3.0.0"
pytest-tap = "^3.2"
105
106
107
108
109
110
111
112
113
114
115
116
117

[tool.poetry.scripts]
aurweb-git-auth = "aurweb.git.auth:main"
aurweb-git-serve = "aurweb.git.serve:main"
aurweb-git-update = "aurweb.git.update:main"
aurweb-aurblup = "aurweb.scripts.aurblup:main"
aurweb-mkpkglists = "aurweb.scripts.mkpkglists:main"
aurweb-notify = "aurweb.scripts.notify:main"
aurweb-pkgmaint = "aurweb.scripts.pkgmaint:main"
aurweb-popupdate = "aurweb.scripts.popupdate:main"
aurweb-rendercomment = "aurweb.scripts.rendercomment:main"
aurweb-tuvotereminder = "aurweb.scripts.tuvotereminder:main"
aurweb-usermaint = "aurweb.scripts.usermaint:main"
118
aurweb-config = "aurweb.scripts.config:main"
119
aurweb-adduser = "aurweb.scripts.adduser:main"