python3-matplotlib:first pisi rel

This commit is contained in:
blue-devil
2020-03-07 04:50:58 +03:00
parent ce8cb9147d
commit ad47b7ee62
3 changed files with 85 additions and 0 deletions
@@ -0,0 +1,24 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import pythonmodules
from pisi.actionsapi import shelltools
from pisi.actionsapi import pisitools
from pisi.actionsapi import get
def setup():
# dodoc method cannot move LICENSE named dir, so i delete the directory
shelltools.unlinkDir("LICENSE")
def build():
# suppress compiler warnings:
pisitools.cflags.add("-Wno-unused-but-set-variable -Wno-misleading-indentation -Wno-stringop-truncation -Wno-unused-function")
# fix unused direct dependency analysis
shelltools.export("LDSHARED", "x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared -lpthread -lbz2")
pythonmodules.compile(pyVer="3")
def install():
pythonmodules.install(pyVer="3")
@@ -0,0 +1,53 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python3-matplotlib</Name>
<Homepage>https://github.com/matplotlib/matplotlib</Homepage>
<Packager>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Packager>
<PartOf>programming.language.python3</PartOf>
<License>PSF</License>
<IsA>library</IsA>
<Summary>matplotlib: plotting with Python.</Summary>
<Description>Matplotlib is a comprehensive library for creating static, animated, and interactive visualizations in Python.</Description>
<Archive sha1sum="c85c118621ebbd15eec4987d05318d983b5f132e" type="targz">https://github.com/matplotlib/matplotlib/archive/v3.2.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-setuptools</Dependency>
<Dependency>freetype-devel</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>python3-numpy</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>python3-matplotlib</Name>
<Summary>matplotlib: plotting with Python.</Summary>
<RuntimeDependencies>
<Dependency>python3-kiwisolver</Dependency>
<Dependency>python3-pyparsing</Dependency>
<Dependency>python3-dateutil</Dependency>
<Dependency>python3-cycler</Dependency>
<Dependency>python3-numpy</Dependency>
<Dependency>freetype</Dependency>
<Dependency>python3</Dependency>
<Dependency>libpng</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/share/doc/python3-matplotlib</Path>
<Path fileType="library">/usr/lib/python3*</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-03-05</Date>
<Version>3.2.0</Version>
<Comment>First release.</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>python3-matplotlib</Name>
<Summary xml:lang="tr">matplotlib: python grafik çizim kitaplığı.</Summary>
<Description xml:lang="tr">python3-matplotlib, python ile hareketli, durağan ve etkileşimli çizgeler yapılmasını sağlayan kapsamlı bir python kitaplığı sunar.</Description>
</Source>
</PISI>