| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
6 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,27 @@ | |||
| 1 | + --- Makefile.in.orig 2016-07-02 11:14:59.000000000 -0500 | ||
| 2 | + +++ Makefile.in 2016-07-02 11:33:23.000000000 -0500 | ||
| 3 | + @@ -188,7 +188,7 @@ | ||
| 4 | + else true; \ | ||
| 5 | + fi; \ | ||
| 6 | + done | ||
| 7 | + - $(INSTALL_PROGRAM) python $(BINDIR)/python$(VERSION) | ||
| 8 | + + $(INSTALL_PROGRAM) Python/python $(BINDIR)/python$(VERSION) | ||
| 9 | + | ||
| 10 | + # Install the manual page | ||
| 11 | + maninstall: | ||
| 12 | + @@ -262,13 +262,13 @@ | ||
| 13 | + done; \ | ||
| 14 | + done | ||
| 15 | + PYTHONPATH=$(LIBDEST) \ | ||
| 16 | + - ./python $(LIBDEST)/compileall.py $(LIBDEST) | ||
| 17 | + + ./Python/python $(LIBDEST)/compileall.py $(LIBDEST) | ||
| 18 | + | ||
| 19 | + # Create the MACHDEP source directory, if one wasn't distributed.. | ||
| 20 | + $(srcdir)/Lib/$(MACHDEP): | ||
| 21 | + mkdir $(srcdir)/Lib/$(MACHDEP) | ||
| 22 | + cp $(srcdir)/Lib/generic/regen $(srcdir)/Lib/$(MACHDEP)/regen | ||
| 23 | + - export PATH; PATH="`pwd`:$$PATH"; \ | ||
| 24 | + + export PATH; PATH="`pwd`:`pwd`/Python:$$PATH"; \ | ||
| 25 | + export PYTHONPATH; PYTHONPATH="`pwd`/Lib"; \ | ||
| 26 | + cd $(srcdir)/Lib/$(MACHDEP); ./regen | ||
| 27 | + | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,39 +1,10 @@ | |||
| 1 | 1 | #!/bin/bash | |
| 2 | 2 | ||
| 3 | 3 | if [ `uname` == Darwin ]; then | |
| 4 | - | ||
| 5 | - # The OS X filesystem is case insensitive which causes various problems | ||
| 6 | - # during the build. | ||
| 7 | - | ||
| 8 | 4 | # Compile with a no checking of the return type checking, note that | |
| 9 | 5 | # CFLAGS cannot be used here. | |
| 10 | 6 | export CC="gcc -Wno-return-type" | |
| 11 | - ./configure --prefix=$PREFIX | ||
| 12 | - make | ||
| 13 | - | ||
| 14 | - # The python binary should be copied out of the Python directory during the | ||
| 15 | - # make step but this silently fails as the name conflicts with the existing | ||
| 16 | - # Python directory. | ||
| 17 | - # Perform the install manually from the Python directory | ||
| 18 | - mkdir -p $PREFIX/bin | ||
| 19 | - install -c Python/python $PREFIX/bin/python | ||
| 20 | - | ||
| 21 | - # make libinstall compiles the standard library with the python binary in | ||
| 22 | - # the root directory, move it there after making room by removing the | ||
| 23 | - # Python directory | ||
| 24 | - cp Python/python python_temp | ||
| 25 | - rm -rf Python | ||
| 26 | - mv python_temp python | ||
| 27 | - mkdir -p $PREFIX/lib/python | ||
| 28 | - make libinstall | ||
| 29 | - fi | ||
| 30 | - | ||
| 31 | - if [ `uname` == Linux ]; then | ||
| 32 | - ./configure --prefix=$PREFIX | ||
| 33 | - make | ||
| 34 | - make install | ||
| 35 | - # make libinstall does not create the /lib/python directory so do it | ||
| 36 | - # explicitly | ||
| 37 | - mkdir -p $PREFIX/lib/python | ||
| 38 | - make libinstall | ||
| 39 | 7 | fi | |
| 8 | + ./configure --prefix=$PREFIX | ||
| 9 | + make | ||
| 10 | + make install | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,6 +1,6 @@ | |||
| 1 | - --- Objects/fileobject.c.orig 2016-07-02 08:50:48.000000000 -0500 | ||
| 2 | - +++ Objects/fileobject.c 2016-07-02 08:51:08.000000000 -0500 | ||
| 3 | - @@ -417,7 +417,7 @@ | ||
| 1 | + --- Objects/fileobject.c.orig 2016-07-02 10:53:04.000000000 -0500 | ||
| 2 | + +++ Objects/fileobject.c 2016-07-02 10:53:19.000000000 -0500 | ||
| 3 | + @@ -424,7 +424,7 @@ | ||
| 4 | 4 | */ | |
| 5 | 5 | ||
| 6 | 6 | static object * | |
@@ -9,7 +9,7 @@ | |||
| 9 | 9 | fileobject *f; | |
| 10 | 10 | int n; | |
| 11 | 11 | { | |
| 12 | - @@ -538,7 +538,7 @@ | ||
| 12 | + @@ -545,7 +545,7 @@ | ||
| 13 | 13 | } | |
| 14 | 14 | if (((fileobject*)f)->f_fp == NULL) | |
| 15 | 15 | return err_closed(); | |
@@ -18,7 +18,7 @@ | |||
| 18 | 18 | } | |
| 19 | 19 | ||
| 20 | 20 | /* Python method */ | |
| 21 | - @@ -563,7 +563,7 @@ | ||
| 21 | + @@ -570,7 +570,7 @@ | ||
| 22 | 22 | n = 0; | |
| 23 | 23 | } | |
| 24 | 24 | ||
@@ -27,7 +27,7 @@ | |||
| 27 | 27 | } | |
| 28 | 28 | ||
| 29 | 29 | static object * | |
| 30 | - @@ -581,7 +581,7 @@ | ||
| 30 | + @@ -588,7 +588,7 @@ | ||
| 31 | 31 | if ((list = newlistobject(0)) == NULL) | |
| 32 | 32 | return NULL; | |
| 33 | 33 | for (;;) { | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,17 +1,22 @@ | |||
| 1 | 1 | package: | |
| 2 | 2 | name: python | |
| 3 | - version: 1.3 | ||
| 3 | + version: 1.4 | ||
| 4 | 4 | ||
| 5 | 5 | source: | |
| 6 | - fn: python-1.3.tar.gz | ||
| 7 | - url: http://legacy.python.org/download/releases/src/python-1.3.tar.gz | ||
| 8 | - sha256: 892a12d7360b5e6aed0f6a637f5dbdd4ea9a27ee0e2741337393b1d5711d2d33 | ||
| 6 | + fn: python-1.4.tar.gz | ||
| 7 | + url: http://legacy.python.org/download/releases/src/python-1.4.tar.gz | ||
| 8 | + sha256: 6c551f79810ac679a8049fdf04d0c20ace2a7117da3dda2f0020ab692a27f1fb | ||
| 9 | 9 | patches: | |
| 10 | 10 | # Modules/fileobject.c defines a getline function which conflicts with the | |
| 11 | 11 | # one in stdio.h, rename the function in the file to _getline | |
| 12 | 12 | - fileobject_getline.patch | |
| 13 | + # OS X uses a file insensitive filesystem so the python binary is not | ||
| 14 | + # copied out of the Python directory, adjust the Makefile for this | ||
| 15 | + - Makefile.in_python_path.patch # [osx] | ||
| 13 | 16 | # The crypt library needs to be linked when compiling python | |
| 14 | 17 | - setup.in_lcrypt.patch # [not osx] | |
| 18 | + # Remove definition of strdup in parsermode.c | ||
| 19 | + - parsermodule.in_no_strdup.patch # [linux] | ||
| 15 | 20 | ||
| 16 | 21 | ||
| 17 | 22 | build: | |
@@ -24,6 +29,7 @@ build: | |||
| 24 | 29 | test: | |
| 25 | 30 | commands: | |
| 26 | 31 | - python -c "import sys; print sys.path" | |
| 32 | + - python1.4 -c "import sys; print sys.path" | ||
| 27 | 33 | # struct is a compiled module | |
| 28 | 34 | - python -c "import struct" | |
| 29 | 35 | # os is a python module, import will fail if sys.path is incorrect | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,11 @@ | |||
| 1 | + --- Modules/parsermodule.c.orig 2016-07-02 17:48:21.000000000 -0500 | ||
| 2 | + +++ Modules/parsermodule.c 2016-07-02 17:48:43.000000000 -0500 | ||
| 3 | + @@ -34,7 +34,7 @@ | ||
| 4 | + * different systems declare it a little differently, and we don't need the | ||
| 5 | + * extra warnings. | ||
| 6 | + */ | ||
| 7 | + -extern char* strdup(); | ||
| 8 | + +/* extern char* strdup(); */ | ||
| 9 | + | ||
| 10 | + | ||
| 11 | + /* String constants used to initialize module attributes. | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,11 +1,11 @@ | |||
| 1 | - --- Modules/Setup.in.orig 2016-07-01 15:30:31.899864878 -0500 | ||
| 2 | - +++ Modules/Setup.in 2016-07-01 15:30:56.403864596 -0500 | ||
| 3 | - @@ -108,7 +108,7 @@ | ||
| 1 | + --- Modules/Setup.in.orig 2016-07-02 17:13:35.000000000 -0500 | ||
| 2 | + +++ Modules/Setup.in 2016-07-02 17:13:47.000000000 -0500 | ||
| 3 | + @@ -127,7 +127,7 @@ | ||
| 4 | 4 | fcntl fcntlmodule.c # fcntl(2) and ioctl(2) | |
| 5 | 5 | pwd pwdmodule.c # pwd(3) | |
| 6 | 6 | grp grpmodule.c # grp(3) | |
| 7 | 7 | -crypt cryptmodule.c # -lcrypt # crypt(3); needs -lcrypt on some systems | |
| 8 | 8 | +crypt cryptmodule.c -lcrypt # crypt(3); needs -lcrypt on some systems | |
| 9 | 9 | select selectmodule.c # select(2); not on ancient System V | |
| 10 | 10 | socket socketmodule.c # socket(2); not on ancient System V | |
| 11 | - | ||
| 11 | + errno errnomodule.c # posix (UNIX) errno values | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments