python: update to 2.7.3.

This commit is contained in:
Juan RP 2012-04-15 09:21:34 +02:00
parent e7c0c10662
commit 58e116b45f
3 changed files with 5 additions and 33 deletions

View File

@ -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";;

View File

@ -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

View File

@ -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 <xtraeme@gmail.com>"
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