[gentoo-commits] proj/gnome:master commit in: scripts/

2020-04-03 Thread Matt Turner
commit: 03664e2efda313a016be91ea34a38ffca7772bf7
Author: Matt Turner  gentoo  org>
AuthorDate: Fri Apr  3 19:40:32 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Apr  3 19:40:32 2020 +
URL:https://gitweb.gentoo.org/proj/gnome.git/commit/?id=03664e2e

scripts/gen_archlist.py: Change shebang to python3

Commit d78f89c5d2f0 (scripts/gen_archlist: Hack it to work with python3)
made the script at least work in python3 but intentionally left the
shebang as python2. Today, portage doesn't have python2_7 in
PYTHON_COMPAT, so regardless of the quality of the python3 support in
this script it's the only option.

Signed-off-by: Matt Turner  gentoo.org>

 scripts/gen_archlist.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/gen_archlist.py b/scripts/gen_archlist.py
index 6a2ec837..b3b6fb15 100755
--- a/scripts/gen_archlist.py
+++ b/scripts/gen_archlist.py
@@ -1,4 +1,4 @@
-#!/usr/bin/env python2
+#!/usr/bin/env python3
 # vim: set sw=4 sts=4 et :
 # Author(s): Nirbheek Chauhan 
 #



[gentoo-commits] proj/gnome:master commit in: scripts/

2020-04-03 Thread Matt Turner
commit: 45069a2b9ae93325c6e94fd071abc90d877873ef
Author: Matt Turner  gentoo  org>
AuthorDate: Fri Apr  3 19:39:00 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Fri Apr  3 19:40:00 2020 +
URL:https://gitweb.gentoo.org/proj/gnome.git/commit/?id=45069a2b

scripts/gen_archlist.py: Drop ia64 from stable arches

Signed-off-by: Matt Turner  gentoo.org>

 scripts/gen_archlist.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/gen_archlist.py b/scripts/gen_archlist.py
index 8750b65b..6a2ec837 100755
--- a/scripts/gen_archlist.py
+++ b/scripts/gen_archlist.py
@@ -37,7 +37,7 @@ logger = logging.getLogger('gen_archlist')
 #
 # GNOME_OVERLAY = PORTDB.getRepositoryPath('gnome')
 portage.portdb.porttrees = [portage.settings['PORTDIR']]
