From e7a5c48486047582d37017b0de8cc73604e63afb Mon Sep 17 00:00:00 2001 From: idriskalp Date: Tue, 14 Jan 2020 17:17:56 +0300 Subject: [PATCH] python3-lxml add to repo --- .../language/python3/python3-lxml/actions.py | 27 +++++++++ .../language/python3/python3-lxml/pspec.xml | 57 +++++++++++++++++++ .../python3/python3-lxml/translations.xml | 13 +++++ 3 files changed, 97 insertions(+) create mode 100644 programming/language/python3/python3-lxml/actions.py create mode 100644 programming/language/python3/python3-lxml/pspec.xml create mode 100644 programming/language/python3/python3-lxml/translations.xml diff --git a/programming/language/python3/python3-lxml/actions.py b/programming/language/python3/python3-lxml/actions.py new file mode 100644 index 0000000000..e245ca8fa2 --- /dev/null +++ b/programming/language/python3/python3-lxml/actions.py @@ -0,0 +1,27 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/copyleft/gpl.txt. + +from pisi.actionsapi import pythonmodules +from pisi.actionsapi import shelltools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +WorkDir = "lxml-%s" % get.srcVERSION() + +def build(): + # remove the C extension so that it will be rebuild using the latest Cython + shelltools.unlink("src/lxml/lxml.etree.c") + shelltools.unlink("src/lxml/lxml.etree_api.h") + shelltools.unlink("src/lxml/lxml.objectify.c") + + pythonmodules.compile(pyVer="3") + +def install(): + pythonmodules.install(pyVer="3") + + pisitools.insinto("%s/%s" % (get.docDIR(), get.srcNAME()),"doc/*") + + pisitools.dodoc("CHANGES.txt", "LICENSES.txt", "TODO.txt") diff --git a/programming/language/python3/python3-lxml/pspec.xml b/programming/language/python3/python3-lxml/pspec.xml new file mode 100644 index 0000000000..9a5d435dcb --- /dev/null +++ b/programming/language/python3/python3-lxml/pspec.xml @@ -0,0 +1,57 @@ + + + + + python3-lxml + http://codespeak.net/lxml + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + BSD + library + lxml is the most feature-rich and easy-to-use library + lxml is the most feature-rich and easy-to-use library for working with XML and HTML in the Python language. + https://lxml.de/files/lxml-4.4.2.tgz + + libxml2-devel + python3-devel + cython + libxslt-devel + + + + + python3-lxml + + libxslt + libxml2 + python3 + + + /usr/lib + + + + + python3-lxml-docs + API documentation of python3-lxml + + python3-lxml + + + /usr/share/doc + + + + + + 2020-01-14 + 4.4.2 + First release + Idris Kalp + idriskalp@gmail.com + + + diff --git a/programming/language/python3/python3-lxml/translations.xml b/programming/language/python3/python3-lxml/translations.xml new file mode 100644 index 0000000000..e9d8f95dae --- /dev/null +++ b/programming/language/python3/python3-lxml/translations.xml @@ -0,0 +1,13 @@ + + + + python-lxml + Zengin içerikli ve kolay kullanımlı bir kütüphane. + Python dilinde xml ve html ile çalışmak için, zengin içerikli ve kolay kullanımlı bir kütüphane. + + + + python-lxml-docs + python-lxml paketine ait API belgeleri + +