python3-cups:new package for system-config-printer

This commit is contained in:
2017-12-15 16:07:52 +03:00
parent 1e0cd464dc
commit 8f318b848a
3 changed files with 69 additions and 0 deletions
@@ -0,0 +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
def build():
pisitools.dosed("Makefile", "python", "python3")
autotools.make()
def install():
autotools.rawInstall("DESTDIR=%s" % get.installDIR())
pisitools.dodoc("COPYING", "NEWS", "README", "TODO", "examples/cupstree.py")
@@ -0,0 +1,42 @@
<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "http://www.pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
<Source>
<Name>python3-cups</Name>
<Homepage>http://cyberelk.net/tim/software/pycups</Homepage>
<Packager>
<Name>PisiLinux Community</Name>
<Email>admins@pisilinux.org</Email>
</Packager>
<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="561dc41a0025ad3467e7d151ee2ce84e5e564f9d" type="tarbz2">http://cyberelk.net/tim/data/pycups/pycups-1.9.73.tar.bz2</Archive>
<BuildDependencies>
<Dependency>cups-devel</Dependency>
<Dependency>python3-devel</Dependency>
</BuildDependencies>
</Source>
<Package>
<Name>python3-cups</Name>
<RuntimeDependencies>
<Dependency>cups</Dependency>
</RuntimeDependencies>
<Files>
<Path fileType="library">/usr/lib</Path>
<Path fileType="doc">/usr/share/doc</Path>
</Files>
</Package>
<History>
<Update release="1">
<Date>2017-01-25</Date>
<Version>1.9.73</Version>
<Comment>First Relase</Comment>
<Name>Ayhan Yalçınsoy</Name>
<Email>ayhanyalcinsoy@pisilinux.org</Email>
</Update>
</History>
</PISI>
@@ -0,0 +1,8 @@
<?xml version="1.0" ?>
<PISI>
<Source>
<Name>python3-cups</Name>
<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>