xref: /OK3568_Linux_fs/buildroot/package/python-augeas/python-augeas.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun################################################################################
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# python-augeas
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun################################################################################
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunPYTHON_AUGEAS_VERSION = 1.1.0
8*4882a593SmuzhiyunPYTHON_AUGEAS_SITE = $(call github,hercules-team,python-augeas,v$(PYTHON_AUGEAS_VERSION))
9*4882a593SmuzhiyunPYTHON_AUGEAS_SETUP_TYPE = setuptools
10*4882a593SmuzhiyunPYTHON_AUGEAS_LICENSE = LGPL-2.1+
11*4882a593SmuzhiyunPYTHON_AUGEAS_LICENSE_FILES = COPYING
12*4882a593SmuzhiyunPYTHON_AUGEAS_DEPENDENCIES = augeas host-python-cffi host-pkgconf
13*4882a593Smuzhiyun# This will tell python-augeas to not call xml2-config, and instead
14*4882a593Smuzhiyun# use pkg-config to find libxml2. libxml2 is an indirect dependency of
15*4882a593Smuzhiyun# augeas, which is why it's not in our dependencies. It's odd that
16*4882a593Smuzhiyun# python-augeas searches for libxml2, but that's what it
17*4882a593Smuzhiyun# does. Question asked in the pull request at
18*4882a593Smuzhiyun# https://github.com/hercules-team/python-augeas/pull/49.
19*4882a593SmuzhiyunPYTHON_AUGEAS_ENV = XML2_CONFIG=/bin/false
20*4882a593Smuzhiyun
21*4882a593Smuzhiyun$(eval $(python-package))
22