Skip to content

Commit 4681101

Browse files
authored
Merge pull request AnacondaRecipes#56 from jjhelmus/jh_historic_py16
Python 1.6
2 parents 25150e1 + 51c80d4 commit 4681101

File tree

4 files changed

+13
-54
lines changed

4 files changed

+13
-54
lines changed

recipe/Makefile.in_python_path.patch

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
--- Makefile.in.orig 2016-07-04 09:09:18.000000000 -0500
2-
+++ Makefile.in 2016-07-04 09:12:30.000000000 -0500
3-
@@ -266,7 +266,7 @@
1+
--- Makefile.in.orig 2016-07-04 12:09:05.000000000 -0500
2+
+++ Makefile.in 2016-07-04 12:08:35.000000000 -0500
3+
@@ -236,7 +236,7 @@
44
else true; \
55
fi; \
66
done
@@ -9,12 +9,12 @@
99
if test -f libpython$(VERSION).so; then \
1010
$(INSTALL_DATA) libpython$(VERSION).so $(LIBDIR); \
1111
else true; \
12-
@@ -346,15 +346,15 @@
12+
@@ -317,15 +317,15 @@
1313
done; \
1414
done
1515
PYTHONPATH=$(LIBDEST) \
16-
- ./python$(EXE) $(LIBDEST)/compileall.py $(LIBDEST)
17-
+ ./Python/python$(EXE) $(LIBDEST)/compileall.py $(LIBDEST)
16+
- ./python$(EXE) -t $(LIBDEST)/compileall.py $(LIBDEST)
17+
+ ./Python/python$(EXE) -t $(LIBDEST)/compileall.py $(LIBDEST)
1818
PYTHONPATH=$(LIBDEST) \
1919
- ./python$(EXE) -O $(LIBDEST)/compileall.py $(LIBDEST)
2020
+ ./Python/python$(EXE) -O $(LIBDEST)/compileall.py $(LIBDEST)

recipe/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,5 @@ make install
99
# No shared modules are compiled by default. Create an empty lib-dynload
1010
# directory to suppress the "Could not find platform dependent libraries"
1111
# message
12-
mkdir -p $PREFIX/lib/python1.5/lib-dynload
13-
touch $PREFIX/lib/python1.5/lib-dynload/empty
12+
mkdir -p $PREFIX/lib/python1.6/lib-dynload
13+
touch $PREFIX/lib/python1.6/lib-dynload/empty

recipe/fileobject_getline.patch

Lines changed: 0 additions & 38 deletions
This file was deleted.

recipe/meta.yaml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
package:
22
name: python
3-
version: 1.5.2
3+
version: 1.6
44

55
source:
6-
fn: python-1.5.tar.gz
7-
url: http://legacy.python.org/download/releases/src/python-1.5.2.tar.gz
8-
sha256: c6651472e64b177bd71f5ade29b65b784faa7ca121430d735f6426bc52ab6265
6+
fn: python-1.6.tar.gz
7+
url: http://legacy.python.org/download/releases/src/python-1.6.tar.gz
8+
sha256: 993f961579e719f2be996b74ddcc6e90e2dda023a980da20eb7fc3b6e37ca5d4
99
patches:
10-
# Modules/fileobject.c defines a getline function which conflicts with the
11-
# one in stdio.h, rename the function in the file to _getline
12-
- fileobject_getline.patch
1310
# OS X uses a file insensitive filesystem so the python binary is not
1411
# copied out of the Python directory, adjust the Makefile for this
1512
- Makefile.in_python_path.patch # [osx]
@@ -24,7 +21,7 @@ build:
2421
test:
2522
commands:
2623
- python -c "import sys; print sys.version"
27-
- python1.5 -c "import sys; print sys.version"
24+
- python1.6 -c "import sys; print sys.version"
2825
- python -c "import sys; print sys.path"
2926
# struct is a compiled module
3027
- python -c "import struct"

0 commit comments

Comments
 (0)