mirror of
https://github.com/krateng/maloja.git
synced 2025-04-18 17:47:37 +03:00
Fixed optional dependencies
This commit is contained in:
parent
e3dc401ccf
commit
4e1b099547
2
APKBUILD
2
APKBUILD
@ -7,7 +7,7 @@ pkgdesc="Self-hosted music scrobble database"
|
|||||||
url="https://github.com/krateng/maloja"
|
url="https://github.com/krateng/maloja"
|
||||||
arch="noarch"
|
arch="noarch"
|
||||||
license="GPL-3.0"
|
license="GPL-3.0"
|
||||||
depends="python3 tzdata vips"
|
depends="python3 tzdata"
|
||||||
pkgusers=$pkgname
|
pkgusers=$pkgname
|
||||||
pkggroups=$pkgname
|
pkggroups=$pkgname
|
||||||
depends_dev="gcc python3-dev libxml2-dev libxslt-dev libffi-dev libc-dev py3-pip linux-headers"
|
depends_dev="gcc python3-dev libxml2-dev libxslt-dev libffi-dev libc-dev py3-pip linux-headers"
|
||||||
|
@ -12,7 +12,7 @@ COPY ./requirements.txt ./requirements.txt
|
|||||||
# Install everything before copying rest of the project, can be cached
|
# Install everything before copying rest of the project, can be cached
|
||||||
RUN \
|
RUN \
|
||||||
apk add --no-cache --virtual .build-deps gcc python3-dev libxml2-dev libxslt-dev libffi-dev libc-dev py3-pip linux-headers && \
|
apk add --no-cache --virtual .build-deps gcc python3-dev libxml2-dev libxslt-dev libffi-dev libc-dev py3-pip linux-headers && \
|
||||||
apk add --no-cache python3 tzdata vips && \
|
apk add --no-cache python3 tzdata && \
|
||||||
pip3 install --no-cache-dir -r requirements.txt && \
|
pip3 install --no-cache-dir -r requirements.txt && \
|
||||||
apk del .build-deps
|
apk del .build-deps
|
||||||
|
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
apk add \
|
apk add \
|
||||||
{{ tool.osreqs.alpine.build | join(' \\\n\t') }} \
|
{{ tool.osreqs.alpine.build | join(' \\\n\t') }} \
|
||||||
{{ tool.osreqs.alpine.run | join(' \\\n\t') }}
|
{{ tool.osreqs.alpine.run | join(' \\\n\t') }} \
|
||||||
|
{{ tool.osreqs.alpine.opt | join(' \\\n\t') }}
|
||||||
pip3 install wheel
|
pip3 install wheel
|
||||||
pip3 install malojaserver
|
pip3 install malojaserver
|
||||||
|
@ -1 +0,0 @@
|
|||||||
python3
|
|
@ -1,8 +0,0 @@
|
|||||||
gcc
|
|
||||||
python3-dev
|
|
||||||
libxml2-dev
|
|
||||||
libxslt-dev
|
|
||||||
libffi-dev
|
|
||||||
libc-dev
|
|
||||||
py3-pip
|
|
||||||
linux-headers
|
|
@ -1 +0,0 @@
|
|||||||
tzdata
|
|
@ -1 +0,0 @@
|
|||||||
vips
|
|
@ -1,4 +0,0 @@
|
|||||||
sed 's/#.*//' ./install/dependencies_basic.txt | xargs apk add
|
|
||||||
sed 's/#.*//' ./install/dependencies_build.txt | xargs apk add
|
|
||||||
sed 's/#.*//' ./install/dependencies_run.txt | xargs apk add
|
|
||||||
sed 's/#.*//' ./install/dependencies_run_opt.txt | xargs apk add
|
|
@ -61,6 +61,8 @@ build =[
|
|||||||
]
|
]
|
||||||
run = [
|
run = [
|
||||||
"python3",
|
"python3",
|
||||||
"tzdata",
|
"tzdata"
|
||||||
|
]
|
||||||
|
opt = [
|
||||||
"vips"
|
"vips"
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user