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