mirror of
https://github.com/GradienceTeam/Gradience.git
synced 2024-09-27 22:17:53 +00:00
fix: lxml dep
This commit is contained in:
parent
51b8a6f39b
commit
ab4c55b6ad
3 changed files with 34 additions and 1 deletions
|
@ -26,6 +26,21 @@
|
||||||
],
|
],
|
||||||
"modules" : [
|
"modules" : [
|
||||||
"pypi-dependencies.json",
|
"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",
|
"name" : "blueprint-compiler",
|
||||||
"buildsystem" : "meson",
|
"buildsystem" : "meson",
|
||||||
|
|
|
@ -26,6 +26,22 @@
|
||||||
],
|
],
|
||||||
"modules" : [
|
"modules" : [
|
||||||
"pypi-dependencies.json",
|
"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",
|
"name" : "blueprint-compiler",
|
||||||
"buildsystem" : "meson",
|
"buildsystem" : "meson",
|
||||||
|
|
|
@ -38,9 +38,11 @@ dependency('glib-2.0')
|
||||||
dependency('gtk4', version: '>= 4.5.0')
|
dependency('gtk4', version: '>= 4.5.0')
|
||||||
dependency('libadwaita-1', version: '>= 1.2.alpha')
|
dependency('libadwaita-1', version: '>= 1.2.alpha')
|
||||||
dependency('pygobject-3.0', version: '>= 3.42.0')
|
dependency('pygobject-3.0', version: '>= 3.42.0')
|
||||||
|
dependency('libxml-2.0')
|
||||||
|
dependency('libxslt')
|
||||||
|
|
||||||
# Python installation directory
|
# Python installation directory
|
||||||
PY_INSTALLDIR = python.find_installation('python3')
|
PY_INSTALLDIR = python.find_installation('python3', required: true, modules: ['lxml'])
|
||||||
|
|
||||||
# Check if python3 is installed
|
# Check if python3 is installed
|
||||||
if not PY_INSTALLDIR.found()
|
if not PY_INSTALLDIR.found()
|
||||||
|
|
Loading…
Reference in a new issue