From 4b130604be2dcd96bde5f708e0f4dc91f86bd89b Mon Sep 17 00:00:00 2001 From: mo khan Date: Tue, 4 Aug 2020 14:51:49 -0600 Subject: Build debian packages for tools --- config/projects/python.rb | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 config/projects/python.rb (limited to 'config/projects/python.rb') 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 -- cgit v1.2.3