python3 add new package and fix

This commit is contained in:
alihanozturk
2016-06-07 00:15:28 +03:00
parent 74e4a469fc
commit 7fafc28402
19 changed files with 500 additions and 0 deletions
@@ -0,0 +1,16 @@
#!/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 pisitools
def build():
pythonmodules.compile(pyVer="3")
def install():
pythonmodules.install(pyVer="3")
pisitools.dodoc("LICENSE", "README.rst", "INSTALL.rst")
@@ -0,0 +1,41 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python3-psutil</Name>
<Homepage>https://github.com/giampaolo/psutil</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<License>BSD</License>
<IsA>library</IsA>
<Summary>A cross-platform process utilities module for Python</Summary>
<Description>python3-psutil is a module providing an interface for retrieving information on all running processes and system utilization (CPU, memory) in a portable way by using Python, implementing many functionalities offered by command line tools like ps, top, kill, lsof and netstat.</Description>
<Archive sha1sum="a00dd7259a104d47659075a862afdef84b826296" type="targz">https://github.com/giampaolo/psutil/archive/release-4.0.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>python3-psutil</Name>
<RuntimeDependencies>
<Dependency>python3</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2016-06-06</Date>
<Version>4.0.0</Version>
<Comment>First release</Comment>
<Name>Ertuğrul Erata</Name>
<Email>ertugrulerata@gmail.com</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>python3-psutil</Name>
<Summary xml:lang="tr">Platform bağımsız, süreçler hakkında bilgi sağlayan bir Python modülü</Summary>
<Description xml:lang="tr">python3-psutil, bütün çalışan süreçler ve sistem kullanımı (MİB - Merkezi İşlem Birim(CPU) ve hafıza gibi) hakkında bilgilere erişimek için arayüz sunan bir Python modülüdür. ps, top, kill, lsof, netstat gibi bir çok komut satırı araçlarının sunduğu işlevselliği sağlamaktadır.</Description>
</Source>
</PISI>