2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2016 Alexander Pyhalov
16 include ..
/..
/..
/make-rules
/shared-macros.mk
18 COMPONENT_NAME
= python-ldap
19 COMPONENT_VERSION
= 2.4.25
21 COMPONENT_FMRI
= library
/python
/python-ldap
22 COMPONENT_SUMMARY
= Python modules for implementing LDAP clients
23 COMPONENT_CLASSIFICATION
= Development
/Python
24 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
25 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
26 COMPONENT_ARCHIVE_HASH
= \
27 sha256
:62d00dbc86f3f9b21beacd9b826e8f9895f900637a60a6d4e7ab59a1cdc64e56
28 COMPONENT_ARCHIVE_URL
= \
30 COMPONENT_PROJECT_URL
= https
://pypi.python.org
/pypi
/python-ldap
31 COMPONENT_LICENSE_FILE
= LICENCE
32 COMPONENT_LICENSE
= PYTHON_STYLE
36 CFLAGS
+= -I
/usr
/include/openldap
38 include $(WS_MAKE_RULES
)/prep.mk
39 include $(WS_MAKE_RULES
)/setup.py.mk
40 include $(WS_MAKE_RULES
)/ips.mk
42 build
: $(BUILD_32_and_64
)
44 install: $(INSTALL_32_and_64
)
48 REQUIRED_PACKAGES
+= library
/openldap
49 REQUIRED_PACKAGES
+= runtime
/python-27
50 REQUIRED_PACKAGES
+= system
/library