From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1B08D1396D0 for ; Sun, 13 Aug 2017 00:44:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 39CBE1FC003; Sun, 13 Aug 2017 00:44:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1A2D41FC003 for ; Sun, 13 Aug 2017 00:44:06 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F3475341777 for ; Sun, 13 Aug 2017 00:44:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4ABA57726 for ; Sun, 13 Aug 2017 00:44:04 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1502585020.84bf8d7ad50f46d8724b3c4232e387b506cf9a7a.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: / X-VCS-Repository: proj/portage X-VCS-Files: setup.py X-VCS-Directories: / X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 84bf8d7ad50f46d8724b3c4232e387b506cf9a7a X-VCS-Branch: master Date: Sun, 13 Aug 2017 00:44:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 519038c0-fcdb-4d92-88df-fa23d817d004 X-Archives-Hash: 0128394c7f9412c35aef5cc7552e943a commit: 84bf8d7ad50f46d8724b3c4232e387b506cf9a7a Author: Zac Medico gentoo org> AuthorDate: Sun Aug 13 00:41:41 2017 +0000 Commit: Zac Medico gentoo org> CommitDate: Sun Aug 13 00:43:40 2017 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=84bf8d7a setup.py: x_sdist default root owner for archive files setup.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/setup.py b/setup.py index e47eb7390..e9b01d92b 100755 --- a/setup.py +++ b/setup.py @@ -528,11 +528,15 @@ class x_install_scripts(install_scripts): class x_sdist(sdist): - """ sdist defaulting to .tar.bz2 format """ + """ sdist defaulting to .tar.bz2 format, and archive files owned by root """ def finalize_options(self): if self.formats is None: self.formats = ['bztar'] + if self.owner is None: + self.owner = 'root' + if self.group is None: + self.group = 'root' sdist.finalize_options(self)