From 58e116b45f7a5036a071fc2d30d139495e4b6305 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 15 Apr 2012 09:21:34 +0200 Subject: [PATCH] python: update to 2.7.3. --- srcpkgs/python/patches/linux2.patch | 23 ----------------------- srcpkgs/python/python-devel.template | 7 ++----- srcpkgs/python/template | 8 +++----- 3 files changed, 5 insertions(+), 33 deletions(-) delete mode 100644 srcpkgs/python/patches/linux2.patch diff --git a/srcpkgs/python/patches/linux2.patch b/srcpkgs/python/patches/linux2.patch deleted file mode 100644 index 670510fdec2..00000000000 --- a/srcpkgs/python/patches/linux2.patch +++ /dev/null @@ -1,23 +0,0 @@ -http://hg.python.org/cpython/rev/c816479f6aaf/ -diff --git a/configure b/configure ---- a/configure -+++ b/configure -@@ -2995,6 +2995,7 @@ then - MACHDEP="$ac_md_system$ac_md_release" - - case $MACHDEP in -+ linux*) MACHDEP="linux2";; - cygwin*) MACHDEP="cygwin";; - darwin*) MACHDEP="darwin";; - atheos*) MACHDEP="atheos";; -diff --git a/configure.in b/configure.in ---- a/configure.in -+++ b/configure.in -@@ -293,6 +293,7 @@ then - MACHDEP="$ac_md_system$ac_md_release" - - case $MACHDEP in -+ linux*) MACHDEP="linux2";; - cygwin*) MACHDEP="cygwin";; - darwin*) MACHDEP="darwin";; - atheos*) MACHDEP="atheos";; diff --git a/srcpkgs/python/python-devel.template b/srcpkgs/python/python-devel.template index ded6063126e..2542ed2cb0d 100644 --- a/srcpkgs/python/python-devel.template +++ b/srcpkgs/python/python-devel.template @@ -5,8 +5,6 @@ long_desc="${long_desc} This package contains files for development, headers, static libs, etc." -revision=2 - Add_dependency run libffi-devel Add_dependency run zlib-devel Add_dependency run readline-devel @@ -17,10 +15,9 @@ Add_dependency run expat-devel Add_dependency run db-devel Add_dependency run ncurses-devel Add_dependency run sqlite-devel -Add_dependency run python +Add_dependency run python ">=${version}" -do_install() -{ +do_install() { vmkdir usr/include/python2.7 vmove "usr/bin/python*-config" usr/bin vmove usr/lib/pkgconfig usr/lib diff --git a/srcpkgs/python/template b/srcpkgs/python/template index 8e4e4c1838d..b8ba0ebe7aa 100644 --- a/srcpkgs/python/template +++ b/srcpkgs/python/template @@ -1,15 +1,13 @@ # Template build file for 'python'. pkgname=python -version=2.7.2 -revision=5 -patch_args="-Np1" +version=2.7.3 wrksrc="Python-$version" -distfiles="http://www.python.org/ftp/python/$version/Python-$version.tar.bz2" +distfiles="http://www.python.org/ftp/python/$version/Python-$version.tar.xz" short_desc="Interpreted, interactive, object-oriented programming language" maintainer="Juan RP " homepage="http://www.python.org" license="PSF" -checksum=5057eb067eb5b5a6040dbd0e889e06550bde9ec041dadaa855ee9490034cbdab +checksum=61d36be58e9e9c733c49d7b76858d5c08e2c63a84f2066b29d35d3521057c985 long_desc=" Python is an interpreted, interactive, object-oriented programming language that combines remarkable power with very clear syntax. For an introduction