From e4bd93af87d04cc6fb025d9a8171381fe64f5066 Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Thu, 20 Oct 2016 00:52:33 +0300 Subject: [PATCH] Update for optional dependencies Signed-off-by: Dimitris Zlatanidis --- requirements.txt | 2 +- slackbuild/README | 2 ++ slpkg/downloader.py | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/requirements.txt b/requirements.txt index 27f1a83b..2df4b22c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6,7 +6,7 @@ # [OPTIONAL] # aria2 (alternative downloader) # curl (alternative downloader) -# http (alternative downloader) +# httpie (alternative downloader) # pygraphviz >= 1.3.1 (drawing dependencies diagram) # perl 5 language and graph-easy >= 0.75 (drawing dependencies ascii diagram) # python2-pythondialog >= 3.3.0 (Python interface to the UNIX dialog utility) diff --git a/slackbuild/README b/slackbuild/README index 09601850..80c0f115 100644 --- a/slackbuild/README +++ b/slackbuild/README @@ -8,3 +8,5 @@ Optional dependencies: python2-pythondialog (for dialog box interface) pygraphviz (for drawing dependencies diagram) graph-easy (for drawing ascii dependencies diagram) + aria2 (alternative downloader) + httpie (alternative downloader) diff --git a/slpkg/downloader.py b/slpkg/downloader.py index 4fd9b49e..036ab3df 100644 --- a/slpkg/downloader.py +++ b/slpkg/downloader.py @@ -33,7 +33,7 @@ from slpkg.__metadata__ import MetaData as _meta_ class Download(object): """Downloader manager. Slpkg use wget by default but support - curl, aria2 and http + curl, aria2 and httpie """ def __init__(self, path, url, repo): self.path = path @@ -48,7 +48,7 @@ class Download(object): def start(self): """Download files using wget or other downloader. - Optional curl, aria2c and http + Optional curl, aria2c and httpie """ dwn_count = 1 self._directory_prefix()