python3-lxml:ver.bump

This commit is contained in:
blue-devil
2020-02-09 01:02:33 +03:00
parent d684b44528
commit bd120f9dc6
3 changed files with 32 additions and 20 deletions
@@ -9,14 +9,15 @@ from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools from pisi.actionsapi import pisitools
from pisi.actionsapi import get 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(): def build():
# remove the C extension so that it will be rebuild using the latest Cython # fix unused dependency analysis
shelltools.unlink("src/lxml/lxml.etree.c") shelltools.export("LDSHARED", "x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared -lpthread")
shelltools.unlink("src/lxml/lxml.etree_api.h")
shelltools.unlink("src/lxml/lxml.objectify.c")
pythonmodules.compile(pyVer="3") pythonmodules.compile(pyVer="3")
def install(): def install():
@@ -24,4 +25,4 @@ def install():
pisitools.insinto("%s/%s" % (get.docDIR(), get.srcNAME()),"doc/*") 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" ?> <?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> <PISI>
<Source> <Source>
<Name>python3-lxml</Name> <Name>python3-lxml</Name>
<Homepage>http://codespeak.net/lxml</Homepage> <Homepage>https://lxml.de/</Homepage>
<Packager> <Packager>
<Name>PisiLinux Community</Name> <Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email> <Email>admins@pisilinux.org</Email>
</Packager> </Packager>
<PartOf>programming.language.python3</PartOf>
<License>GPLv2</License> <License>GPLv2</License>
<License>BSD</License> <License>BSD</License>
<IsA>library</IsA> <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> <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> <BuildDependencies>
<Dependency>python3-setuptools</Dependency>
<Dependency>libxml2-devel</Dependency> <Dependency>libxml2-devel</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>cython</Dependency>
<Dependency>libxslt-devel</Dependency> <Dependency>libxslt-devel</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>cython3</Dependency>
</BuildDependencies> </BuildDependencies>
</Source> </Source>
<Package> <Package>
<Name>python3-lxml</Name> <Name>python3-lxml</Name>
<Summary>The lxml XML toolkit for Python.</Summary>
<RuntimeDependencies> <RuntimeDependencies>
<Dependency>libxslt</Dependency> <Dependency>libxslt</Dependency>
<Dependency>libxml2</Dependency> <Dependency>libxml2</Dependency>
<Dependency>python3</Dependency> <Dependency>python3</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="library">/usr/lib</Path> <Path fileType="library">/usr/lib/python3*</Path>
</Files> </Files>
</Package> </Package>
@@ -41,11 +44,18 @@
<Dependency release="current">python3-lxml</Dependency> <Dependency release="current">python3-lxml</Dependency>
</RuntimeDependencies> </RuntimeDependencies>
<Files> <Files>
<Path fileType="doc">/usr/share/doc</Path> <Path fileType="doc">/usr/share/doc/python3-lxml</Path>
</Files> </Files>
</Package> </Package>
<History> <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"> <Update release="1">
<Date>2020-01-14</Date> <Date>2020-01-14</Date>
<Version>4.4.2</Version> <Version>4.4.2</Version>
@@ -54,4 +64,4 @@
<Email>idriskalp@gmail.com</Email> <Email>idriskalp@gmail.com</Email>
</Update> </Update>
</History> </History>
</PISI> </PISI>
@@ -1,13 +1,14 @@
<?xml version="1.0" ?> <?xml version="1.0" ?>
<PISI> <PISI>
<Source> <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> <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> <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> </Source>
<Package> <Package>
<Name>python-lxml-docs</Name> <Name>python3-lxml-docs</Name>
<Summary xml:lang="tr">python-lxml paketine ait API belgeleri</Summary> <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> </Package>
</PISI> </PISI>