Skip to content
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.

Add rule for python-ldap 3.2.0 #46

Merged
merged 5 commits into from
May 22, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .ci/wheel-cext-builder-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ case $TRAVIS_OS_NAME in
virtualenv -p /Library/Frameworks/Python.framework/Versions/${PY}/bin/python${PY%%.*} $STARFORGE_VENV
# $STARFORGE_VENV should still be activated
#. $HOME/buildenv/bin/activate
pip install "$DELOCATE" "$STARFORGE"
pip install "$DELOCATE" "${STARFORGE}[lzma]"
pip install pyopenssl ndg-httpsclient pyasn1
;;
linux)
for arch in x86_64 i686; do
Expand Down
47 changes: 47 additions & 0 deletions wheels/python-ldap/meta.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
---

name: python-ldap
version: 3.2.0
type: wheel
purepy: false
build: 1
src:
- https://gmplib.org/download/gmp/gmp-6.1.2.tar.bz2
- https://ftp.gnu.org/gnu/nettle/nettle-3.4.1.tar.gz
- https://www.gnupg.org/ftp/gcrypt/gnutls/v3.6/gnutls-3.6.7.tar.xz
- https://www.openssl.org/source/openssl-1.0.2r.tar.gz
- https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-2.4.47.tgz
prebuild:
wheel: >
if [ `uname -s` == 'Darwin' ] ; then
sed -e 's#^\[_ldap\]$#[_ldap]\ninclude_dirs = /Developer/SDKs/MacOSX10.6.sdk/usr/include /Developer/SDKs/MacOSX10.6.sdk/usr/include/sasl#' -i .orig ${SRC_ROOT_0}/setup.cfg ;
else
cd $SRC_ROOT_1 ;
./configure ;
make ;
make install ;
cd $SRC_ROOT_2 ;
./configure ;
make ;
make install ;
export PKG_CONFIG_PATH=/usr/local/lib64/pkgconfig/:$PKG_CONFIG_PATH ;
cd $SRC_ROOT_3 ;
./configure --with-included-libtasn1 --with-included-unistring --without-p11-ki ;
make ;
make install ;
cd $SRC_ROOT_4 ;
./config shared enable-ssl2 enable-ssl3 ;
make depend ;
make ;
make install ;
cd $SRC_ROOT_5 ;
CFLAGS="-fpic -I/usr/local/ssl/include/ -L/usr/local/ssl/lib/" ./configure --disable-shared --enable-backends=no --enable-slapd=no ;
make depend ;
make ;
make install ;
sed -i -e 's#libs = ldap_r lber#libs = ldap_r lber sasl2 ssl crypto\nlibrary_dirs = /usr/local/ssl/lib\ninclude_dirs = /usr/local/ssl/include/openssl/#' ${SRC_ROOT_0}/setup.cfg ;
fi
yum:
- groff
- cyrus-sasl-devel
- libidn-devel