-STABLE_ARCHES = ('amd64', 'arm', 'arm64', 'hppa', 'ia64',
+STABLE_ARCHES = ('amd64', 'arm', 'arm64', 'hppa',
  'ppc', 'ppc64', 's390', 'sparc', 'x86')
 UNSTABLE_ARCHES = ('~alpha', '~amd64', '~arm', '~arm64', '~hppa', '~ia64',
'~m68k', '~ppc', '~ppc64', '~s390', '~sparc',



[gentoo-commits] proj/gnome:master commit in: scripts/

2020-03-28 Thread Mart Raudsepp
commit: 2cd404b5ae2fabb6169f35735a72bbfce34f46cc
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Sat Mar 28 08:31:22 2020 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Sat Mar 28 08:31:40 2020 +
URL:https://gitweb.gentoo.org/proj/gnome.git/commit/?id=2cd404b5

scripts/gen_archlist.py: Drop ~sh completely (discontinued)

Signed-off-by: Mart Raudsepp  gentoo.org>

 scripts/gen_archlist.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/gen_archlist.py b/scripts/gen_archlist.py
index e2b2a621..8750b65b 100755
--- a/scripts/gen_archlist.py
+++ b/scripts/gen_archlist.py
@@ -40,7 +40,7 @@ portage.portdb.porttrees = [portage.settings['PORTDIR']]
 STABLE_ARCHES = ('amd64', 'arm', 'arm64', 'hppa', 'ia64',
  'ppc', 'ppc64', 's390', 'sparc', 'x86')
 UNSTABLE_ARCHES = ('~alpha', '~amd64', '~arm', '~arm64', '~hppa', '~ia64',
-   '~m68k', '~ppc', '~ppc64', '~s390', '~sh', '~sparc',
+   '~m68k', '~ppc', '~ppc64', '~s390', '~sparc',
'~x86', '~x86-fbsd')
 ALL_ARCHES = STABLE_ARCHES + UNSTABLE_ARCHES
 SYSTEM_PACKAGES = []



[gentoo-commits] proj/gnome:master commit in: scripts/

2020-03-10 Thread Matt Turner
commit: 1996134dee8de72911ddcebb55efdca395f7731f
Author: Matt Turner  gentoo  org>
AuthorDate: Wed Mar  4 21:51:02 2020 +
Commit: Matt Turner  gentoo  org>
CommitDate: Wed Mar  4 21:52:25 2020 +
URL:https://gitweb.gentoo.org/proj/gnome.git/commit/?id=1996134d

scripts/gen_archlist.py: Drop alpha from stable arches

Signed-off-by: Matt Turner  gentoo.org>

 scripts/gen_archlist.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/gen_archlist.py b/scripts/gen_archlist.py
index 17fcd6f1..e2b2a621 100755
--- a/scripts/gen_archlist.py
+++ b/scripts/gen_archlist.py
@@ -37,7 +37,7 @@ logger = logging.getLogger('gen_archlist')
 #
 # GNOME_OVERLAY = PORTDB.getRepositoryPath('gnome')
 portage.portdb.porttrees = [portage.settings['PORTDIR']]
-STABLE_ARCHES = ('alpha', 'amd64', 'arm', 'arm64', 'hppa', 'ia64',
+STABLE_ARCHES = ('amd64', 'arm', 'arm64', 'hppa', 'ia64',
  'ppc', 'ppc64', 's390', 'sparc', 'x86')
 UNSTABLE_ARCHES = ('~alpha', '~amd64', '~arm', '~arm64', '~hppa', '~ia64',
'~m68k', '~ppc', '~ppc64', '~s390', '~sh', '~sparc',



[gentoo-commits] proj/gnome:master commit in: scripts/

2019-02-07 Thread Mart Raudsepp
commit: 09f3b3a5cd37a5880178137105132626361316e5
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Thu Feb  7 11:55:45 2019 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Thu Feb  7 11:58:07 2019 +
URL:https://gitweb.gentoo.org/proj/gnome.git/commit/?id=09f3b3a5

scripts/gen_archlist.py: Add s390

s390 is somewhat doing stable again and keeping up with things,
so include it in package stabilization lists too now.

Signed-off-by: Mart Raudsepp  gentoo.org>

 scripts/gen_archlist.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/gen_archlist.py b/scripts/gen_archlist.py
index 746255f9..17fcd6f1 100755
--- a/scripts/gen_archlist.py
+++ b/scripts/gen_archlist.py
@@ -38,7 +38,7 @@ logger = logging.getLogger('gen_archlist')
 # GNOME_OVERLAY = PORTDB.getRepositoryPath('gnome')
 portage.portdb.porttrees = [portage.settings['PORTDIR']]
 STABLE_ARCHES = ('alpha', 'amd64', 'arm', 'arm64', 'hppa', 'ia64',
- 'ppc', 'ppc64', 'sparc', 'x86')
+ 'ppc', 'ppc64', 's390', 'sparc', 'x86')
 UNSTABLE_ARCHES = ('~alpha', '~amd64', '~arm', '~arm64', '~hppa', '~ia64',
'~m68k', '~ppc', '~ppc64', '~s390', '~sh', '~sparc',
'~x86', '~x86-fbsd')



[gentoo-commits] proj/gnome:master commit in: scripts/

2018-04-25 Thread Mart Raudsepp
commit: d78f89c5d2f0c86812bbf60cdd77d9bece5ec830
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Wed Apr 25 10:31:21 2018 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Wed Apr 25 10:32:17 2018 +
URL:https://gitweb.gentoo.org/proj/gnome.git/commit/?id=d78f89c5

scripts/gen_archlist: Hack it to work with python3

As this is just a workaround, not a properly handled port, keep the
shebang to python2 for now, but can at least run it via
python3 ./gen_archlist.py now when not having python2 portage.

 scripts/gen_archlist.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/gen_archlist.py b/scripts/gen_archlist.py
index 2d713180..746255f9 100755
--- a/scripts/gen_archlist.py
+++ b/scripts/gen_archlist.py
@@ -437,7 +437,7 @@ def main():
  ' to be stabilized')
 args = parser.parse_args()
 
-args.verbose = min(max(args.verbose, 0), 2)
+args.verbose = min(max(args.verbose if args.verbose else 0, 0), 2)
 logging.config.dictConfig({
 'version': 1,
 'disable_existing_loggers': True,



[gentoo-commits] proj/gnome:master commit in: scripts/

2018-01-09 Thread Mart Raudsepp
commit: db02b518fb0b9a0571578d8b4cb16efb5c7258d4
Author: Mart Raudsepp  gentoo  org>
AuthorDate: Wed Jan 10 03:24:59 2018 +
Commit: Mart Raudsepp  gentoo  org>
CommitDate: Wed Jan 10 03:24:59 2018 +
URL:https://gitweb.gentoo.org/proj/gnome.git/commit/?id=db02b518

scripts/gen_archlist.py: Add arm64

 scripts/gen_archlist.py | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/scripts/gen_archlist.py b/scripts/gen_archlist.py
index a9fdb87d..2d713180 100755
--- a/scripts/gen_archlist.py
+++ b/scripts/gen_archlist.py
@@ -37,11 +37,11 @@ logger = logging.getLogger('gen_archlist')
 #
 # GNOME_OVERLAY = PORTDB.getRepositoryPath('gnome')
 portage.portdb.porttrees = [portage.settings['PORTDIR']]
-STABLE_ARCHES = ('alpha', 'amd64', 'arm', 'hppa', 'ia64', 'ppc', 'ppc64',
- 'sparc', 'x86')
-UNSTABLE_ARCHES = ('~alpha', '~amd64', '~arm', '~hppa', '~ia64', '~m68k',
-   '~ppc', '~ppc64', '~s390', '~sh', '~sparc', '~x86',
-   '~x86-fbsd')
+STABLE_ARCHES = ('alpha', 'amd64', 'arm', 'arm64', 'hppa', 'ia64',
+ 'ppc', 'ppc64', 'sparc', 'x86')
+UNSTABLE_ARCHES = ('~alpha', '~amd64', '~arm', '~arm64', '~hppa', '~ia64',
+   '~m68k', '~ppc', '~ppc64', '~s390', '~sh', '~sparc',
+   '~x86', '~x86-fbsd')
 ALL_ARCHES = STABLE_ARCHES + UNSTABLE_ARCHES
 SYSTEM_PACKAGES = []