new python packages

This commit is contained in:
2020-02-28 09:28:59 +03:00
parent 264f954451
commit 046d9de859
6 changed files with 174 additions and 0 deletions
@@ -0,0 +1,14 @@
#!/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")
@@ -0,0 +1,44 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python3-distro</Name>
<Homepage>https://github.com/nir0s/distro</Homepage>
<Packager>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Packager>
<PartOf>programming.language.python3</PartOf>
<License>LGPLv2+</License>
<IsA>app:console</IsA>
<Summary>Linux Distribution - a Linux OS platform information API</Summary>
<Description>Linux Distribution - a Linux OS platform information API</Description>
<Archive sha1sum="2404e5310e3205565164a4becae9f90964447401" type="targz">https://github.com/nir0s/distro/archive/v1.4.0.tar.gz</Archive>
<BuildDependencies>
<Dependency>python3-setuptools</Dependency>
<Dependency>python3-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>python3-distro</Name>
<RuntimeDependencies>
<Dependency>python3</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="executable">/usr/bin/distro</Path>
<Path fileType="doc">/usr/share/doc/python3-distro</Path>
<Path fileType="library">/usr/lib/python3*</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-02-27</Date>
<Version>1.4.0</Version>
<Comment>First release</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
</History>
</PISI>