python3-lxml:ver.bump
This commit is contained in:
@@ -9,14 +9,15 @@ from pisi.actionsapi import shelltools
|
||||
from pisi.actionsapi import pisitools
|
||||
from pisi.actionsapi import get
|
||||
|
||||
WorkDir = "lxml-%s" % get.srcVERSION()
|
||||
#WorkDir = "lxml-%s" % get.srcVERSION()
|
||||
|
||||
def setup():
|
||||
# Setting LC_CTYPE to workaround encoding issue
|
||||
shelltools.export("LC_CTYPE", "en_US.UTF-8")
|
||||
|
||||
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")
|
||||
|
||||
# fix unused dependency analysis
|
||||
shelltools.export("LDSHARED", "x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared -lpthread")
|
||||
pythonmodules.compile(pyVer="3")
|
||||
|
||||
def install():
|
||||
@@ -24,4 +25,4 @@ def install():
|
||||
|
||||
pisitools.insinto("%s/%s" % (get.docDIR(), get.srcNAME()),"doc/*")
|
||||
|
||||
pisitools.dodoc("CHANGES.txt", "LICENSES.txt", "TODO.txt")
|
||||
pisitools.dodoc("CHANGE*", "LICENSE*")
|
||||
@@ -1,36 +1,39 @@
|
||||
<?xml version="1.0" ?>
|
||||
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>python3-lxml</Name>
|
||||
<Homepage>http://codespeak.net/lxml</Homepage>
|
||||
<Homepage>https://lxml.de/</Homepage>
|
||||
<Packager>
|
||||
<Name>PisiLinux Community</Name>
|
||||
<Email>admins@pisilinux.org</Email>
|
||||
</Packager>
|
||||
<PartOf>programming.language.python3</PartOf>
|
||||
<License>GPLv2</License>
|
||||
<License>BSD</License>
|
||||
<IsA>library</IsA>
|
||||
<Summary>lxml is the most feature-rich and easy-to-use library</Summary>
|
||||
<Summary>The lxml XML toolkit for Python.</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>
|
||||
<Archive sha1sum="480c56642262dba897efd726b730cabd69d23364" type="targz">https://github.com/lxml/lxml/archive/lxml-4.5.0.tar.gz</Archive>
|
||||
<BuildDependencies>
|
||||
<Dependency>python3-setuptools</Dependency>
|
||||
<Dependency>libxml2-devel</Dependency>
|
||||
<Dependency>python3-devel</Dependency>
|
||||
<Dependency>cython</Dependency>
|
||||
<Dependency>libxslt-devel</Dependency>
|
||||
<Dependency>python3-devel</Dependency>
|
||||
<Dependency>cython3</Dependency>
|
||||
</BuildDependencies>
|
||||
</Source>
|
||||
|
||||
<Package>
|
||||
<Name>python3-lxml</Name>
|
||||
<Summary>The lxml XML toolkit for Python.</Summary>
|
||||
<RuntimeDependencies>
|
||||
<Dependency>libxslt</Dependency>
|
||||
<Dependency>libxml2</Dependency>
|
||||
<Dependency>python3</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="library">/usr/lib</Path>
|
||||
<Path fileType="library">/usr/lib/python3*</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
@@ -41,11 +44,18 @@
|
||||
<Dependency release="current">python3-lxml</Dependency>
|
||||
</RuntimeDependencies>
|
||||
<Files>
|
||||
<Path fileType="doc">/usr/share/doc</Path>
|
||||
<Path fileType="doc">/usr/share/doc/python3-lxml</Path>
|
||||
</Files>
|
||||
</Package>
|
||||
|
||||
<History>
|
||||
<Update release="2">
|
||||
<Date>2020-02-06</Date>
|
||||
<Version>4.5.0</Version>
|
||||
<Comment>Version bump.</Comment>
|
||||
<Name>Blue Devil</Name>
|
||||
<Email>bluedevil@sctzine.com</Email>
|
||||
</Update>
|
||||
<Update release="1">
|
||||
<Date>2020-01-14</Date>
|
||||
<Version>4.4.2</Version>
|
||||
@@ -54,4 +64,4 @@
|
||||
<Email>idriskalp@gmail.com</Email>
|
||||
</Update>
|
||||
</History>
|
||||
</PISI>
|
||||
</PISI>
|
||||
@@ -1,13 +1,14 @@
|
||||
<?xml version="1.0" ?>
|
||||
<PISI>
|
||||
<Source>
|
||||
<Name>python-lxml</Name>
|
||||
<Name>python3-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>
|
||||
<Name>python3-lxml-docs</Name>
|
||||
<Summary xml:lang="tr">python3-lxml paketine ait API belgeleri</Summary>
|
||||
<Description xml:lang="tr">python3-lxml-docs, python3-lxml için belgelendirme dosyalarını içerir.</Description>
|
||||
</Package>
|
||||
</PISI>
|
||||
</PISI>
|
||||
Reference in New Issue
Block a user