Ravenports generated: 22 Apr 2020 16:04
[ravenports.git] / bucket_8B / python-pycups
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               python-pycups
4 VERSION=                1.9.74
5 KEYWORDS=               python
6 VARIANTS=               py38 py37
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]
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            PYPI/p/pycups
14 DISTFILE[1]=            pycups-1.9.74.tar.bz2:main
15 DF_INDEX=               1
16 SPKGS[py37]=            single
17 SPKGS[py38]=            single
18
19 OPTIONS_AVAILABLE=      PY38 PY37
20 OPTIONS_STANDARD=       none
21 VOPTS[py37]=            PY38=OFF PY37=ON
22 VOPTS[py38]=            PY38=ON PY37=OFF
23
24 BUILDRUN_DEPENDS=       cups:primary:standard
25
26 DISTNAME=               pycups-1.9.74
27
28 GENERATED=              yes
29
30 [PY37].USES_ON=                         python:py37
31
32 [PY38].USES_ON=                         python:py38
33
34 [FILE:481:descriptions/desc.single]
35 This is a set of Python bindings for the libcups library from the
36 CUPS project.
37
38 >>> # Example of getting a list of printers
39 >>> import cups
40 >>> conn = cups.Connection ()
41 >>> printers = conn.getPrinters ()
42 >>> for printer in printers:
43 ...     print printer, printers[printer]["device-uri"]
44 ...
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
49
50
51 [FILE:100:distinfo]
52 86090f259a7c5d0d5caa3407a0e57c9e134027620cbc8f90bf4e37c8b53ed7b9        52831 pycups-1.9.74.tar.bz2
53