Skip to content

Commit

Permalink
Merge pull request #24 from pchng/crypto_python_cleanup
Browse files Browse the repository at this point in the history
Clean-up Python-related packages.
  • Loading branch information
clayg committed Oct 19, 2015
2 parents a3f97a0 + 0d12faf commit acc95bd
Showing 1 changed file with 2 additions and 14 deletions.
16 changes: 2 additions & 14 deletions cookbooks/swift/recipes/setup.rb
Expand Up @@ -26,18 +26,6 @@
end
end

# deadsnakes for py2.6
execute "deadsnakes key" do
command "sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys DB82666C"
action :run
not_if "sudo apt-key list | grep 'Launchpad Old Python Versions'"
end

cookbook_file "/etc/apt/sources.list.d/fkrull-deadsnakes-trusty.list" do
source "etc/apt/sources.list.d/fkrull-deadsnakes-trusty.list"
mode 0644
end

execute "enable backports" do
command "sudo sed -ie 's/# deb http:\\/\\/archive.ubuntu.com\\/ubuntu trusty-backports/deb http:\\/\\/archive.ubuntu.com\\/ubuntu trusty-backports/' /etc/apt/sources.list"
action :run
Expand All @@ -56,9 +44,9 @@
# NOTE: Ubuntu Trusty 14.04 provides Python {2.7.6, 3.4.3} out of the box.
required_packages = [
"libjerasure-dev", # required for the EC biz
"libssl-dev", # libssl-dev is required for building wheels from the cryptography package in swift.
"curl", "gcc", "memcached", "rsync", "sqlite3", "xfsprogs", "git-core",
"build-essential", "python-dev", "libffi-dev", "python-dev", "python3.3",
"python3.3-dev", "python2.6", "python2.6-dev",
"build-essential", "libffi-dev", "python-dev",
"libxml2-dev", "libxml2", "libxslt1-dev",
]
extra_packages = node['extra_packages']
Expand Down

0 comments on commit acc95bd

Please sign in to comment.