python3-cups:ver bump

This commit is contained in:
blue-devil
2020-05-17 01:38:37 +03:00
parent 6e3c65c359
commit 98c9712333
3 changed files with 22 additions and 12 deletions
@@ -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")
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<!DOCTYPE PISI SYSTEM "https://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python3-cups</Name>
@@ -8,11 +8,12 @@
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<PartOf>programming.language.python3</PartOf>
<License>GPLv2</License>
<IsA>library</IsA>
<Summary>Python3 interface to the CUPS API</Summary>
<Description>python3-cups contains python3 bindings to wrap the CUPS API.</Description>
<Archive sha1sum="860ddef7df9ab83143817fb5bd8477f6a8984da9" type="tarbz2">https://files.pythonhosted.org/packages/00/ce/836a0deb8b24bcd5f850f8fb97f99fb4abd7374e078b9e6df5a0838f8eb5/pycups-1.9.74.tar.bz2</Archive>
<Archive sha1sum="b6057da7830fb49c30021902393d94acb045087e" type="targz">https://pypi.org/packages/source/p/pycups/pycups-2.0.1.tar.gz</Archive>
<BuildDependencies>
<Dependency>cups-devel</Dependency>
<Dependency>python3-devel</Dependency>
@@ -21,8 +22,10 @@
<Package>
<Name>python3-cups</Name>
<Summary>Python3 interface to the CUPS API</Summary>
<RuntimeDependencies>
<Dependency>cups</Dependency>
<Dependency>python3</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
@@ -31,6 +34,13 @@
</Package>
<History>
<Update release="5">
<Date>2020-05-16</Date>
<Version>2.0.1</Version>
<Comment>Major version bump.</Comment>
<Name>Blue Devil</Name>
<Email>bluedevil@sctzine.com</Email>
</Update>
<Update release="4">
<Date>2020-03-15</Date>
<Version>1.9.74</Version>
@@ -60,4 +70,4 @@
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
</History>
</PISI>
</PISI>
@@ -5,4 +5,4 @@
<Summary xml:lang="tr">CUPS programlama arayüzü için Python3 desteği</Summary>
<Description xml:lang="tr">python3-cups, CUPS programlama arayüzü için Python3 bağlayıcıları içeren bir pakettir.</Description>
</Source>
</PISI>
</PISI>