From abb50e27a617b6ef6d907b50522fe8aeeaaa6450 Mon Sep 17 00:00:00 2001 From: Andrew <51118083+ArionThinker@users.noreply.github.com> Date: Sat, 4 Nov 2023 21:43:12 +0200 Subject: [PATCH] lxml.de (#3956) * new file: projects/lxml.de/package.yml * env --- projects/lxml.de/package.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 projects/lxml.de/package.yml diff --git a/projects/lxml.de/package.yml b/projects/lxml.de/package.yml new file mode 100644 index 00000000..a90ff0e0 --- /dev/null +++ b/projects/lxml.de/package.yml @@ -0,0 +1,29 @@ +distributable: + url: https://github.com/lxml/lxml/releases/download/lxml-{{version}}/lxml-{{version}}.tar.gz + strip-components: 1 +versions: + github: lxml/lxml + strip: /^lxml-/ +dependencies: + python.org: ^3.10 + gnome.org/libxml2: '*' + gnome.org/libxslt: '*' +runtime: + env: + PYTHONPATH: "{{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages:$PYTHONPATH" +build: + dependencies: + linux: + llvm.org: '*' + script: + - python -m pip install --prefix={{prefix}} . + - run: ln -s python{{deps.python.org.version.marketing}} python{{deps.python.org.version.major}} + working-directory: "{{prefix}}/lib" + env: + linux: + CC: clang + CXX: clang++ + LD: clang +test: + script: + - python -c "import lxml"