From b96743caedf044cdf123b78e98615cf6e886193d Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Fri, 5 Jan 2018 13:05:55 +0100 Subject: [PATCH 1/2] python: Add version 3.6.4 [Announcement from December 19th, 2017][1]: > On behalf of the Python development community and the Python 3.6 > release team, I am happy to announce the availability of Python 3.6.4, > the fourth maintenance release of Python 3.6. Detailed information > about the changes made in 3.6.4 can be found in the change log here: > > https://docs.python.org/3.6/whatsnew/changelog.html#python-3-6-4-final [1]: https://mail.python.org/pipermail/python-dev/2017-December/151389.html --- python-3.6.4-0.build.sh | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100755 python-3.6.4-0.build.sh diff --git a/python-3.6.4-0.build.sh b/python-3.6.4-0.build.sh new file mode 100755 index 0000000..b352a81 --- /dev/null +++ b/python-3.6.4-0.build.sh @@ -0,0 +1,37 @@ +#! /bin/sh + +set -xe + +PKG=python +VERSION=3.6.4 +BUILD=0 +PREFIX=/pkg/$PKG-$VERSION-$BUILD + +exec $PREFIX/profile <<-EOF + PATH=$PREFIX/bin:\$PATH +EOF +. $PREFIX/profile + +mkdir -p $PREFIX/build +cd $PREFIX/build + +test -e Python-$VERSION.tar.xz || wget https://www.python.org/ftp/python/$VERSION/Python-$VERSION.tar.xz +test -d Python-$VERSION || tar xvf Python-$VERSION.tar.xz +cd Python-$VERSION +./configure \ + --prefix=$PREFIX +make -j $(nproc) +make install + +python3 -m ensurepip +pip3 install -I pip + +pip3 install ipython[all] +pip3 install SciPy NumPy Matplotlib pandas SymPy nose +pip3 install scikit-learn +pip3 install seaborn +pip3 install metaseq +pip3 install Mako From a143f9854e380127c6c3d3b55e115f307de82a35 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Fri, 5 Jan 2018 13:10:28 +0100 Subject: [PATCH 2/2] python-3.6.4: Install Meson MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Description [1]: > Meson is an open source build system meant to be both extremely fast, > and, even more importantly, as user friendly as possible. > > The main design point of Meson is that every moment a developer spends > writing or debugging build definitions is a second wasted. So is every > second spent waiting for the build system to actually start compiling > code. Unfortunately, MarIuX only ships Python 3.3, and it’s a pain to set up Setuptools. Meson also requires the module *pathlib*, which is included in the Python distribution since version 3.4. So install Meson here, and adapt bee to use the package environment. [1] [1] http://mesonbuild.com/index.html --- python-3.6.4-0.build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/python-3.6.4-0.build.sh b/python-3.6.4-0.build.sh index b352a81..6367867 100755 --- a/python-3.6.4-0.build.sh +++ b/python-3.6.4-0.build.sh @@ -35,3 +35,4 @@ pip3 install scikit-learn pip3 install seaborn pip3 install metaseq pip3 install Mako +pip3 install meson