summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD20
-rw-r--r--README.md4
-rwxr-xr-xparaboley (renamed from archey3)56
-rw-r--r--setup.py14
4 files changed, 46 insertions, 48 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2ac5d14..20666ee 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,11 @@
-# Maintainer: Laurie Clark-Michalek <bluepeppers@archlinux.us>
-# Contributer: graysky <graysky AT archlinux DOR us>
+# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
-pkgname=archey3
-pkgver=0.5
+pkgname=paraboley
+pkgver=0.2
pkgrel=1
-pkgdesc="Python script to display system infomation alongside the Arch Linux logo."
+pkgdesc="Python script to display system infomation alongside the Parabola GNU / Linux-libre logo."
arch=('any')
-url="http://bluepeppers.github.com/archey3"
+url="https://projects.parabola.nu/paraboley.git"
license=('GPL')
depends=('python')
makedepends=('git' 'python-distribute')
@@ -15,10 +14,9 @@ optdepends=(
'python-logbook-git: for logging'
'imagemagick: for default screenshot command'
)
-conflicts=('archey')
-provides=('archey')
-source="git://github.com/bluepeppers/archey3.git"
-md5sums=('SKIP')
+conflicts=()
+provides=('paraboley')
+source="git://projects.parabola.nu/paraboley.git"
pkgver() {
cd ${pkgname}
@@ -28,5 +26,5 @@ pkgver() {
package() {
cd "$srcdir/$pkgname"
python setup.py install --root=${pkgdir}
- install -D -m644 COPYING ${pkgdir}/usr/share/licenses/archey/COPYING
+ install -D -m644 COPYING ${pkgdir}/usr/share/licenses/paraboley/COPYING
}
diff --git a/README.md b/README.md
index 24fe97a..e24e8fe 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,4 @@
-Archey 3
+Paraboley
========
-Archey 3 is a system infomation printer, designed to be used when taking screenshots of computer desktops to provide additional infomation about the operating system setup. Archey is designed to be used for Arch linux, and it acordingly prints out the Arch linux logo along side the system infomation. \ No newline at end of file
+Paraboley is a system infomation printer, designed to be used when taking screenshots of computer desktops to provide additional infomation about the operating system setup. Paraboley is designed to be used for Parabola GNU / Linux-libre, and it acordingly prints out the Parabola GNU / Linux-libre logo along side the system infomation. \ No newline at end of file
diff --git a/archey3 b/paraboley
index 403977e..0f9ce61 100755
--- a/archey3
+++ b/paraboley
@@ -1,18 +1,20 @@
#!/usr/bin/env python
#
-# archey3
+# Paraboley is a forked made by Aurélien DESBIRÈRES <aurelien@hackers.camp>
+# of archey3 to present the Parabola GNU / Linux-libre logo and informations
+#
+# paraboley
#
-# Copyright 2010 Melik Manukyan <melik@archlinux.us>
-# Copyright 2010-2012 Laurie Clark-Michalek <bluepeppers@archlinux.us>
# Distributed under the terms of the GNU General Public License v3.
# See http://www.gnu.org/licenses/gpl.txt for the full license text.
#
-# Simple python script to display an Archlinux logo in ASCII art
+# Simple python script to display an Parabola logo in ASCII art
# Along with basic system information.
-__version__ = "0.5"
+__version__ = "0.3"
# Import libraries
+
import collections
import subprocess, optparse, re, sys, configparser
from subprocess import Popen, PIPE
@@ -49,25 +51,25 @@ UNAME_FLAG_MEANINGS = {
'i': 'Hardware Platform',
}
-LOGOS = {'Arch Linux': '''{c1}
-{c1} + {results[0]}
-{c1} # {results[1]}
-{c1} ### {results[2]}
-{c1} ##### {results[3]}
-{c1} ###### {results[4]}
-{c1} ; #####; {results[5]}
-{c1} +##.##### {results[6]}
-{c1} +########## {results[7]}
-{c1} ######{c2}#####{c1}##; {results[8]}
-{c1} ###{c2}############{c1}+ {results[9]}
-{c1} #{c2}###### ####### {results[10]}
-{c2} .######; ;###;`\". {results[11]}
-{c2} .#######; ;#####. {results[12]}
-{c2} #########. .########` {results[13]}
-{c2} ######' '###### {results[14]}
-{c2} ;#### ####; {results[15]}
-{c2} ##' '## {results[16]}
-{c2} #' `# {results[17]}
+LOGOS = {'Parabola': '''{c1}
+{c1} ## ### {results[0]}
+{c1} ## ## ##### {results[1]}
+{c1} ## ## ## ####### {results[2]}
+{c1} # ## ## ## ######## {results[3]}
+{c1} ### # ######### {results[4]}
+{c1} ### ######### {results[5]}
+{c1} ## ######## {results[6]}
+{c1} ####### {results[7]}
+{c1} ###### {results[8]}
+{c1} ###### {results[9]}
+{c1} ##### {results[10]}
+{c1} ##### {results[11]}
+{c1} #### {results[12]}
+{c1} #### {results[13]}
+{c1} ### {results[14]}
+{c1} ### {results[15]}
+{c1} ## {results[16]}
+{c1} # {results[17]}
\x1b[0m'''
}
@@ -97,7 +99,6 @@ WM_DICT = collections.OrderedDict([
('awesome', 'Awesome'),
('beryl', 'Beryl'),
('blackbox', 'Blackbox'),
- ('bspwm', 'bspwm'),
('dwm', 'DWM'),
('enlightenment', 'Enlightenment'),
('fluxbox', 'Fluxbox'),
@@ -245,7 +246,7 @@ class fsDisplay(display):
def format_output(self, instring):
try:
decimal_point = self.call_command(
- 'locale -ck decimal_point').split('\n')[1].split('=')[1].strip('\"')
+ 'locale -ck decimal_point').split('\n')[1].split('=')[1]
except Exception as e:
self.state.logger.warning('Could not determine locale decimal point,' +
'defaulting to \'.\', failed with error {0}'.format(e))
@@ -432,7 +433,7 @@ class distroCheck(display):
except IOError:
distro = self.call_command("uname -o")
else:
- distro = "Arch Linux"
+ distro = "Parabola"
distro = '{0} {1}'.format(distro, self.call_command("uname -m"))
return "OS", distro
@@ -735,7 +736,6 @@ class Archey(object):
results = self.arrange_results(results)
return LOGOS[self.distro_name].format(c1=color(self.state, 1),
- c2=color(self.state, 2),
results = results
)
diff --git a/setup.py b/setup.py
index b1986b5..84e752e 100644
--- a/setup.py
+++ b/setup.py
@@ -5,13 +5,13 @@ def read(fname):
return open(os.path.join(os.path.dirname(__file__), fname)).read()
setup(
- name="Archey3",
- version="0.4",
- author="Laurie Clark-Michalek",
- author_email="bluepeppers@archlinux.us",
- description="A simple python scrip to display an Archlinux logo in ASCII art along with basic system information.",
+ name="Paraboley",
+ version="0.2",
+ author="Aurélien DESBRIÈRES",
+ author_email="aurelien@hackers.camp",
+ description="A simple python scrip to display an Parabola GNU / Linux-libre logo in ASCII art along with basic system information.",
license="GPL",
- url="http://bluepeppers.github.com/archey3",
+ url="https://projects.parabola.nu/paraboley.git",
long_description=read("README.md"),
- scripts=["archey3"]
+ scripts=["paraboley"]
)