blob: 98f3e6fc3172ffd20aa3d499ed4387e670e5f891 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
# -*- Mode: Python -*- vi:si:et:sw=4:sts=4:ts=4:syntax=python
class Recipe(recipe.Recipe):
name = 'py2cairo'
version = '1.10.0'
stype = SourceType.TARBALL
url = "http://cairographics.org/releases/py2cairo-%(version)s.tar.bz2"
# either LGPLv2.1 or MPLv1.1
licenses = [License.LGPLv2_1]
autoreconf = True
deps = ['cairo']
patches = ['py2cairo/0001-Add-missing-file-needed-by-autoreconf.patch',
'py2cairo/0002-Fix-windows-cross-compilation.patch',
'py2cairo/0003-Use-cached-variable-for-python-in-native-windows-too.patch']
files_python = [
'site-packages/cairo/_cairo%(pext)s',
'site-packages/cairo/__init__.py',
]
files_devel = ['include/pycairo', 'lib/pkgconfig/pycairo.pc']
|