summaryrefslogtreecommitdiff
path: root/homebrew/pyenv
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/pyenv')
-rw-r--r--homebrew/pyenv/.beer38
-rw-r--r--homebrew/pyenv/.make.sh-auto7
-rw-r--r--homebrew/pyenv/_metadata/description1
-rw-r--r--homebrew/pyenv/_metadata/homepage1
-rw-r--r--homebrew/pyenv/_metadata/name1
-rw-r--r--homebrew/pyenv/_metadata/version1
-rwxr-xr-xhomebrew/pyenv/download.sh1
7 files changed, 50 insertions, 0 deletions
diff --git a/homebrew/pyenv/.beer b/homebrew/pyenv/.beer
new file mode 100644
index 000000000..a4ff475a2
--- /dev/null
+++ b/homebrew/pyenv/.beer
@@ -0,0 +1,38 @@
+{
+ "name": "Pyenv",
+ "description": "Python version management",
+ "url": "https://github.com/pyenv/pyenv/archive/v1.2.11.tar.gz",
+ "mirror": null,
+ "homepage": "https://github.com/pyenv/pyenv",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": false
+ },
+ {
+ "depend": "openssl",
+ "build-depend": false
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": false
+ },
+ {
+ "depend": "readline",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "inreplace \"libexec/pyenv\", \"/usr/local\", HOMEBREW_PREFIX",
+ "system \"src/configure\"",
+ "system \"make\", \"-C\", \"src\"",
+ "prefix.install Dir[\"*\"]",
+ "%w[pyenv-install pyenv-uninstall python-build].each do |cmd|",
+ "bin.install_symlink \"#{prefix}/plugins/python-build/bin/#{cmd}\""
+ ],
+ "version": "1.2.11",
+ "file": "pyenv.rb"
+} \ No newline at end of file
diff --git a/homebrew/pyenv/.make.sh-auto b/homebrew/pyenv/.make.sh-auto
new file mode 100644
index 000000000..6f2ea9c44
--- /dev/null
+++ b/homebrew/pyenv/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+inreplace "libexec/pyenv", "/usr/local", HOMEBREW_PREFIX
+PKG_CONF=src/configure pkg:configure
+make -C src
+prefix.install Dir["*"]
+%w[pyenv-install pyenv-uninstall python-build].each do |cmd|
+bin.install_symlink "#{prefix}/plugins/python-build/bin/#{cmd}"
diff --git a/homebrew/pyenv/_metadata/description b/homebrew/pyenv/_metadata/description
new file mode 100644
index 000000000..9e094dcdd
--- /dev/null
+++ b/homebrew/pyenv/_metadata/description
@@ -0,0 +1 @@
+Python version management
diff --git a/homebrew/pyenv/_metadata/homepage b/homebrew/pyenv/_metadata/homepage
new file mode 100644
index 000000000..5a48fd19e
--- /dev/null
+++ b/homebrew/pyenv/_metadata/homepage
@@ -0,0 +1 @@
+https://github.com/pyenv/pyenv
diff --git a/homebrew/pyenv/_metadata/name b/homebrew/pyenv/_metadata/name
new file mode 100644
index 000000000..32a982d87
--- /dev/null
+++ b/homebrew/pyenv/_metadata/name
@@ -0,0 +1 @@
+Pyenv
diff --git a/homebrew/pyenv/_metadata/version b/homebrew/pyenv/_metadata/version
new file mode 100644
index 000000000..c11470058
--- /dev/null
+++ b/homebrew/pyenv/_metadata/version
@@ -0,0 +1 @@
+1.2.11
diff --git a/homebrew/pyenv/download.sh b/homebrew/pyenv/download.sh
new file mode 100755
index 000000000..01e237536
--- /dev/null
+++ b/homebrew/pyenv/download.sh
@@ -0,0 +1 @@
+wget https://github.com/pyenv/pyenv/archive/v1.2.11.tar.gz \ No newline at end of file