Ravenports generated: 13 May 2023 00:17
[ravenports.git] / bucket_AF / python-pyclipper
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               python-pyclipper
4 VERSION=                1.3.0.post4
5 KEYWORDS=               python
6 VARIANTS=               py310 v11
7 SDESC[py310]=           Cython wrapper for the AJ Clipper library (3.10)
8 SDESC[v11]=             Cython wrapper for the AJ Clipper library (3.11)
9 HOMEPAGE=               https://github.com/greginvm/pyclipper
10 CONTACT=                Python_Automaton[python@ironwolf.systems]
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            PYPI/p/pyclipper
14 DISTFILE[1]=            pyclipper-1.3.0.post4.tar.gz:main
15 DF_INDEX=               1
16 SPKGS[py310]=           single
17 SPKGS[v11]=             single
18
19 OPTIONS_AVAILABLE=      PY310 PY311
20 OPTIONS_STANDARD=       none
21 VOPTS[py310]=           PY310=ON PY311=OFF
22 VOPTS[v11]=             PY310=OFF PY311=ON
23
24 USES=                   c++:single
25
26 DISTNAME=               pyclipper-1.3.0.post4
27
28 GENERATED=              yes
29
30 [PY310].BUILDRUN_DEPENDS_ON=            python-Cython:single:py310
31                                         python-setuptools-scm:single:py310
32 [PY310].USES_ON=                        python:py310,sutools
33
34 [PY311].BUILDRUN_DEPENDS_ON=            python-Cython:single:v11
35                                         python-setuptools-scm:single:v11
36 [PY311].USES_ON=                        python:v11,sutools
37
38 [FILE:2443:descriptions/desc.single]
39 About
40 =====
41
42 Pyclipper is a Cython wrapper exposing public functions and classes of
43 the C++ translation of the `Angus Johnson's Clipper library (ver.
44 6.4.2) <http://www.angusj.com/delphi/clipper.php>`__.
45
46 Pyclipper releases were tested with Python 2.7 and 3.4 on Linux (Ubuntu
47 14.04, x64) and Windows (8.1, x64).
48
49 Source code is available on
50 [GitHub]. The package is published on 
51 [PyPI].
52
53 About Clipper
54 -------------
55
56         Clipper - an open source freeware library for clipping and
57         offsetting lines and polygons.
58
59         The Clipper library performs line & polygon clipping -
60         intersection, union, difference & exclusive-or, and line &
61         polygon offsetting. The library is based on Vatti's clipping
62         algorithm.
63
64         \ [Angus Johnson's Clipper
65         library]\ 
66
67 Install
68 =======
69
70 Dependencies
71 ------------
72
73 Cython dependency is optional. Cpp sources generated with Cython are
74 available in releases.
75
76 Note on using the ``setup.py``:
77
78 ``setup.py operates in 2 modes that are based on the presence of the
79 dev`` file in the root of the project.
80
81 -  When dev is **present**, Cython will be used to compile the ``.pyx``
82    sources. This is the *development mode* (as you get it in the git
83    repository).
84 -  When dev is **absent**, C/C++ compiler will be used to compile the
85    ``.cpp`` sources (that were prepared in in the development mode).
86    This is the distribution mode (as you get it on PyPI).
87
88 This way the package can be used without or with an incompatible version
89 of Cython.
90
91 The idea comes from [Matt Shannon's bandmat
92 library].
93
94 From PyPI
95 ---------
96
97 Cython not required.
98
99 ::
100
101         pip install pyclipper
102         
103
104 From source
105 -----------
106
107 Cython required.
108
109 Clone the repository:
110
111 ::
112
113         git clone git@github.com:fonttools/pyclipper.git
114         
115
116 Install:
117
118 ::
119
120         python setup.py install
121         
122
123 After every modification of ``.pyx`` files compile with Cython:
124
125 ::
126
127         python setup.py build_ext --inplace
128         
129
130 Clippers' preprocessor directives
131 ---------------------------------
132 Clipper can be compiled with the following preprocessor directives:
133 use_int32, use_xyz, use_lines and use_deprecated. 
134 Among these the use_int32 and use_lines can be used with Pyclipper.
135
136 -  use_int32 - when enabled 32bit ints are used instead of 64bit ints. This
137 improve performance but coordinate values are limited to the range +/-
138 46340. In Pyclipper this directive is **disabled** by default.
139
140
141 [FILE:107:distinfo]
142 b73b19d2a1b895edcacaf4acb441e13e99b9e5fd53b9c0dfd2e1326e2bf68a7a       134436 pyclipper-1.3.0.post4.tar.gz
143