diff options
| author | mo khan <mo.khan@gmail.com> | 2020-08-04 14:51:49 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-08-04 18:18:36 -0600 |
| commit | 4b130604be2dcd96bde5f708e0f4dc91f86bd89b (patch) | |
| tree | b8333834b2be76fdd357a22fcda7212909e32eef /config/projects/python.rb | |
| parent | ed6e39123472fecf4eb8fef1e75db28a3b4d1ff2 (diff) | |
Build debian packages for tools
Diffstat (limited to 'config/projects/python.rb')
| -rw-r--r-- | config/projects/python.rb | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/config/projects/python.rb b/config/projects/python.rb new file mode 100644 index 0000000..6b75a1c --- /dev/null +++ b/config/projects/python.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +python_version = ENV.fetch('PYTHON_VERSION', '3.8.5') + +name "python-#{python_version}" +maintainer "GitLab B.V." +homepage "https://www.python.org/" + +install_dir "/opt/asdf/installs/python/#{python_version}" +package_scripts_path Pathname.pwd.join("config/scripts/python") + +build_version python_version +build_iteration 1 + +override 'asdf_python', version: python_version +dependency "asdf_python" + +package :deb do + compression_level 9 + compression_type :xz +end |
