Yamashita Yuu
bb3b5de179
Add CPython 3.4.0b2
2014-01-06 13:03:40 +09:00
Yamashita Yuu
8fa6b4a184
CPython installer requires existing Pyhthon of similar version.
2013-11-19 18:02:59 +09:00
Yamashita Yuu
e1a5b326e4
Merge branch 'ruby-build-style-patching'
2014-01-01 13:01:34 +09:00
Yamashita Yuu
8892f3735d
Use -p0
for all patches to keep things simple ( sstephenson/ruby-build#484 )
...
There is filterdiff(1) available to transform strip level of a patch if
optional level is required.
```
git diff HEAD^ | filterdiff --strip=1 | pyenv install -p 3.3.3
```
2014-01-01 12:25:17 +09:00
Yamashita Yuu
9eedd4ef84
Update setuptools (2.0.1 -> 2.0.2)
2013-12-31 22:19:22 +09:00
Yamashita Yuu
b70dcb9f2d
Add list_patches()
to sort patches by their names
2013-12-26 16:31:43 +09:00
Yamashita Yuu
008a5a1ff9
Force PYTHON_BUILD_PATCH_PATH
to be absolute path
2013-12-26 16:30:16 +09:00
Yamashita Yuu
5b7eb42a9f
Add -p0
as an option for patch if both PATCH_OPTS
and PACKAGE_PATCH_OPTS
aren't defined
2013-12-26 15:44:56 +09:00
Yamashita Yuu
35d4cd2259
Remove PACKAGE_PATCH_STRIP
. Use PACKAGE_PATCH_OPTS
instead.
2013-12-26 14:01:46 +09:00
Yamashita Yuu
6efb3c327f
Revert setuptools version for jython-2.7-beta1 (2.0.1 -> 2.0)
...
Could not install setuptools 2.0.1 for jython-2.7-beta1 by the
lack of `parser` module.
2013-12-25 20:42:11 +09:00
Yamashita Yuu
1a05d9a8cd
Merge branch 'apply-extra-patches'
2013-12-21 01:06:13 +09:00
Yamashita Yuu
df51c13323
Use cp -RPp
to copy share directories recursively.
...
We have some patches for CPython in `share/python-build/patches`.
2013-12-21 01:04:19 +09:00
Yamashita Yuu
a025866bac
Update setuptools (2.0 -> 2.0.1)
2013-12-21 00:50:28 +09:00
Yamashita Yuu
2797f3d80e
Update README about PYTHON_PATCH_PATH
.
2013-12-21 00:36:32 +09:00
Yamashita Yuu
0d85193f39
Remove -Wl,-rpath=...
from LDFLAGS
on Darwin to fix build.
...
We don't need to set `rpath` explicitly because the ld on Darwin
embeds the full paths to each dylib by default
2013-12-20 20:37:47 +09:00
Yamashita Yuu
43212f64ed
Pass rpath to linker if --enable-shared
was given ( #65 , #66 , #82 )
2013-12-20 18:22:43 +09:00
Yamashita Yuu
75559df89d
Search extra patches from given directory then apply it during build ( #91 )
...
```
$ env PYTHON_PATCH_PATH="./patches" PYTHON_PATCH_OPTS="-p1" pyenv install 2.7.6
```
2013-12-20 17:17:17 +09:00
Yamashita Yuu
aa76fd2f9c
On Darwin, should not build readline if there is brewed readline
2013-12-16 16:27:45 +09:00
Yamashita Yuu
db141f66a4
Restored has_broken_mac_llvm_gcc
which is required to build 3.3+ on Darwin
2013-12-16 16:24:25 +09:00
Yamashita Yuu
1cc90d31ae
Import changes from ruby-build v20131211
2013-12-16 13:44:03 +09:00
Yamashita Yuu
edb5a32620
Update setuptools (1.4.2 -> 2.0) for Python 2.6+
2013-12-12 18:20:57 +09:00
Yamashita Yuu
88e2d73d52
Update setuptools (1.4.1 -> 1.4.2)
2013-12-02 15:35:35 +09:00
Yamashita Yuu
7b95fea77e
Add PyPy 2.2.1
2013-11-29 12:58:31 +09:00
Yamashita Yuu
20eb5c4913
Update setuptools (1.4 -> 1.4.1)
2013-11-27 20:48:06 +09:00
Yamashita Yuu
bc2d2456ae
Add CPython 3.4.0b1
2013-11-25 16:07:27 +09:00
Yamashita Yuu
02e073a503
remove useless patch from 2.6-dev
2013-11-20 19:06:40 +09:00
Yamashita Yuu
e094d683ed
Update setuptools (1.3.2 -> 1.4)
2013-11-19 19:41:44 +09:00
Yamashita Yuu
bd1454c69f
Remove 3.3.3-rc[12] because 3.3.3 has been released
2013-11-19 19:06:48 +09:00
Yamashita Yuu
b726d645c3
http://www.python.org/ -> http://python.org/
2013-11-19 19:03:19 +09:00
Anthon van der Neut
78441ce084
Released Python 3.3.3
2013-11-19 18:56:02 +09:00
Yamashita Yuu
4953fa4034
Apply built-in patches only if patch is not given via STDIN
2013-11-19 05:58:21 +09:00
Yamashita Yuu
1f76effbfb
Import changes from ruby-build v20131225.1
2013-12-27 18:44:54 +09:00
Yamashita Yuu
dd44d0a713
Add CPython 3.3.3 RC1/RC2
2013-11-16 19:04:42 +09:00
Yamashita Yuu
a28c040eb9
Add PyPy 2.2 ( closes #77 )
2013-11-15 12:32:57 +09:00
Yamashita Yuu
6a787dd951
Update setuptools (1.1.7 -> 1.3.2)
2013-11-11 20:44:24 +09:00
Yamashita Yuu
5d9132623f
Add CPython 2.7.6
2013-11-11 20:41:53 +09:00
Yamashita Yuu
498d226b2f
Import changes from ruby-build v20131030
2013-11-01 18:30:00 +09:00
Yamashita Yuu
ccc51244e3
Add CPython 2.6.9
2013-11-01 17:13:29 +09:00
Yamashita Yuu
516f49e913
Update setuptoos (1.1.6 -> 1.1.7)
2013-11-01 17:00:16 +09:00
Yamashita Yuu
ab4a8396e1
Add 3.4.0a4
2013-10-23 15:18:14 +09:00
Yamashita Yuu
733cb397b2
improve messages on failed import
2013-10-15 14:04:38 +09:00
Yamashita Yuu
7f9a2325e5
Add 3.4.0a3
2013-10-04 12:52:05 +09:00
Yamashita Yuu
625b3b7ec1
Update setuptools (1.1.4 -> 1.1.6)
2013-10-04 12:49:41 +09:00
Yamashita Yuu
fb3e9b020e
Use appropriciate tar option per compression types ( #58 )
2013-09-14 16:50:52 +09:00
Yamashita Yuu
74a3c55623
Add CPython 3.4.0a2
2013-09-10 21:32:01 +09:00
Yamashita Yuu
bc8c8a6cd9
Update setuptools (1.1 -> 1.1.4)
2013-09-10 21:31:55 +09:00
Yamashita Yuu
99bc72a908
Wipe out CPython-specific scripts from build_package_standard()
2013-09-02 17:13:17 +09:00
Yamashita Yuu
aab8bb262d
Update setuptools (1.0 -> 1.1)
2013-08-29 12:14:36 +09:00
Yamashita Yuu
28fd240de2
Update setuptools (0.9.7 -> 1.0)
2013-08-23 18:36:21 +09:00
Yamashita Yuu
586c0e6d62
Update pip (1.4 -> 1.4.1)
2013-08-23 18:31:22 +09:00
Yamashita Yuu
4c71f3c5cd
Apply --with-pydebug
configure option only for Python
2013-08-08 11:58:01 +09:00
Yamashita Yuu
10221d51f1
Add 2.4, 2.4.1, 2.4.3, 2.4.4 and 2.4.5
2013-08-02 00:32:09 +09:00
Yamashita Yuu
aff87c3cb3
Rename; pypy-py3k-dev -> pypy3-dev
2013-08-02 00:13:50 +09:00
Yamashita Yuu
b0f640db61
Add pypy3-2.1-beta1
2013-08-02 00:13:50 +09:00
Yamashita Yuu
af0fed2e34
Add pypy-2.1
2013-08-01 23:58:33 +09:00
Yamashita Yuu
2646c6c159
Add _multiarch_ patch to fix build of CPython 2.4.x
2013-08-01 17:26:37 +09:00
Yamashita Yuu
b943e0abff
Import changes from ruby-build v20130628
2013-07-25 17:19:55 +09:00
Yamashita Yuu
b8ecd2d6dd
Specify --libdir
on configure to fix build on openSUSE ( #36 )
2013-07-24 18:43:20 +09:00
Yamashita Yuu
1e5ef005fb
Update setuptools (0.9.5 -> 0.9.7)
2013-07-24 17:17:48 +09:00
Yamashita Yuu
d11db0f0f2
Update pip for Python 2.6+ (1.3 -> 1.4)
2013-07-24 17:09:40 +09:00
Flavio Castelli
ae86a253e2
Allow installation of python 2.4 series
...
Make possible to install python 2.4.2 and 2.4.6.
2013-07-22 14:53:09 +02:00
Yamashita Yuu
0c38147fcb
Fix build of native modules of Carbon/ncurses on OS X 10.7
2013-07-20 20:53:38 +09:00
Yamashita Yuu
fa35e792c1
Backport libffi-osx
from 2.7.5 to build ctypes
on OS X ( #33 )
2013-07-19 21:47:51 +09:00
Yamashita Yuu
f5807424c2
Add patches for 2.5 to fix biuld on OS X 10.7/10.8 ( #33 )
2013-07-19 18:08:02 +09:00
Yamashita Yuu
4c006959fa
fix broken string match in has_broken_mac_llvm_gcc()
2013-07-17 17:02:23 +09:00
Yamashita Yuu
f9a19e3f24
s/gcc_llvm/llvm_gcc/g
2013-07-17 16:38:57 +09:00
Yamashita Yuu
d5c24f5122
Update setuptools (0.8 -> 0.9.5)
2013-07-17 15:51:19 +09:00
Yamashita Yuu
392e404cc6
Use https instead of http when downloading from pypi
2013-07-08 16:27:01 +09:00
Yamashita Yuu
b04e067c83
update setuptools (0.7.7 -> 0.8)
2013-07-08 16:25:24 +09:00
Yamashita Yuu
ed2937f4d1
update setuptools (0.7.4 -> 0.7.7)
2013-07-04 17:23:38 +09:00
Yamashita Yuu
8848006540
remove meaningless break
( fixes #26 )
2013-07-03 11:15:58 +09:00
Yamashita Yuu
f76faa88b8
add has_broken_mac_gcc_llvm and use clang if true
2013-06-29 12:27:33 +09:00
Yamashita Yuu
9ce760c798
add require_cc()
to test existence of CC other than GCC
2013-06-28 12:18:45 +09:00
Yamashita Yuu
152ebe6e61
Download GNU Readline from mirror site of GNU
2013-06-27 12:28:34 +09:00
Yamashita Yuu
745bceac22
update setuptools (0.7.2 -> 0.7.4)
2013-06-20 12:31:18 +09:00
Yamashita Yuu
583f3b0e21
fix build of 3.4-dev. append existing 3.4 at the last.
...
this is because `hg` (which is a dependency of *-dev build) might be
installed in existing pyenv versions.
2013-06-19 18:48:58 +09:00
Yamashita Yuu
ff387010b3
use environment variable "${CPP}" if defined
2013-06-12 20:43:19 +09:00
Yamashita Yuu
27dd805acb
enable require_gcc
to confirm if there is $CC
2013-06-12 16:11:07 +09:00
Yamashita Yuu
5f1761645f
fix has_broken_mac_openssl
for building Python.
...
`--with-*-dir` is only effective for Ruby's mkmf.rb.
2013-06-12 16:09:41 +09:00
Yamashita Yuu
f8c9282e8c
Install GNU Readline on Darwin if the readline is broken (refs #23 )
...
The `has_broken_mac_readline` checks the existence of
`readline/rhconf.h`. This is the same mechanism as setup.py of CPython.
2013-06-12 16:04:20 +09:00
Yamashita Yuu
4f8138c70a
update setuptools for jython versions (distribute 0.6.45 -> setuptools 0.7.2)
...
https://bitbucket.org/pypa/setuptools/issue/14/installation-failed-on-jython
2013-06-10 12:48:05 +09:00
Yamashita Yuu
db3b4773bc
update setuptools (0.7.1 -> 0.7.2)
2013-06-10 12:38:38 +09:00
Yamashita Yuu
fe04103e24
update comment about new setuptools and Jython
2013-06-05 14:58:51 +09:00
Yamashita Yuu
e9bcd9e0bd
replace distribute by new setuptools
2013-06-04 20:31:08 +09:00
Yamashita Yuu
2cc2c22094
add SSLv2 patch for 2.7 and 2.7.1
2013-06-04 20:18:16 +09:00
Yamashita Yuu
c43711a216
update distribute (0.6.43 -> 0.6.35)
2013-05-31 18:48:42 +09:00
Yamashita Yuu
d94c1d2143
add jython-*-dev
2013-05-31 17:38:18 +09:00
Yamashita Yuu
3fd475e1d5
add stackless-*-dev
2013-05-31 17:16:35 +09:00
Yamashita Yuu
309a6cd65e
*EXPERIMENTAL* add pypy-py3k-dev
2013-05-31 14:33:22 +09:00
Yamashita Yuu
924f6dc76d
add ${PYPY_OPTS} to specify pypy build options
2013-05-31 14:28:32 +09:00
Yamashita Yuu
56a9a7cebf
improve error message of pypy
2013-05-31 14:28:08 +09:00
Yamashita Yuu
b8cbb18f7b
add pypy-1.[789]-dev
2013-05-31 13:45:37 +09:00
Yamashita Yuu
27caf0ef3d
add pypy-1.[567]
2013-05-31 13:39:58 +09:00
Yamashita Yuu
b203ccbe74
verify pypy binary after installation
2013-05-31 13:00:48 +09:00
Yamashita Yuu
539800cc3b
add pypy-*-src to build and install pypy from source
2013-05-29 23:30:22 +09:00
Yamashita Yuu
b77ae3e0b5
build and install pypy from source
2013-05-29 23:26:50 +09:00
Yamashita Yuu
dfc3f9e13c
Set $PYENV_VERSION for existing installation of 3.4
...
CPython 3.4.x requires "python3.4" to be executable during build
if it is in "$PATH".
2013-05-29 19:36:49 +09:00
Yamashita Yuu
f120551ef3
add pypy-2.0.1 and pypy-2.0.2
2013-05-29 15:05:43 +09:00
Yamashita Yuu
b03a4cde78
add build_package_verify_py3{0,1,2,3,4}
2013-05-27 19:37:24 +09:00
Yamashita Yuu
71b2081a75
update distribute version (0.6.40 -> 0.6.43)
2013-05-27 16:58:19 +09:00
Yamashita Yuu
5fbc3ae3d5
add ssl patch for 3.1.3 and 3.2 ( #22 )
2013-05-23 12:07:19 +09:00
Yamashita Yuu
1ce37e53c7
Merge branch 'ruby-build-v20130518'
2013-05-21 16:40:21 +09:00
Yamashita Yuu
9ae12a7c22
add CPython development versions (2.[67]-dev, 3.[1234]-dev)
2013-05-21 16:38:11 +09:00
Yamashita Yuu
b3deef5e80
update base version of ruby-build (v20130518)
2013-05-21 11:43:01 +09:00
Yamashita Yuu
28317ecb34
update readme
2013-05-19 02:34:57 +09:00
Yamashita Yuu
78efa7613d
setup verification for 2.7.5, 3.2.5 and 3.3.2
2013-05-18 20:52:37 +09:00
Yamashita Yuu
0bf26d8f1d
setup download mirror site ( #18 , #20 )
2013-05-17 23:14:57 +09:00
Yamashita Yuu
ac70eb701c
fix error messages
2013-05-17 19:36:23 +09:00
Yamashita Yuu
c834f241a8
check native modules (e.g. ssl, bz2) if they were built
2013-05-17 16:49:27 +09:00
keitaoouchi
907ddb614d
Support new versions(2.7.4, 3.2.5, 3.3.2).
2013-05-16 23:24:21 +09:00
Yamashita Yuu
dd0e3feae3
add install_zip
2013-05-16 22:39:15 +09:00
Yamashita Yuu
8b23026d6c
add PACKAGE_PATCH_STRIP to support optional strip number of patch
2013-05-16 18:19:10 +09:00
Yamashita Yuu
cc9b7aa7dd
update distribute version (0.6.38 -> 0.6.40)
2013-05-15 19:47:44 +09:00
Yamashita Yuu
318a41d723
add i786
2013-05-10 21:26:55 +09:00
Yamashita Yuu
5a52177d15
add pypy-2.0 and remove beta versions
2013-05-10 21:15:40 +09:00
Yamashita Yuu
2e8c43215d
preserve original file suffix in place of hardcoded ".tar"
2013-05-10 20:26:42 +09:00
Yamashita Yuu
45966deb49
fix pypy installation on x86_64 with glibc which is not strictly equal to 2.13 or 2.15.
2013-05-10 20:23:25 +09:00
Yamashita Yuu
56379532a6
add comments for Jython about the version of distribute and pip ( #15 )
2013-05-10 18:31:48 +09:00
Yamashita Yuu
9bf0755c81
update default distribute version (0.6.36 -> 0.6.38)
2013-05-09 14:58:47 +09:00
Yamashita Yuu
f01d1d1064
move patches into ./share to fix the install.sh
2013-05-09 00:11:52 +09:00
Yamashita Yuu
e9b0ecf021
remove needless declaration of LDFLAGS.
...
removing this not breaks build on latest Debian sid.
2013-05-08 23:56:33 +09:00
Yamashita Yuu
cbc6f38774
fix build problem of ssl modulle of CPython 3.0.1
2013-05-08 20:09:54 +09:00
Yamashita Yuu
e220b76c3e
fix build problem of ssl module with recent OpenSSL
...
http://bugs.python.org/issue12012
2013-05-08 19:52:09 +09:00
Yamashita Yuu
8d1bf96267
add workaround for incompatible behaviour of svnversion ( #14 )
2013-05-08 19:23:03 +09:00
Yamashita Yuu
95882fce68
remove useless patches
2013-05-08 18:38:34 +09:00
Yamashita Yuu
cc20ab3392
find appropriate patch for package automatically
2013-05-08 18:35:30 +09:00
Yamashita Yuu
fe50ed29ea
bundle patches into python-build repository
2013-05-08 17:49:09 +09:00
Yamashita Yuu
2d55aea467
add pypy-2.0-beta2
2013-04-30 01:53:30 +09:00
Yamashita Yuu
521c2c3e06
add jython versions; jython-2.5.4-rc1 and jython-2.7-beta1
2013-04-30 01:46:28 +09:00
Yamashita Yuu
0bc8d8252e
fix typo to verify jar's checksum
2013-04-30 01:20:12 +09:00
Yamashita Yuu
998af2a3ab
revert pip version (1.3.1 -> 1.2.1) to avoid AttributeError on Jython. ( #15 )
...
AttributeError: 'module' object has no attribute 'O_NOFOLLOW'
2013-04-27 21:05:34 +09:00
Yamashita Yuu
3b820e8c0c
revert distribute version (0.6.36 -> 0.6.32) due to the installation
...
problem with Jython 2.5.[01] (#15 )
2013-04-27 20:54:45 +09:00
Yamashita Yuu
8bc19e28e0
update distribute version (0.6.34 -> 0.6.36)
2013-04-25 21:42:59 +09:00
Yamashita Yuu
0d0516ad05
update default pip version (1.2.1 -> 1.3.1)
2013-04-25 21:40:13 +09:00
Yamashita Yuu
6997026064
import recent changes from ruby-build 20130408
2013-04-19 19:26:11 +09:00
Yamashita Yuu
dd1b6502c6
add README for python-build.
...
was copied from [ruby-build](https://github.com/sstephenson/ruby-build ).
2013-04-19 18:48:45 +09:00
f440
bb2d058167
Support 2.7.4, 3.2.4, 3.3.1
2013-04-07 12:40:12 +09:00
draftcode
dce4eb636a
Add a help string to describe the debug option
2013-03-28 16:41:07 +09:00
draftcode
c170255580
Preserve CONFIGURE_OPTS
2013-03-28 16:35:26 +09:00
draftcode
8bf0938e60
Add an option to build a debug version of Python
2013-03-28 12:04:58 +09:00
Yamashita Yuu
48e1488bc9
remove duplicated LICENSE from python-build.
2013-02-23 19:07:45 +09:00
Yamashita Yuu
755c00e67c
fix broken installation scripts for Jython and some of CPython.
...
replaced deprecated method calls of `fetch_url` by `http get`.
2013-02-07 17:48:23 +09:00
Yamashita Yuu
ad900ba436
fix some differences between ruby-build (refs #8 )
2013-02-07 17:32:10 +09:00
Yamashita Yuu
6d307c6e11
import recent changes from ruby-build:
...
* verify checksum of downloaded archives.
* add PYTHON_BUILD_MIRROR_URL to use mirror site.
But we don't have CloudFront setup as of now :-(
* rbenv 0.4.x style help messages
2013-01-31 13:27:39 +09:00
Yamashita Yuu
4a217a0cd1
update distribute to 0.6.34
2013-01-11 13:41:40 +09:00
Yamashita Yuu
c9575d7cb0
update distribute and pip versions
...
* distribute (0.6.28 -> 0.6.32)
* pip (1.1 -> 1.2.1)
2012-12-11 12:19:56 +09:00
Yamashita Yuu
252003f18e
add pypy-2.0-beta1
2012-12-11 12:13:18 +09:00
Yamashita Yuu
f878896a77
ignore non files
2012-10-23 17:55:55 +09:00
Yamashita Yuu
b520475b22
release 0.1.2
2012-10-23 15:24:41 +09:00
Yamashita Yuu
ffa2505450
add install script
2012-10-23 15:23:48 +09:00
Yamashita Yuu
2ed400bfc6
use default CC to build CPython and Stackless. require_gcc
was
...
imported from ruby-build and is for rubies, not for pythons.
2012-10-16 16:07:19 +09:00
Yamashita Yuu
ffa5fb0ea0
add CPython 3.3.0 release
2012-10-02 16:30:59 +09:00
Yamashita Yuu
579d44203f
add 3.3.0rc2 and 3.3.0rc3
2012-09-27 12:50:42 +09:00
Yamashita Yuu
f0ff5a416e
added 3.3.0rc1
2012-09-03 19:36:04 +09:00
Yamashita Yuu
2856f81bb9
added more pythons
2012-08-31 19:11:29 +09:00
Yamashita Yuu
5224641f1a
added CPython 2.5.6
2012-08-31 17:20:31 +09:00
Yamashita Yuu
a4c02082cb
pypy installation doesn't require gcc
2012-08-31 17:18:47 +09:00
Yamashita Yuu
de25a84dc2
fixed build error on Mac OS X
2012-08-31 16:50:24 +09:00
Yamashita Yuu
7953f573c6
modify ruby-build for Python and import into pyenv as default plugin.
2012-08-31 15:55:21 +09:00