python3-pysmbc:first pisi release

This commit is contained in:
blue-devil
2020-01-21 01:58:01 +03:00
parent c9e7a17e70
commit 1919c10886
3 changed files with 73 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/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
def build():
# suppress compiler warnings
pisitools.cflags.add("-Wno-implicit-function-declaration -Wno-deprecated-declarations")
# fix unused direct dependency analysis
shelltools.export("LDSHARED", "x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared")
pythonmodules.compile(pyVer="3")
def install():
pythonmodules.install(pyVer="3")
+45
View File
@@ -0,0 +1,45 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python3-pysmbc</Name>
<Homepage>http://cyberelk.net/tim/software/pysmbc</Homepage>
<Packager>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Packager>
<PartOf>programming.language.python3</PartOf>
<License>GPLv2</License>
<IsA>library</IsA>
<Summary>Python interface to the libsmbclient library</Summary>
<Description>python-smbc is a Python binding for the libsmbclient library.</Description>
<Archive sha1sum="b53e522f224662130ddd9286afdccae4491c6602" type="tarbz2">https://files.pythonhosted.org/packages/22/88/a8bfec18f47d435db7838ee90f0b1ae4f73889ffcaade6abad83f277c314/pysmbc-1.0.18.tar.bz2</Archive>
<BuildDependencies>
<Dependency>python3-setuptools</Dependency>
<Dependency>python3-devel</Dependency>
<Dependency>samba-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>python3-pysmbc</Name>
<Summary>Python3 interface to the libsmbclient library</Summary>
<RuntimeDependencies>
<Dependency>samba</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="doc">/usr/share/doc/python3-pysmbc</Path>
<Path fileType="library">/usr/lib/python3*</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2020-01-20</Date>
<Version>1.0.18</Version>
<Comment>First pisi 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-pysmbc</Name>
<Summary xml:lang="tr">libsmbclient kitaplığı için Python arayüzü</Summary>
<Description xml:lang="tr">python3-pysmbc, libsmbclient kitaplığı için bir Python bağlayıcısıdır.</Description>
</Source>
</PISI>