From 21a38cd53373e68298d11130d44b27a9c6f578eb Mon Sep 17 00:00:00 2001 From: Ben Steffen Date: Tue, 26 Nov 2019 17:23:10 -0500 Subject: [PATCH] Update debian files --- debian/changelog | 32 ++++++++++++++++++++++++++++++++ debian/control | 6 +++--- debian/rules | 2 +- 3 files changed, 36 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index 2c600a4..7a848c5 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,35 @@ +invirt-base (0.0.38) precise; urgency=medium + + * Move to Python 3 + + * invirt-mako-renderer just allows regular file exceptions to come from open()ing a nonexistent file instead of raising SystemExit() + + * Remove struct class + - struct is supposed to also function as a dict, which can break with unfortunate key names + - e.g. Key named 'items' would cause dict.items() to fail for not obvious reasons + + * Renamed many things + - expandOwner -> expand_owner + - expandAdmin -> expand_admin + - captureOutput -> null + - subprocess.run provides nearly exactly this interface now + - lock_file -> open_locked + - checkKinit -> check_kinit + + - src_path -> SRC_PATH + - src_dirpath -> SRC_DIRPATH + - cache_path -> CACHE_PATH + - lock_path -> LOCK_PATH + + - dicts -> null + - structs -> null + - null -> config + - Don't use struct class, just use a regular dict + + - InvirtException -> PathResolutionException + + -- Ben Steffen Tue, 26 Nov 2019 17:04:42 -0500 + invirt-base (0.0.37) precise; urgency=low * Updating to reasonable version. diff --git a/debian/control b/debian/control index aae6eb9..d857276 100644 --- a/debian/control +++ b/debian/control @@ -2,14 +2,14 @@ Source: invirt-base Section: base Priority: extra Maintainer: Invirt project -Build-Depends: debhelper (>= 7), python-all-dev, python-setuptools, python-debian, python-apt +Build-Depends: debhelper (>= 7), python3-all-dev, python3-setuptools, python3-debian, python3-apt Standards-Version: 3.9.3 Package: invirt-base Architecture: all Depends: ${python:Depends}, ${misc:Depends}, - python-yaml (>= 3.05), python-mako (>= 0.2.2), python-pkg-resources, - remctl-client, invirt-config + python-yaml (>= 3.12), python-mako (>= 1.0.7), python-pkg-resources, + remctl-client, invirt-config, python3 (>= 3.6.5) Provides: ${python:Provides} Description: Base configuration required for all Invirt servers This package includes common files for the Invirt system. diff --git a/debian/rules b/debian/rules index d76ac91..ff02218 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,6 @@ #!/usr/bin/make -f %: - dh $@ --with python2 + dh $@ --with python3 override_dh_install: dh_install -- 1.7.9.5