summaryrefslogtreecommitdiffstats
path: root/hammer.py
diff options
context:
space:
mode:
authorMichal Nowikowski <godfryd@isc.org>2021-05-17 08:57:57 +0200
committerMichal Nowikowski <godfryd@isc.org>2021-05-17 08:57:57 +0200
commit9082892afb8c7a121f565fa7109bd9d600d46c48 (patch)
treeb4d78b16c274b44205fce133ea77122cb1e3a2ca /hammer.py
parent[#1798] Addressed wording comments (diff)
downloadkea-9082892afb8c7a121f565fa7109bd9d600d46c48.tar.xz
kea-9082892afb8c7a121f565fa7109bd9d600d46c48.zip
[#1873] hammer: dropped support for python3 in building kea packages
Diffstat (limited to 'hammer.py')
-rwxr-xr-xhammer.py11
1 files changed, 4 insertions, 7 deletions
diff --git a/hammer.py b/hammer.py
index b693aa387e..fb6a007fa9 100755
--- a/hammer.py
+++ b/hammer.py
@@ -766,7 +766,7 @@ class VagrantEnv(object):
os.makedirs(pkgs_dir)
# copy results of _build_native_pkg
- execute('scp -F %s -r default:/tmp/pkg/* .' % ssh_cfg_path, cwd=pkgs_dir)
+ execute('scp -F %s -r default:~/kea-pkg/* .' % ssh_cfg_path, cwd=pkgs_dir)
if upload:
repo_url = _get_full_repo_url(repository_url, self.system, self.revision, pkg_version)
@@ -1237,7 +1237,7 @@ def prepare_system_local(features, check_times):
'log4cplus-devel', 'boost-devel', 'libpcap-devel', 'python3-virtualenv']
if 'native-pkg' in features:
- packages.extend(['rpm-build', 'python2-devel', 'python3-devel'])
+ packages.extend(['rpm-build', 'python3-devel'])
if 'docs' in features:
packages.extend(['python3-sphinx', 'texlive', 'texlive-collection-latexextra'])
@@ -1277,13 +1277,10 @@ def prepare_system_local(features, check_times):
'log4cplus-devel', 'boost-devel', 'mariadb-devel', 'postgresql-devel']
if 'native-pkg' in features:
- packages.extend(['rpm-build', 'python2-devel'])
+ packages.extend(['rpm-build', 'python3-devel'])
if 'docs' in features:
- if revision == '8':
- packages.extend(['python3-virtualenv'])
- else:
- packages.extend(['python-virtualenv'])
+ packages.extend(['python3-virtualenv'])
if 'mysql' in features:
packages.extend(['mariadb', 'mariadb-server', 'mariadb-devel'])