python3-lxml add to repo
This commit is contained in:
@@ -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")
|
||||||
@@ -0,0 +1,57 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>python3-lxml</Name>
|
||||||
|
<Homepage>http://codespeak.net/lxml</Homepage>
|
||||||
|
<Packager>
|
||||||
|
<Name>PisiLinux Community</Name>
|
||||||
|
<Email>admins@pisilinux.org</Email>
|
||||||
|
</Packager>
|
||||||
|
<License>GPLv2</License>
|
||||||
|
<License>BSD</License>
|
||||||
|
<IsA>library</IsA>
|
||||||
|
<Summary>lxml is the most feature-rich and easy-to-use library</Summary>
|
||||||
|
<Description>lxml is the most feature-rich and easy-to-use library for working with XML and HTML in the Python language.</Description>
|
||||||
|
<Archive sha1sum="6c6196d6e80a52ebac4aef0fba702a4c5524e6bb" type="targz">https://lxml.de/files/lxml-4.4.2.tgz</Archive>
|
||||||
|
<BuildDependencies>
|
||||||
|
<Dependency>libxml2-devel</Dependency>
|
||||||
|
<Dependency>python3-devel</Dependency>
|
||||||
|
<Dependency>cython</Dependency>
|
||||||
|
<Dependency>libxslt-devel</Dependency>
|
||||||
|
</BuildDependencies>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>python3-lxml</Name>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency>libxslt</Dependency>
|
||||||
|
<Dependency>libxml2</Dependency>
|
||||||
|
<Dependency>python3</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="library">/usr/lib</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>python3-lxml-docs</Name>
|
||||||
|
<Summary>API documentation of python3-lxml</Summary>
|
||||||
|
<RuntimeDependencies>
|
||||||
|
<Dependency release="current">python3-lxml</Dependency>
|
||||||
|
</RuntimeDependencies>
|
||||||
|
<Files>
|
||||||
|
<Path fileType="doc">/usr/share/doc</Path>
|
||||||
|
</Files>
|
||||||
|
</Package>
|
||||||
|
|
||||||
|
<History>
|
||||||
|
<Update release="1">
|
||||||
|
<Date>2020-01-14</Date>
|
||||||
|
<Version>4.4.2</Version>
|
||||||
|
<Comment>First release</Comment>
|
||||||
|
<Name>Idris Kalp</Name>
|
||||||
|
<Email>idriskalp@gmail.com</Email>
|
||||||
|
</Update>
|
||||||
|
</History>
|
||||||
|
</PISI>
|
||||||
@@ -0,0 +1,13 @@
|
|||||||
|
<?xml version="1.0" ?>
|
||||||
|
<PISI>
|
||||||
|
<Source>
|
||||||
|
<Name>python-lxml</Name>
|
||||||
|
<Summary xml:lang="tr">Zengin içerikli ve kolay kullanımlı bir kütüphane.</Summary>
|
||||||
|
<Description xml:lang="tr">Python dilinde xml ve html ile çalışmak için, zengin içerikli ve kolay kullanımlı bir kütüphane.</Description>
|
||||||
|
</Source>
|
||||||
|
|
||||||
|
<Package>
|
||||||
|
<Name>python-lxml-docs</Name>
|
||||||
|
<Summary xml:lang="tr">python-lxml paketine ait API belgeleri</Summary>
|
||||||
|
</Package>
|
||||||
|
</PISI>
|
||||||
Reference in New Issue
Block a user