Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove build rule for python-ldap, moved to starforge-recipes #229

Merged
merged 1 commit into from
May 22, 2019
Merged
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
49 changes: 0 additions & 49 deletions wheels/build/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,55 +47,6 @@ packages:
prebuild:
wheel: for f in sqlite3.h sqlite3.c sqlite3ext.h; do cp ${SRC_ROOT_1}/$f $f || return 1; done && echo 'include_dirs=.' >>${SRC_ROOT_0}/setup.cfg
build_args: build_static bdist_wheel
python-ldap:
version: 2.4.44
src:
- https://gmplib.org/download/gmp/gmp-6.1.2.tar.bz2
- https://ftp.gnu.org/gnu/nettle/nettle-3.3.tar.gz
- https://www.gnupg.org/ftp/gcrypt/gnutls/v3.5/gnutls-3.5.15.tar.xz
- http://www.openssl.org/source/openssl-1.0.2l.tar.gz
- http://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-2.4.45.tgz
prebuild:
wheel: >
if [ `uname -s` == 'Darwin' ] ; then
sed -e 's/^library_dirs.*//' -e 's#^include_dirs.*#include_dirs = /Developer/SDKs/MacOSX10.6.sdk/usr/include /Developer/SDKs/MacOSX10.6.sdk/usr/include/sasl#' -i .orig ${SRC_ROOT_0}/setup.cfg ;
sed -e $'$i\\\n#define LDAP_VLV_ERROR 0x4C\n' -i .orig ${SRC_ROOT_0}/Modules/errors.h ;
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#library_dirs =#library_dirs = /usr/local/ssl/lib#' ${SRC_ROOT_0}/setup.cfg ;
sed -i -e 's#include_dirs =#include_dirs = /usr/local/ssl/include/openssl/#' ${SRC_ROOT_0}/setup.cfg ;
sed -i -e 's/libs = ldap_r/libs = lber sasl2 ldap_r ssl crypto/' ${SRC_ROOT_0}/setup.cfg ;
fi
apt:
- groff
- libsasl2-dev
- libidn11-dev
yum:
- groff
- cyrus-sasl-devel
- libidn-devel
SQLAlchemy:
version: 1.2.2
purepy_packages:
Expand Down