commit:     a6762ba01343311670579d98a39732b494454f18
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 19 07:51:38 2021 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Mon Apr 19 08:13:07 2021 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=a6762ba0

repoman/setup.py: update sdist for xz support

Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 repoman/setup.py | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/repoman/setup.py b/repoman/setup.py
index e99189d06..8a92ffff6 100755
--- a/repoman/setup.py
+++ b/repoman/setup.py
@@ -337,10 +337,13 @@ class x_install_scripts(install_scripts):
 
 
 class x_sdist(sdist):
-       """ sdist defaulting to .tar.bz2 format, and archive files owned by 
root """
+       """ sdist defaulting to .tar.xz format, and archive files owned by root 
"""
+
+       def initialize_options(self):
+               super().initialize_options()
+               self.formats = ['xztar']
 
        def finalize_options(self):
-               self.formats = ['bztar']
                if self.owner is None:
                        self.owner = 'root'
                if self.group is None:

Reply via email to