diff options
Diffstat (limited to 'libre')
-rw-r--r-- | libre/reflector/PKGBUILD | 18 | ||||
-rw-r--r-- | libre/reflector/rebranding.patch | 26 |
2 files changed, 24 insertions, 20 deletions
diff --git a/libre/reflector/PKGBUILD b/libre/reflector/PKGBUILD index a96522096..6f3f1e273 100644 --- a/libre/reflector/PKGBUILD +++ b/libre/reflector/PKGBUILD @@ -1,7 +1,7 @@ #Maintainer (Arch): Xyne <ac xunilhcra enyx, backwards> #Maintainer: André Silva <emulatorman@parabola.nu> pkgname=reflector -pkgver=2014.8 +pkgver=2014.11 pkgrel=1.parabola1 pkgdesc='A Python 3 module and script to retrieve and filter the latest Pacman mirror list (Parabola rebranded)' arch=(any) @@ -12,19 +12,19 @@ conflicts=(${pkgname}-parabola) depends=(python3) optdepends=('rsync: rate rsync mirrors') source=( - http://xyne.archlinux.ca/projects/reflector/src/reflector-2014.8.tar.xz - http://xyne.archlinux.ca/projects/reflector/src/reflector-2014.8.tar.xz.sig + http://xyne.archlinux.ca/projects/reflector/src/reflector-2014.11.tar.xz + http://xyne.archlinux.ca/projects/reflector/src/reflector-2014.11.tar.xz.sig rebranding.patch ) sha512sums=( - c548a5fe638c465803ff7962bdebeef3740b0cbfc65ba5fbbfb1b07d485e90ee1ea35c71e07f9ac3cb9964cf754b28edd81b3df2f3a14c7686ca7fb84cc471eb - e9177dcc04b498ffaeadfd83278b0f51dfd7167267e6556ca55768afbe01b1d712ade2ab7252a191002d12da07e5330ade410d8dfa99112ec2aaa93b24d46beb - fc042cd3ffa67445a874d460659e43a55607271a2b776a4c810507443babe3a505014a2c48e0e4760cb7c19d6d66797e09c6b1b200985f4685eb8ed5c2347819 + 3a7f7a0b412d84ce724247a51dbddab206ed7790cabd052dbb18cc7355bf67ba646bc85aeb1f944c21307bd98fcaa049516197e003de87ba4a4adb6d0ee7e804 + b9b163cc20a1c1f1cd16d2fb79fdd485b200ed3be717a3ec1682e98948c779c5097eb9ee3d6ef26594fa14d8b8088062b46b66213845fc273e8f120181e78d65 + 242fe3ae1850d2beab775fff96b173dfd5ed71178d6b3324592a179e4658209b0f0cf0bc25faba6ff31a3b379877723c2117feb9570bad6adb5339f621932ec5 ) md5sums=( - b7bf2653b68e79ee40fc715bf180490e - 583a9a95465c5daa6c0ca6bb86e96f0d - d938639a354d46e9819f1f36b3aa5fb3 + 5a8d351876f0458f342ab9704d6bff11 + 13d47226a989171cb181b42b5013484c + 9ee7955d3238c2ea4fc816139bbbc847 ) prepare () diff --git a/libre/reflector/rebranding.patch b/libre/reflector/rebranding.patch index b29653ffd..3b6adaad2 100644 --- a/libre/reflector/rebranding.patch +++ b/libre/reflector/rebranding.patch @@ -1,32 +1,36 @@ -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(): +diff -Nur reflector-2014.11.orig/Reflector.py reflector-2014.11/Reflector.py +--- reflector-2014.11.orig/Reflector.py 2014-11-01 14:22:45.000000000 -0200 ++++ reflector-2014.11/Reflector.py 2014-11-03 12:54:07.656310663 -0200 +@@ -64,7 +64,7 @@ class MirrorStatus(object): # JSON URI - URL = 'https://www.archlinux.org/mirrors/status/json/' -+ URL = 'https://parabolagnulinux.org/mirrors/status/json/' ++ URL = 'https://www.parabola.nu/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): +@@ -93,8 +93,18 @@ 'extra', 'gnome-unstable', 'kde-unstable', + 'libre', + 'libre-testing', + 'libre-multilib', ++ 'libre-multilib-testing', 'multilib', - 'multilib-testing' + 'multilib-testing', + 'nonprism', ++ 'nonprism-testing', + 'pcr', ++ 'kernels', ++ 'java', ++ 'cross', 'staging', 'testing' ) -@@ -453,7 +458,7 @@ class MirrorStatus(object): +@@ -452,7 +462,7 @@ width = 80 colw = 11 @@ -35,7 +39,7 @@ index 20b7fc7..22e5f9d 100644 border = '#' * len(header) mirrorlist = '{}\n{}\n{}\n'.format(border, header, border) + \ '\n' + \ -@@ -542,7 +547,7 @@ def add_arguments(parser): +@@ -541,7 +551,7 @@ ''' Add reflector arguments to the argument parser. ''' @@ -44,7 +48,7 @@ index 20b7fc7..22e5f9d 100644 parser.add_argument( '--connection-timeout', type=int, metavar='n', default=5, -@@ -561,7 +566,7 @@ def add_arguments(parser): +@@ -560,7 +570,7 @@ parser.add_argument( '--cache-timeout', type=int, metavar='n', default=300, @@ -53,7 +57,7 @@ index 20b7fc7..22e5f9d 100644 ) parser.add_argument( -@@ -646,7 +651,7 @@ def parse_args(args=None): +@@ -645,7 +655,7 @@ Parse command-line arguments. ''' parser = argparse.ArgumentParser( |