mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-07-15 07:11:07 +00:00
fix tox environments
This commit is contained in:
+2
-2
@@ -68,8 +68,8 @@ COPY --chown=build . "/home/build/ahriman"
|
|||||||
## create package archive and install it
|
## create package archive and install it
|
||||||
RUN cd "/home/build/ahriman" && \
|
RUN cd "/home/build/ahriman" && \
|
||||||
tox -e archive && \
|
tox -e archive && \
|
||||||
cp ./dist/*.tar.gz "package/archlinux" && \
|
cp ./dist/*.tar.gz "archlinux" && \
|
||||||
cd "package/archlinux" && \
|
cd "archlinux" && \
|
||||||
runuser -u build -- makepkg --noconfirm --skipchecksums && \
|
runuser -u build -- makepkg --noconfirm --skipchecksums && \
|
||||||
cd / && rm -r "/home/build/ahriman"
|
cd / && rm -r "/home/build/ahriman"
|
||||||
|
|
||||||
|
|||||||
@@ -91,7 +91,6 @@ deps = [
|
|||||||
{ replace = "ref", of = ["project", "extras"], extend = true },
|
{ replace = "ref", of = ["project", "extras"], extend = true },
|
||||||
]
|
]
|
||||||
pip_pre = true
|
pip_pre = true
|
||||||
skip_install = true
|
|
||||||
set_env.CFLAGS = "-Wno-unterminated-string-initialization"
|
set_env.CFLAGS = "-Wno-unterminated-string-initialization"
|
||||||
set_env.MYPYPATH = "ahriman-core/src:ahriman-triggers/src:ahriman-web/src"
|
set_env.MYPYPATH = "ahriman-core/src:ahriman-triggers/src:ahriman-web/src"
|
||||||
commands = [
|
commands = [
|
||||||
@@ -243,7 +242,7 @@ commands = [
|
|||||||
"sphinx-build",
|
"sphinx-build",
|
||||||
"--builder", "html",
|
"--builder", "html",
|
||||||
"--fail-on-warning",
|
"--fail-on-warning",
|
||||||
"--jobs", "auto",
|
"--jobs", "1",
|
||||||
"--write-all",
|
"--write-all",
|
||||||
"docs",
|
"docs",
|
||||||
"{envtmpdir}/html",
|
"{envtmpdir}/html",
|
||||||
@@ -265,9 +264,9 @@ commands = [
|
|||||||
[
|
[
|
||||||
"git",
|
"git",
|
||||||
"add",
|
"add",
|
||||||
|
"archlinux/PKGBUILD",
|
||||||
"docs/_static/architecture.dot",
|
"docs/_static/architecture.dot",
|
||||||
"frontend/package.json",
|
"frontend/package.json",
|
||||||
"package/archlinux/PKGBUILD",
|
|
||||||
"ahriman-core/package/share/man/man1/ahriman.1",
|
"ahriman-core/package/share/man/man1/ahriman.1",
|
||||||
"ahriman-core/package/share/bash-completion/completions/_ahriman",
|
"ahriman-core/package/share/bash-completion/completions/_ahriman",
|
||||||
"ahriman-core/package/share/zsh/site-functions/_ahriman",
|
"ahriman-core/package/share/zsh/site-functions/_ahriman",
|
||||||
@@ -324,6 +323,7 @@ allowlist_externals = [
|
|||||||
deps = [
|
deps = [
|
||||||
"packaging",
|
"packaging",
|
||||||
]
|
]
|
||||||
|
skip_install = true
|
||||||
commands = [
|
commands = [
|
||||||
# check if version is set and validate it
|
# check if version is set and validate it
|
||||||
[
|
[
|
||||||
@@ -346,6 +346,6 @@ commands = [
|
|||||||
"sed",
|
"sed",
|
||||||
"--in-place",
|
"--in-place",
|
||||||
"s/pkgver=.*/pkgver={posargs}/",
|
"s/pkgver=.*/pkgver={posargs}/",
|
||||||
"package/archlinux/PKGBUILD",
|
"archlinux/PKGBUILD",
|
||||||
],
|
],
|
||||||
]
|
]
|
||||||
|
|||||||
Reference in New Issue
Block a user