mirror of
https://github.com/krateng/maloja.git
synced 2025-04-13 07:27:12 +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"
|
||||
arch="noarch"
|
||||
license="GPL-3.0"
|
||||
depends="python3 tzdata vips"
|
||||
depends="python3 tzdata"
|
||||
pkgusers=$pkgname
|
||||
pkggroups=$pkgname
|
||||
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
|
||||
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 python3 tzdata vips && \
|
||||
apk add --no-cache python3 tzdata && \
|
||||
pip3 install --no-cache-dir -r requirements.txt && \
|
||||
apk del .build-deps
|
||||
|
||||
|
@ -1,6 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
apk add \
|
||||
{{ 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 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 = [
|
||||
"python3",
|
||||
"tzdata",
|
||||
"tzdata"
|
||||
]
|
||||
opt = [
|
||||
"vips"
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user