From 224ff53c78c2e8df8c6ac3f5b84964a9fd228ee3 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 26 Aug 2014 07:04:44 -0300 Subject: add parabola suffix on some packages --- libre/reflector-parabola/rebranding.patch | 64 +++++++++++++++++++++++++++++++ 1 file changed, 64 insertions(+) create mode 100644 libre/reflector-parabola/rebranding.patch (limited to 'libre/reflector-parabola/rebranding.patch') diff --git a/libre/reflector-parabola/rebranding.patch b/libre/reflector-parabola/rebranding.patch new file mode 100644 index 000000000..b29653ffd --- /dev/null +++ b/libre/reflector-parabola/rebranding.patch @@ -0,0 +1,64 @@ +diff --git a/Reflector.py b/Reflector.py +index 20b7fc7..22e5f9d 100644 +--- a/Reflector.py ++++ b/Reflector.py +@@ -63,7 +63,7 @@ def get_cache_file(): + + class MirrorStatus(object): + # JSON URI +- URL = 'https://www.archlinux.org/mirrors/status/json/' ++ URL = 'https://parabolagnulinux.org/mirrors/status/json/' + # Mirror URL format. Accepts server base URL, repository, and architecture. + MIRROR_URL_FORMAT = '{0}{1}/os/{2}' + MIRRORLIST_ENTRY_FORMAT = "Server = " + MIRROR_URL_FORMAT + "\n" +@@ -92,8 +92,13 @@ class MirrorStatus(object): + 'extra', + 'gnome-unstable', + 'kde-unstable', ++ 'libre', ++ 'libre-testing', ++ 'libre-multilib', + 'multilib', +- 'multilib-testing' ++ 'multilib-testing', ++ 'nonprism', ++ 'pcr', + 'staging', + 'testing' + ) +@@ -453,7 +458,7 @@ class MirrorStatus(object): + + width = 80 + colw = 11 +- header = '# Arch Linux mirrorlist generated by Reflector #'.center(width, '#') ++ header = '# Parabola GNU/Linux-libre mirrorlist generated by Reflector #'.center(width, '#') + border = '#' * len(header) + mirrorlist = '{}\n{}\n{}\n'.format(border, header, border) + \ + '\n' + \ +@@ -542,7 +547,7 @@ def add_arguments(parser): + ''' + Add reflector arguments to the argument parser. + ''' +- parser = argparse.ArgumentParser(description='retrieve and filter a list of the latest Arch Linux mirrors') ++ parser = argparse.ArgumentParser(description='retrieve and filter a list of the latest Parabola GNU/Linux-libre mirrors') + + parser.add_argument( + '--connection-timeout', type=int, metavar='n', default=5, +@@ -561,7 +566,7 @@ def add_arguments(parser): + + parser.add_argument( + '--cache-timeout', type=int, metavar='n', default=300, +- help='The cache timeout in seconds for the data retrieved from the Arch Linux Mirror Status API. The default is 300 (5 minutes).' ++ help='The cache timeout in seconds for the data retrieved from the Parabola GNU/Linux-libre Mirror Status API. The default is 300 (5 minutes).' + ) + + parser.add_argument( +@@ -646,7 +651,7 @@ def parse_args(args=None): + Parse command-line arguments. + ''' + parser = argparse.ArgumentParser( +- description='retrieve and filter a list of the latest Arch Linux mirrors' ++ description='retrieve and filter a list of the latest Parabola GNU/Linux-libre mirrors' + ) + parser = add_arguments(parser) + options = parser.parse_args(args) -- cgit v1.2.3