Skip to content

Commit

Permalink
Update (#2)
Browse files Browse the repository at this point in the history
* update openssl fetch

Committer: Robin Becker <robin@reportlab.com>

* Use $TRAVIS_COMMIT as image tag

* Use TRAVIS_COMMIT in deploy.sh

* Empty commit to trigger update to auditwheel 1.5.0 (pypa#81)

* Patch libc headers to make them compatible with C99 inline semantics

Closes: pypa#86

* Add 3.6.0 to CPython versions to build

Closes pypagh-82

* Update to latest bugfix releases of older Python versions

* FIX missing symlink to pip

Also make sure that calls to rm never ask for interactive
confirmation.

* Use Python 3.6 to install certifi and auditwheel

* Split travis build into 2 parallel jobs

* Use the trusty image

This is hopefully a workaround to use the docker service with a build
matrix:

travis-ci/travis-ci#5448

* Update to Python 3.4.6 and Python 3.5.3

* Update OPENSSL_ROOT to latest release [k] (current specified one [j] does not
exist anymore in the OPENSSL_DOWNLOAD_URL ftp repo.)

* README: python 3.6

* BF: use vault repositories for EOL CentOS 5

Main repositories for CentOS 5 now offline; point yum at
vault.centos.org (via IP to specialize to a particular server).

* Reference specific 5.11 release instead of version 5

Also switched the IP address for the DNS name to avoid any future
surprises. Fixes pypa#103

Credit for this fix goes out to Ryan Walker (@ryandub) and Lars Butler
(@larsbutler).

* Changed build.sh to compile SQLite3 from source and install in /usr/local. (pypa#93)

* Bundle copy of epel-release-5.4.noarch.rpm
  • Loading branch information
grzanka authored Apr 18, 2017
1 parent d1d42b9 commit 69f2bc1
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ directory for source code.

The images currently contain:

- CPython 2.6, 2.7, 3.3, 3.4, and 3.5, installed in
- CPython 2.6, 2.7, 3.3, 3.4, 3.5 and 3.6, installed in
``/opt/python/<python tag>-<abi tag>``. The directories are named
after the PEP 425 tags for each environment --
e.g. ``/opt/python/cp27-cp27mu`` contains a wide-unicode CPython 2.7
Expand Down
21 changes: 20 additions & 1 deletion docker/build_scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,23 @@ PYTHON_COMPILE_DEPS="zlib-devel bzip2-devel ncurses-devel sqlite-devel readline-
# Libraries that are allowed as part of the manylinux1 profile
MANYLINUX1_DEPS="glibc-devel libstdc++-devel glib2-devel libX11-devel libXext-devel libXrender-devel mesa-libGL-devel libICE-devel libSM-devel ncurses-devel"

# Centos 5 is EOL and is no longer available from the usual mirrors, so switch
# to http://vault.centos.org
# From: https://github.com/rust-lang/rust/pull/41045
# The location for version 5 was also removed, so now only the specific release
# (5.11) can be referenced.
sed -i 's/enabled=1/enabled=0/' /etc/yum/pluginconf.d/fastestmirror.conf
sed -i 's/mirrorlist/#mirrorlist/' /etc/yum.repos.d/*.repo
sed -i 's/#\(baseurl.*\)mirror.centos.org\/centos\/$releasever/\1vault.centos.org\/5.11/' /etc/yum.repos.d/*.repo

# Get build utilities
MY_DIR=$(dirname "${BASH_SOURCE[0]}")
source $MY_DIR/build_utils.sh

# EPEL support
yum -y install wget curl
curl -sLO https://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
# curl -sLO https://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
cp $MY_DIR/epel-release-5-4.noarch.rpm .
check_sha256sum epel-release-5-4.noarch.rpm $EPEL_RPM_HASH

# Dev toolset (for LLVM and other projects requiring C++11 support)
Expand All @@ -54,6 +64,15 @@ yum -y install bzip2 make git patch unzip bison yasm diffutils \
build_autoconf $AUTOCONF_ROOT $AUTOCONF_HASH
autoconf --version

# Install a more recent SQLite3
curl -sO https://sqlite.org/2017/sqlite-autoconf-3160200.tar.gz
tar xfz sqlite-autoconf-3160200.tar.gz
cd sqlite-autoconf-3160200
./configure
make install
cd ..
rm -rf sqlite-autoconf-3160200*

# Compile the latest Python releases.
# (In order to have a proper SSL module, Python is compiled
# against a recent openssl [see env vars above], which is linked
Expand Down
Binary file added docker/build_scripts/epel-release-5-4.noarch.rpm
Binary file not shown.

0 comments on commit 69f2bc1

Please sign in to comment.