1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= python-pycups
7 SDESC[py38]= Python bindings for libcups (PY38)
8 SDESC[py39]= Python bindings for libcups (PY39)
9 HOMEPAGE= https://github.com/zdohnal/pycups
10 CONTACT= Python_Automaton[python@ironwolf.systems]
13 SITES[main]= PYPI/p/pycups
14 DISTFILE[1]= pycups-2.0.1.tar.gz:main
19 OPTIONS_AVAILABLE= PY38 PY39
20 OPTIONS_STANDARD= none
21 VOPTS[py38]= PY38=ON PY39=OFF
22 VOPTS[py39]= PY38=OFF PY39=ON
24 BUILDRUN_DEPENDS= cups:primary:standard
26 DISTNAME= pycups-2.0.1
30 [PY38].USES_ON= python:py38,sutools
32 [PY39].USES_ON= python:py39,sutools
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 57434ce5f62548eb12949ca8217f066f4eeb21a5d6ab8b13471dce350e380c90 62968 pycups-2.0.1.tar.gz