mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-06-18 11:56:55 +00:00
fix: lxml dep
This commit is contained in:
parent
51b8a6f39b
commit
ab4c55b6ad
|
@ -26,6 +26,21 @@
|
|||
],
|
||||
"modules" : [
|
||||
"pypi-dependencies.json",
|
||||
{
|
||||
"name": "python-lxml",
|
||||
"buildsystem": "simple",
|
||||
"build-commands": [
|
||||
"python3 setup.py build --with-cython",
|
||||
"python3 setup.py install --prefix=/app --root=/"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://github.com/lxml/lxml/releases/download/lxml-4.9.1/lxml-4.9.1.tar.gz",
|
||||
"sha256": "fe749b052bb7233fe5d072fcb549221a8cb1a16725c47c37e42b0b9cb3ff2c3f"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name" : "blueprint-compiler",
|
||||
"buildsystem" : "meson",
|
||||
|
|
|
@ -26,6 +26,22 @@
|
|||
],
|
||||
"modules" : [
|
||||
"pypi-dependencies.json",
|
||||
{
|
||||
"name": "python-lxml",
|
||||
"buildsystem": "simple",
|
||||
"build-commands": [
|
||||
"python3 setup.py build --with-cython",
|
||||
"python3 setup.py install --prefix=/app --root=/"
|
||||
],
|
||||
"sources": [
|
||||
{
|
||||
"type": "archive",
|
||||
"url": "https://github.com/lxml/lxml/releases/download/lxml-4.9.1/lxml-4.9.1.tar.gz",
|
||||
"sha256": "fe749b052bb7233fe5d072fcb549221a8cb1a16725c47c37e42b0b9cb3ff2c3f"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
||||
{
|
||||
"name" : "blueprint-compiler",
|
||||
"buildsystem" : "meson",
|
||||
|
|
|
@ -38,9 +38,11 @@ dependency('glib-2.0')
|
|||
dependency('gtk4', version: '>= 4.5.0')
|
||||
dependency('libadwaita-1', version: '>= 1.2.alpha')
|
||||
dependency('pygobject-3.0', version: '>= 3.42.0')
|
||||
dependency('libxml-2.0')
|
||||
dependency('libxslt')
|
||||
|
||||
# Python installation directory
|
||||
PY_INSTALLDIR = python.find_installation('python3')
|
||||
PY_INSTALLDIR = python.find_installation('python3', required: true, modules: ['lxml'])
|
||||
|
||||
# Check if python3 is installed
|
||||
if not PY_INSTALLDIR.found()
|
||||
|
|
Loading…
Reference in a new issue