updated for version 1.6.5

This commit is contained in:
dslackw 2014-07-28 16:32:43 +03:00
parent 9a1280b443
commit 4cef810c66
16 changed files with 78 additions and 72 deletions

View file

@ -1,9 +1,10 @@
29-07-2014 28-07-2014
Version 1.6.5 Version 1.6.5
[Feature] - Added slack, noarch and other in list (slpkg -l) [Feature] - Added slack, noarch and other in list (slpkg -l)
Added index in list (slpkg -l) Added index in list (slpkg -l)
Added install packages via official Slackware mirrors Added install packages via official Slackware mirrors
Fix messages
[Updated] - Arguments views [Updated] - Arguments views

View file

@ -1,6 +1,6 @@
Metadata-Version: 1.1 Metadata-Version: 1.1
Name: slpkg Name: slpkg
Version: 1.6.4 Version: 1.6.5
Author: dslackw Author: dslackw
Author-email: d zlatanidis at gmail com Author-email: d zlatanidis at gmail com
Maintainer: dslackw Maintainer: dslackw

View file

@ -13,30 +13,32 @@
.\" .\"
.TH Slpkg "8" "5 2014" "slpkg" .TH Slpkg "8" "5 2014" "slpkg"
.SH NAME .SH NAME
slpkg - Utility to help package management in Slackware slpkg - Utility for easy management packages in Slackware
.SH SYNOPSIS .SH SYNOPSIS
\fBslpkg\fP \fB-h\fP \fB-v\fP \fB-a script [source ...]\fP \fB-l all, sbo [all, sbo ...]\fP \fBslpkg\fP \fB-h\fP \fB-v\fP \fB-a script [source ...]\fP \fB-l all, sbo [all, sbo ...]\fP
\fB-t\fP \fB-n\fP \fB-c sbo, slack [sbo, slack ...]\fP \fB-s\fP \fB-i [...]\fP \fB-u [...]\fP \fB-t\fP \fB-n\fP \fB-c sbo, slack [sbo, slack ...]\fP \fB-s\ slack [sbo, slack ...] fP\fB-i
\fB-o [...]\fP \fB-r [...]\fP \fB-f [...]\fP \fB-d [...]\fP [...]\fP \fB-u [...]\fP \fB-o [...]\fP \fB-r [...]\fP \fB-f [...]\fP \fB-d [...]\fP
.SH DESCRIPTION .SH DESCRIPTION
\fBslpkg\fP is a terminal tool in order to easy use Slackware packages. \fBslpkg\fP is a terminal multitool in order to easy use Slackware packages.
.PP .PP
It's a quick and easy way to manage your packages in slackware to a command. It's a quick and easy way to manage your packages in slackware to a command.
.SH EXAMPLES .SH EXAMPLES
\fB-h, --help show this help message and exit\fP \fB-h, --help show this help message and exit\fP
\fB-v, --verbose print version and exit\fP \fB-v, --verbose print version and exit\fP
\fB-a script [source ...]\fP \fB-a script [source ...]\fP
\fB auto build package\fP \fB auto build package\fP
\fB-l all, sbo [all, sbo ...]\fP \fB-l all, sbo [all, sbo, slack, noarch, other [all, sbo, slack, noarch, other ...]\fP
\fB list of installed packages\fP
\fB-c sbo, slack [sbo, slack ...]\fp
\fB check if your packages is up to date\fP
\fB-s sbo, slack [sbo, slack ...]\fP
\fB download, build & install packages\fP
\fB list of installed packages\fP \fB list of installed packages\fP
\fB-t tracking dependencies\fP \fB-t tracking dependencies\fP
\fB-n find from SBo repositority\fP \fB-n find packages from SBo repositority\fP
\fB-c sbo, slack [sbo, slack ...]\fp
\fb check if your package is up to date\fP
\fB-s download, build & install packages from SBo\fP
\fB-i [ ...] install binary packages\fP \fB-i [ ...] install binary packages\fP
\fB-u [ ...] install-upgrade packages with new\fP \fB-u [ ...] upgrade binary packages\fP
\fB-o [ ...] reinstall the same packages\fP \fB-o [ ...] reinstall binary packages\fP
\fB-r [ ...] remove packages\fP \fB-r [ ...] remove packages\fP
\fB-f [ ...] find if packages installed\fP \fB-f [ ...] find if packages installed\fP
\fB-d [ ...] display the contents of the packages\fP \fB-d [ ...] display the contents of the packages\fP
@ -73,11 +75,13 @@ the network. (www.slackbuilds.org)
.PP .PP
Check your packages from Slackware official mirrors or from Check your packages from Slackware official mirrors or from
slackbuilds.org is up to date. slackbuilds.org is up to date.
.SS -s , find, download, build and install package with all dependencies .SS -s , sbo, slack [sbo, slack ...] find, download, build and install
\fBslpkg\fP \fB-s\fP <\fIname of package\fP> package with all dependencies
\fBslpkg\fP \fB-s\fP <\fIsbo\fP> <\fIslack\fP> <\fIname of package\fP>
.PP .PP
Find package from slackbuild.org with all dependencies, Find package from slackbuild.org with all dependencies,
download, build and install them. download, build and install them. Even download and install official
packages from Slackware official mirrors and install.
.SS -i , install binary package .SS -i , install binary package
\fBslpkg\fP \fB-i\fP <\fIpackages.t?z\fP> \fBslpkg\fP \fB-i\fP <\fIpackages.t?z\fP>
.PP .PP
@ -166,7 +170,7 @@ $ \fBslpkg -s brasero\fP
$ \fBslpkg -c sbo flashplayer-plugin\fP $ \fBslpkg -c sbo flashplayer-plugin\fP
Searching `flashplayer-plugin` from slackbuilds.org ... Searching [ flashplayer-plugin ] from slackbuilds.org ...
New version is available: New version is available:
+============================================================================== +==============================================================================
@ -181,13 +185,13 @@ $ \fBslpkg -c slack upgrade\fp
$ \fBslpkg -n termcolor\fP $ \fBslpkg -n termcolor\fP
Searching 'termcolor' from slackbuilds.org ... Searching [ termcolor ] from slackbuilds.org ...
+============================================================================== +==============================================================================
| Package termcolor --> http://slackbuilds.org/repository/14.1/python/termcolor/ | Package termcolor --> http://slackbuilds.org/repository/14.1/python/termcolor/
+============================================================================== +==============================================================================
| SlackBuild : http://slackbuilds.org/slackbuilds/14.1/python/termcolor.tar.gz | SlackBuild : termcolor.tar.gz
| Source : https://pypi.python.org/packages/source/t/termcolor/termcolor-1.1.0.tar.gz | Source : termcolor-1.1.0.tar.gz
| Extra : | Extra :
| Requirements : | Requirements :
+=============================================================================== +===============================================================================

View file

@ -5,7 +5,7 @@ import os
__all__ = "slpkg" __all__ = "slpkg"
__author__ = "dslackw" __author__ = "dslackw"
__version_info__ = (1, 6, 4) __version_info__ = (1, 6, 5)
__version__ = "{0}.{1}.{2}".format(*__version_info__) __version__ = "{0}.{1}.{2}".format(*__version_info__)
__license__ = "GNU General Public License v3 (GPLv3)" __license__ = "GNU General Public License v3 (GPLv3)"
__email__ = "d.zlatanidis@gmail.com" __email__ = "d.zlatanidis@gmail.com"

View file

@ -6,7 +6,7 @@ import shutil
import tarfile import tarfile
import subprocess import subprocess
from messages import pkg_not_found from slpkg.messages import pkg_not_found
def build_extra_pkg(script, source, extra): def build_extra_pkg(script, source, extra):
''' '''

View file

@ -5,9 +5,9 @@ import os
import sys import sys
import getpass import getpass
import subprocess import subprocess
from colors import colors from slpkg.colors import colors
from __metadata__ import pkg_path, uname, arch, sp from slpkg.__metadata__ import pkg_path, uname, arch, sp
from messages import pkg_not_found, s_user, template from slpkg.messages import pkg_not_found, s_user, template
from find import find_package from find import find_package

View file

@ -3,15 +3,15 @@
import os import os
import getpass import getpass
from pkg.build import * from slpkg.pkg.build import *
from pkg.find import find_package from slpkg.pkg.find import find_package
from pkg.manager import pkg_upgrade from slpkg.pkg.manager import pkg_upgrade
from colors import colors from slpkg.colors import colors
from functions import get_file from slpkg.functions import get_file
from messages import pkg_not_found, s_user, template from slpkg.messages import pkg_not_found, s_user, template
from __metadata__ import tmp, pkg_path, uname, arch, sp from slpkg.__metadata__ import tmp, pkg_path, uname, arch, sp
from __metadata__ import sbo_arch, sbo_tag, sbo_filetype from slpkg.__metadata__ import sbo_arch, sbo_tag, sbo_filetype
from search import sbo_search_pkg from search import sbo_search_pkg
from download import sbo_slackbuild_dwn from download import sbo_slackbuild_dwn

View file

@ -1,8 +1,8 @@
#!/usr/bin/python #!/usr/bin/python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from colors import colors from slpkg.colors import colors
from messages import pkg_not_found, template from slpkg.messages import pkg_not_found, template
from greps import * from greps import *
from search import sbo_search_pkg from search import sbo_search_pkg

View file

@ -2,8 +2,8 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import os import os
from url_read import url_read from slpkg.url_read import url_read
from __metadata__ import uname, arch from slpkg.__metadata__ import uname, arch
def sbo_source_dwn(sbo_url, name): def sbo_source_dwn(sbo_url, name):
''' '''

View file

@ -3,8 +3,8 @@
import os import os
import getpass import getpass
from messages import s_user from slpkg.messages import s_user
from url_read import url_read from slpkg.url_read import url_read
# create tmp directory if not exist # create tmp directory if not exist
os.system("mkdir -p /tmp/slpkg/readme/") os.system("mkdir -p /tmp/slpkg/readme/")

View file

@ -3,11 +3,11 @@
import re import re
import sys import sys
from colors import colors from slpkg.colors import colors
from url_read import url_read from slpkg.url_read import url_read
from functions import get_file from slpkg.functions import get_file
from slack.slack_version import slack_ver from slpkg.slack.slack_version import slack_ver
def sbo_search_pkg(name): def sbo_search_pkg(name):
''' '''

View file

@ -4,15 +4,15 @@
import os import os
import sys import sys
import getpass import getpass
from colors import colors from slpkg.colors import colors
from functions import get_file from slpkg.functions import get_file
from __metadata__ import tmp, pkg_path, sp from slpkg.__metadata__ import tmp, pkg_path, sp
from __metadata__ import sbo_arch, sbo_tag, sbo_filetype from slpkg.__metadata__ import sbo_arch, sbo_tag, sbo_filetype
from messages import s_user, pkg_found, pkg_installed, template from slpkg.messages import s_user, pkg_found, pkg_installed, template
from pkg.build import * from slpkg.pkg.build import *
from pkg.find import find_package from slpkg.pkg.find import find_package
from pkg.manager import pkg_upgrade from slpkg.pkg.manager import pkg_upgrade
from dependency import sbo_dependencies_links_pkg from dependency import sbo_dependencies_links_pkg

View file

@ -1,15 +1,16 @@
#!/usr/bin/python #!/usr/bin/python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from colors import colors import os
from functions import get_file from slpkg.colors import colors
from __metadata__ import tmp, pkg_path, slpkg_path, sp from slpkg.functions import get_file
from __metadata__ import sbo_arch, sbo_tag, sbo_filetype from slpkg.__metadata__ import tmp, pkg_path, slpkg_path, sp
from messages import s_user, pkg_not_found, pkg_found, view_sbo, template from slpkg.__metadata__ import sbo_arch, sbo_tag, sbo_filetype
from slpkg.messages import s_user, pkg_not_found, pkg_found, view_sbo, template
from pkg.build import * from slpkg.pkg.build import *
from pkg.find import find_package from slpkg.pkg.find import find_package
from pkg.manager import pkg_upgrade from slpkg.pkg.manager import pkg_upgrade
from read import * from read import *
from greps import * from greps import *

View file

@ -2,13 +2,13 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import os import os
from colors import colors from slpkg.colors import colors
from url_read import url_read from slpkg.url_read import url_read
from messages import pkg_not_found from slpkg.messages import pkg_not_found
from __metadata__ import slpkg_path, pkg_path from slpkg.__metadata__ import slpkg_path, pkg_path
from pkg.find import find_package from slpkg.pkg.find import find_package
from pkg.manager import pkg_upgrade from slpkg.pkg.manager import pkg_upgrade
from mirrors import mirrors from mirrors import mirrors

View file

@ -1,7 +1,7 @@
#!/usr/bin/python #!/usr/bin/python
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
from __metadata__ import arch from slpkg.__metadata__ import arch
from slack_version import slack_ver from slack_version import slack_ver
def mirrors(name, location): def mirrors(name, location):

View file

@ -2,12 +2,12 @@
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
import os import os
from colors import colors from slpkg.colors import colors
from url_read import url_read from slpkg.url_read import url_read
from __metadata__ import pkg_path, slpkg_path from slpkg.__metadata__ import pkg_path, slpkg_path
from pkg.find import find_package from slpkg.pkg.find import find_package
from pkg.manager import pkg_upgrade from slpkg.pkg.manager import pkg_upgrade
from mirrors import mirrors from mirrors import mirrors