diff --git a/programming/language/python3/python3-cups/actions.py b/programming/language/python3/python3-cups/actions.py
index b594c3b866..214dd88fc4 100644
--- a/programming/language/python3/python3-cups/actions.py
+++ b/programming/language/python3/python3-cups/actions.py
@@ -1,19 +1,19 @@
#!/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 pisitools
-from pisi.actionsapi import autotools
-from pisi.actionsapi import get
+from pisi.actionsapi import shelltools
+from pisi.actionsapi import pythonmodules
def build():
- pisitools.dosed("Makefile", "python", "python3")
- autotools.make()
+ # suppress compiler warnings
+ pisitools.cflags.add("-Wno-deprecated-declarations")
+ # fix unused direct dependency analysis
+ shelltools.export("LDSHARED", "x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared -lbz2 -ldl")
+ pythonmodules.compile(pyVer="3")
def install():
- autotools.rawInstall("DESTDIR=%s" % get.installDIR())
-
- pisitools.dodoc("COPYING", "NEWS", "README", "TODO", "examples/cupstree.py")
+ pythonmodules.install(pyVer="3")
\ No newline at end of file
diff --git a/programming/language/python3/python3-cups/pspec.xml b/programming/language/python3/python3-cups/pspec.xml
index 071d660e39..1841a65c51 100644
--- a/programming/language/python3/python3-cups/pspec.xml
+++ b/programming/language/python3/python3-cups/pspec.xml
@@ -1,5 +1,5 @@
-
+
python3-cups
@@ -8,11 +8,12 @@
PisiLinux Community
admins@pisilinux.org
+ programming.language.python3
GPLv2
library
Python3 interface to the CUPS API
python3-cups contains python3 bindings to wrap the CUPS API.
- https://files.pythonhosted.org/packages/00/ce/836a0deb8b24bcd5f850f8fb97f99fb4abd7374e078b9e6df5a0838f8eb5/pycups-1.9.74.tar.bz2
+ https://pypi.org/packages/source/p/pycups/pycups-2.0.1.tar.gz
cups-devel
python3-devel
@@ -21,8 +22,10 @@
python3-cups
+ Python3 interface to the CUPS API
cups
+ python3
/usr/lib
@@ -31,6 +34,13 @@
+
+ 2020-05-16
+ 2.0.1
+ Major version bump.
+ Blue Devil
+ bluedevil@sctzine.com
+
2020-03-15
1.9.74
@@ -60,4 +70,4 @@
ayhanyalcinsoy@pisilinux.org
-
+
\ No newline at end of file
diff --git a/programming/language/python3/python3-cups/translations.xml b/programming/language/python3/python3-cups/translations.xml
index 4821a4319a..2f3950e8e1 100644
--- a/programming/language/python3/python3-cups/translations.xml
+++ b/programming/language/python3/python3-cups/translations.xml
@@ -5,4 +5,4 @@
CUPS programlama arayüzü için Python3 desteği
python3-cups, CUPS programlama arayüzü için Python3 bağlayıcıları içeren bir pakettir.
-
+
\ No newline at end of file