Ravenports generated: 27 Oct 2023 17:09
[ravenports.git] / bucket_B5 / python-psautohint
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               python-psautohint
4 VERSION=                2.4.0
5 KEYWORDS=               python
6 VARIANTS=               v11 v12
7 SDESC[v11]=             Wrapper for Adobe's PostScript autohinter (3.11)
8 SDESC[v12]=             Wrapper for Adobe's PostScript autohinter (3.12)
9 HOMEPAGE=               https://github.com/adobe-type-tools/psautohint
10 CONTACT=                Python_Automaton[python@ironwolf.systems]
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            PYPI/p/psautohint
14 DISTFILE[1]=            psautohint-2.4.0.tar.gz:main
15 DF_INDEX=               1
16 SPKGS[v11]=             single
17 SPKGS[v12]=             single
18
19 OPTIONS_AVAILABLE=      PY311 PY312
20 OPTIONS_STANDARD=       none
21 VOPTS[v11]=             PY311=ON PY312=OFF
22 VOPTS[v12]=             PY311=OFF PY312=ON
23
24 DISTNAME=               psautohint-2.4.0
25
26 GENERATED=              yes
27
28 INSTALL_REQ_TOOLCHAIN=  yes
29
30 [PY311].BUILDRUN_DEPENDS_ON=            python-fonttools:single:v11
31                                         python-setuptools-scm:single:v11
32 [PY311].USES_ON=                        python:v11,sutools
33
34 [PY312].BUILDRUN_DEPENDS_ON=            python-fonttools:single:v12
35                                         python-setuptools-scm:single:v12
36 [PY312].USES_ON=                        python:v12,sutools
37
38 [FILE:1726:descriptions/desc.single]
39 ![Test and Build]
40 [Codecov]
41 [PyPI]
42 [![Language grade:
43 C/C++]](https://lgtm.com/projects/g/adobe-type-tools/psautohint/context:cpp)
44 [![Language grade:
45 Python]](https://lgtm.com/projects/g/adobe-type-tools/psautohint/context:python)
46 [Total alerts]
47
48 PSAutoHint
49 ==========
50
51 A standalone version of [AFDKO]’s
52 autohinter.
53
54 Building and running
55 --------------------
56
57 This repository currently consists of a core autohinter written in C, a
58 Python C extension providing an interface to it, and helper Python code.
59
60 To build the C extension:
61
62     python setup.py build
63
64 To install the C extension and the helper scripts globally:
65
66     pip install -r requirements.txt .
67
68 Alternatively to install them for the current user:
69
70     pip install -r requirements.txt --user .
71
72 The autohinter can be used by running:
73
74     psautohint
75
76 To build just the `autohintexe` binary:
77
78     python setup.py build_exe
79
80 Testing
81 -------
82
83 We have a test suite that can be run with:
84
85     pytest
86
87 Debugging
88 ---------
89
90 For standard debugging, build with:
91
92     python setup.py build --debug
93
94 It is also possible to build a debug version with [AddressSanitizer]
95 ("ASan") support (currently _for Mac OS X only_)  with:
96
97     python setup.py build --asan
98     pip install .
99
100 Once it is installed, you can use the `util/launch-asan.sh` shell script to
101 launch a Python process that invokes the ASan libraries needed for
102 debugging. Attach Xcode the launched process, then execute code in the
103 process that triggers memory usage problems and wait for ASan to do its
104 magic.
105
106 NOTE: be sure to build and install `psautohint` as described above; using
107 other techniques such as `python setup.py install` will cause a re-build
108 _without_ ASan and debug support, which won't work.
109
110
111 [FILE:102:distinfo]
112 d50edea8f6121c3383f0d82f881bf7a18bdd476cc2d354737672ce193c3cff7f       185568 psautohint-2.4.0.tar.gz
113