capistrano-pyenv 1.0.3 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGES.md +28 -0
- data/capistrano-pyenv.gemspec +2 -3
- data/lib/capistrano-pyenv.rb +3 -3
- data/lib/capistrano-pyenv/version.rb +1 -1
- data/test/centos6-64/.gitignore +1 -1
- data/test/centos6-64/run.sh +2 -2
- data/test/precise64/.gitignore +1 -1
- data/test/precise64/run.sh +2 -2
- metadata +9 -24
data/CHANGES.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
v1.0.0 (Yamashita, Yuu)
|
|
2
|
+
|
|
3
|
+
* Rename some of options
|
|
4
|
+
* `:pyenv_use_configure` -> `:pyenv_setup_shell`
|
|
5
|
+
* `:pyenv_define_default_environment` -> `:pyenv_setup_default_environment`
|
|
6
|
+
* Add pyenv convenience methods such like `pyenv.global()` and `pyenv.exec()`.
|
|
7
|
+
* Add `:pyenv_make_options` and `:pyenv_configure_options` to control `python-build`. By default, create `make` jobs as much as processor count.
|
|
8
|
+
|
|
9
|
+
v1.0.1 (Yamashita, Yuu)
|
|
10
|
+
|
|
11
|
+
* Use [capistrano-platform-resources](https://github.com/yyuu/capistrano-platform-resources) to manage platform packages.
|
|
12
|
+
* Add `pyenv:setup_default_environment` task.
|
|
13
|
+
* Join `PATH` variables with ':' on generating `:default_environment` to respect pre-defined values.
|
|
14
|
+
* Fix a problem during invoking pyenv via sudo with path.
|
|
15
|
+
|
|
16
|
+
v1.0.2 (Yamashita, Yuu)
|
|
17
|
+
|
|
18
|
+
* Set up `:default_environment` after the loading of the recipes, not after the task start up.
|
|
19
|
+
* Fix a problem on generating `:default_environment`.
|
|
20
|
+
|
|
21
|
+
v1.0.3 (Yamashita, Yuu)
|
|
22
|
+
|
|
23
|
+
* Add support for extra flavors of RedHat.
|
|
24
|
+
* Remove useless gem dependencies.
|
|
25
|
+
|
|
26
|
+
v1.0.4 (Yamashita, Yuu)
|
|
27
|
+
|
|
28
|
+
* Fixed support for Amazon Linux. Thanks @tk0miya.
|
data/capistrano-pyenv.gemspec
CHANGED
|
@@ -15,7 +15,6 @@ Gem::Specification.new do |gem|
|
|
|
15
15
|
gem.require_paths = ["lib"]
|
|
16
16
|
gem.version = Capistrano::PyEnv::VERSION
|
|
17
17
|
|
|
18
|
-
gem.add_dependency("capistrano")
|
|
19
|
-
gem.add_dependency("capistrano-platform-resources", ">= 0.1.
|
|
20
|
-
gem.add_development_dependency("vagrant", "~> 1.0.6")
|
|
18
|
+
gem.add_dependency("capistrano", "< 3")
|
|
19
|
+
gem.add_dependency("capistrano-platform-resources", ">= 0.1.3")
|
|
21
20
|
end
|
data/lib/capistrano-pyenv.rb
CHANGED
|
@@ -10,7 +10,7 @@ module Capistrano
|
|
|
10
10
|
namespace(:pyenv) {
|
|
11
11
|
_cset(:pyenv_root, "$HOME/.pyenv")
|
|
12
12
|
_cset(:pyenv_path) {
|
|
13
|
-
# expand to actual path
|
|
13
|
+
# expand to actual path since pyenv may be executed by users other than `:user`.
|
|
14
14
|
capture("echo #{pyenv_root.dump}").strip
|
|
15
15
|
}
|
|
16
16
|
_cset(:pyenv_bin_path) { File.join(pyenv_path, "bin") }
|
|
@@ -256,8 +256,8 @@ module Capistrano
|
|
|
256
256
|
case pyenv_platform.to_sym
|
|
257
257
|
when :debian, :ubuntu
|
|
258
258
|
%w(git-core build-essential libreadline6-dev zlib1g-dev libssl-dev)
|
|
259
|
-
when :redhat, :fedora, :centos, :amazon
|
|
260
|
-
%w(git-core autoconf glibc-devel patch readline readline-devel zlib zlib-devel openssl)
|
|
259
|
+
when :redhat, :fedora, :centos, :amazon, :amazonami
|
|
260
|
+
%w(git-core autoconf gcc-c++ glibc-devel patch readline readline-devel zlib zlib-devel openssl)
|
|
261
261
|
else
|
|
262
262
|
[]
|
|
263
263
|
end
|
data/test/centos6-64/.gitignore
CHANGED
data/test/centos6-64/run.sh
CHANGED
data/test/precise64/.gitignore
CHANGED
data/test/precise64/run.sh
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-pyenv
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.4
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,24 +9,24 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-04-
|
|
12
|
+
date: 2013-04-26 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: capistrano
|
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
|
17
17
|
none: false
|
|
18
18
|
requirements:
|
|
19
|
-
- -
|
|
19
|
+
- - <
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: '
|
|
21
|
+
version: '3'
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
25
25
|
none: false
|
|
26
26
|
requirements:
|
|
27
|
-
- -
|
|
27
|
+
- - <
|
|
28
28
|
- !ruby/object:Gem::Version
|
|
29
|
-
version: '
|
|
29
|
+
version: '3'
|
|
30
30
|
- !ruby/object:Gem::Dependency
|
|
31
31
|
name: capistrano-platform-resources
|
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -34,7 +34,7 @@ dependencies:
|
|
|
34
34
|
requirements:
|
|
35
35
|
- - ! '>='
|
|
36
36
|
- !ruby/object:Gem::Version
|
|
37
|
-
version: 0.1.
|
|
37
|
+
version: 0.1.3
|
|
38
38
|
type: :runtime
|
|
39
39
|
prerelease: false
|
|
40
40
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -42,23 +42,7 @@ dependencies:
|
|
|
42
42
|
requirements:
|
|
43
43
|
- - ! '>='
|
|
44
44
|
- !ruby/object:Gem::Version
|
|
45
|
-
version: 0.1.
|
|
46
|
-
- !ruby/object:Gem::Dependency
|
|
47
|
-
name: vagrant
|
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
|
49
|
-
none: false
|
|
50
|
-
requirements:
|
|
51
|
-
- - ~>
|
|
52
|
-
- !ruby/object:Gem::Version
|
|
53
|
-
version: 1.0.6
|
|
54
|
-
type: :development
|
|
55
|
-
prerelease: false
|
|
56
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
57
|
-
none: false
|
|
58
|
-
requirements:
|
|
59
|
-
- - ~>
|
|
60
|
-
- !ruby/object:Gem::Version
|
|
61
|
-
version: 1.0.6
|
|
45
|
+
version: 0.1.3
|
|
62
46
|
description: a capistrano recipe to manage pythons with pyenv.
|
|
63
47
|
email:
|
|
64
48
|
- yamashita@geishatokyo.com
|
|
@@ -67,6 +51,7 @@ extensions: []
|
|
|
67
51
|
extra_rdoc_files: []
|
|
68
52
|
files:
|
|
69
53
|
- .gitignore
|
|
54
|
+
- CHANGES.md
|
|
70
55
|
- Gemfile
|
|
71
56
|
- LICENSE.txt
|
|
72
57
|
- README.md
|