1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= python-pycups
7 SDESC[py37]= Python bindings for libcups (PY37)
8 SDESC[py38]= Python bindings for libcups (PY38)
9 HOMEPAGE= https://github.com/zdohnal/pycups
10 CONTACT= Python_Automaton[python@ironwolf.systems]
13 SITES[main]= PYPI/p/pycups
14 DISTFILE[1]= pycups-1.9.74.tar.bz2:main
19 OPTIONS_AVAILABLE= PY38 PY37
20 OPTIONS_STANDARD= none
21 VOPTS[py37]= PY38=OFF PY37=ON
22 VOPTS[py38]= PY38=ON PY37=OFF
24 BUILDRUN_DEPENDS= cups:primary:standard
26 DISTNAME= pycups-1.9.74
30 [PY37].USES_ON= python:py37
32 [PY38].USES_ON= python:py38
34 [FILE:481:descriptions/desc.single]
35 This is a set of Python bindings for the libcups library from the
38 >>> # Example of getting a list of printers
40 >>> conn = cups.Connection ()
41 >>> printers = conn.getPrinters ()
42 >>> for printer in printers:
43 ... print printer, printers[printer]["device-uri"]
45 HP ipp://192.168.1.1:631/printers/HP
46 duplex ipp://192.168.1.1:631/printers/duplex
47 HP-LaserJet-6MP ipp://192.168.1.1:631/printers/HP-LaserJet-6MP
48 EPSON-Stylus-D78 usb://EPSON/Stylus%20D78
52 86090f259a7c5d0d5caa3407a0e57c9e134027620cbc8f90bf4e37c8b53ed7b9 52831 pycups-1.9.74.tar.bz2