diff --git a/programming/language/python/python-smbc/actions.py b/programming/language/python/python-smbc/actions.py
index 977cab6b51..e848039ca7 100755
--- a/programming/language/python/python-smbc/actions.py
+++ b/programming/language/python/python-smbc/actions.py
@@ -5,16 +5,16 @@
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
-from pisi.actionsapi import pisitools
-from pisi.actionsapi import autotools
+from pisi.actionsapi import pythonmodules
from pisi.actionsapi import shelltools
-from pisi.actionsapi import get
+from pisi.actionsapi import pisitools
def build():
- shelltools.export("CC", get.CC())
- autotools.make()
+ # suppress compiler warnings
+ pisitools.cflags.add("-Wno-implicit-function-declaration")
+ # fix unused direct dependency analysis
+ shelltools.export("LDSHARED", "x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared")
+ pythonmodules.compile()
def install():
- autotools.rawInstall("DESTDIR=%s" % get.installDIR())
-
- pisitools.dodoc("COPYING", "NEWS", "README", "TODO")
+ pythonmodules.install()
\ No newline at end of file
diff --git a/programming/language/python/python-smbc/pspec.xml b/programming/language/python/python-smbc/pspec.xml
index a43ef3b632..343c10d8c8 100755
--- a/programming/language/python/python-smbc/pspec.xml
+++ b/programming/language/python/python-smbc/pspec.xml
@@ -1,5 +1,5 @@
-
+
python-smbc
@@ -8,30 +8,39 @@
PisiLinux Community
admins@pisilinux.org
+ programming.language.python
GPLv2
library
Python interface to the libsmbclient library
python-smbc is a Python binding for the libsmbclient library.
- https://github.com/hamano/pysmbc/archive/1.0.15.4.tar.gz
+ https://files.pythonhosted.org/packages/22/88/a8bfec18f47d435db7838ee90f0b1ae4f73889ffcaade6abad83f277c314/pysmbc-1.0.18.tar.bz2
- samba-devel
+ python-setuptools
python-devel
+ samba-devel
python-smbc
+ Python interface to the libsmbclient library
samba
- python
- /usr/lib
- /usr/share/doc
+ /usr/share/doc/python-smbc
+ /usr/lib/python2*
+
+ 2020-01-20
+ 1.0.18
+ Version bump.
+ Blue Devil
+ bluedevil@sctzine.com
+
2018-08-15
1.0.15.4
@@ -61,4 +70,4 @@
alihan@pisilinux.org
-
+
\ No newline at end of file
diff --git a/programming/language/python/python-smbc/translations.xml b/programming/language/python/python-smbc/translations.xml
index 856985fa5c..4a07d2720c 100755
--- a/programming/language/python/python-smbc/translations.xml
+++ b/programming/language/python/python-smbc/translations.xml
@@ -5,4 +5,4 @@
libsmbclient kitaplığı için Python arayüzü
python-smbc, libsmbclient kitaplığı için bir Python bağlayıcısıdır.
-
+
\ No newline at end of file