mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-29 20:34:22 +01:00
updated for version 1.6.3
This commit is contained in:
parent
08ddc6ec51
commit
5162359f44
16 changed files with 118 additions and 633 deletions
|
@ -1,3 +1,9 @@
|
|||
27-07-2014
|
||||
Version 1.6.3
|
||||
|
||||
[Updated] - Fix arguments
|
||||
FIx NameError: global name 'sp' is not defined
|
||||
|
||||
26-07-2014
|
||||
Version 1.6.2
|
||||
|
||||
|
|
707
PKG-INFO
707
PKG-INFO
|
@ -1,11 +1,11 @@
|
|||
Metadata-Version: 1.1
|
||||
Name: slpkg
|
||||
Version: 1.6.2
|
||||
Version: 1.6.3
|
||||
Author: dslackw
|
||||
Author-email: d zlatanidis at gmail com
|
||||
Maintainer: dslackw
|
||||
Maintainer-email: d zlatanidis at gmail com
|
||||
Home-page: http://dslackw.github.io/slpkg/
|
||||
Home-page: https://github.com/dslackw/slpkg
|
||||
Summary: Utility to help package management in Slackware
|
||||
Description: .. image:: https://badge.fury.io/py/slpkg.png
|
||||
:target: http://badge.fury.io/py/slpkg
|
||||
|
@ -14,22 +14,21 @@ Description: .. image:: https://badge.fury.io/py/slpkg.png
|
|||
.. image:: https://pypip.in/license/slpkg/badge.png
|
||||
:target: https://pypi.python.org/pypi/slpkg
|
||||
|
||||
|
||||
Slpkg is a terminal tool in order to easy use Slackware packages.
|
||||
|
||||
|
||||
.. image:: https://raw.githubusercontent.com/dslackw/slpkg/master/logo/slpkg.png
|
||||
:alt: logo
|
||||
|
||||
Features
|
||||
--------
|
||||
========
|
||||
|
||||
- Build packages from source with all dependencies
|
||||
- Find and Download packages from slackbuilds.org
|
||||
- Automatic tool build and install packages
|
||||
- Download package with all dependencies
|
||||
- Check if your distribution is up to date
|
||||
- Display the contents of the packages
|
||||
- Install-upgrade Slackware packages
|
||||
- Build and install all in a command
|
||||
- Auto Download and Build packages
|
||||
- Checking for updated packages
|
||||
- List all installed packages
|
||||
- Find installed package
|
||||
|
@ -48,7 +47,7 @@ Description: .. image:: https://badge.fury.io/py/slpkg.png
|
|||
|
||||
.. image::
|
||||
https://raw.githubusercontent.com/dslackw/images/master/slpkg/screenshot-1.png
|
||||
:target: https://asciinema.org/a/10790
|
||||
:target: https://asciinema.org/a/10939
|
||||
|
||||
Installation
|
||||
------------
|
||||
|
@ -73,8 +72,6 @@ https://raw.githubusercontent.com/dslackw/images/master/slpkg/screenshot-1.png
|
|||
|
||||
$ pip uninstall slpkg
|
||||
|
||||
|
||||
|
||||
Command Line Tool Usage
|
||||
-----------------------
|
||||
|
||||
|
@ -82,11 +79,11 @@ https://raw.githubusercontent.com/dslackw/images/master/slpkg/screenshot-1.png
|
|||
|
||||
usage: slpkg [-h] [-v] [-a script [source ...]] [-l all, sbo [all, sbo ...]]
|
||||
[-t] [-n] [-c] [-s] [-i [...]] [-u [...]] [-o [...]]
|
||||
[-r [...]] [-f [...]] [-d [...]]
|
||||
[-r [...]] [-f [...]] [-d [...]]
|
||||
|
||||
Utility to help package management in Slackware
|
||||
|
||||
optional arguments:
|
||||
optional arguments:
|
||||
-h, --help show this help message and exit
|
||||
-v, --verbose print version and exit
|
||||
-a script [source ...]
|
||||
|
@ -95,7 +92,8 @@ https://raw.githubusercontent.com/dslackw/images/master/slpkg/screenshot-1.png
|
|||
list of installed packages
|
||||
-t tracking dependencies
|
||||
-n find from SBo repositority
|
||||
-c check if your package is up to date
|
||||
-c sbo, slack [sbo, slack ...]
|
||||
check if your packages is up to date
|
||||
-s download, build & install pkg from SBo
|
||||
-i [ ...] install binary packages
|
||||
-u [ ...] install-upgrade packages with new
|
||||
|
@ -104,8 +102,6 @@ https://raw.githubusercontent.com/dslackw/images/master/slpkg/screenshot-1.png
|
|||
-f [ ...] find if packages installed
|
||||
-d [ ...] display the contents of the packages
|
||||
|
||||
|
||||
|
||||
Slpkg Examples
|
||||
--------------
|
||||
|
||||
|
@ -115,20 +111,18 @@ https://raw.githubusercontent.com/dslackw/images/master/slpkg/screenshot-1.png
|
|||
.. code-block:: bash
|
||||
|
||||
$ slpkg -s brasero
|
||||
Searching `brasero` from slackbuilds.org ...
|
||||
Searching `libunique` from slackbuilds.org .....
|
||||
Searching `gst1-plugins-bad` from slackbuilds.org ......
|
||||
Searching `gst1-plugins-base` from slackbuilds.org ........
|
||||
Searching `gstreamer1` from slackbuilds.org ....
|
||||
Searching `orc` from slackbuilds.org ....
|
||||
Searching [ brasero ] from slackbuilds.org ...
|
||||
Searching [ libunique ] from slackbuilds.org ...
|
||||
Searching [ gst1-plugins-bad ] from slackbuilds.org ...
|
||||
Searching [ gst1-plugins-base ] from slackbuilds.org ...
|
||||
Searching [ gstreamer1 ] from slackbuilds.org ...
|
||||
Searching [ orc ] from slackbuilds.org ...
|
||||
|
||||
|
||||
+==============================================================================
|
||||
+==============================================================================
|
||||
| Installing new package /tmp/brasero-3.11.3-x86_64-1_SBo.tgz
|
||||
|
||||
+==============================================================================
|
||||
+==============================================================================
|
||||
|
||||
Verifying package brasero-3.11.3-x86_64-1_SBo.tgz.
|
||||
Verifying package brasero-3.11.3-x86_64-1_SBo.tgz.
|
||||
Installing package brasero-3.11.3-x86_64-1_SBo.tgz:
|
||||
PACKAGE DESCRIPTION:
|
||||
# brasero (CD/DVD burning application)
|
||||
|
@ -142,13 +136,14 @@ https://raw.githubusercontent.com/dslackw/images/master/slpkg/screenshot-1.png
|
|||
Executing install script for brasero-3.11.3-x86_64-1_SBo.tgz.
|
||||
Package brasero-3.11.3-x86_64-1_SBo.tgz installed.
|
||||
|
||||
The package `orc` was installed
|
||||
The package `gstreamer1` was installed
|
||||
The package `gst1-plugins-base` was installed
|
||||
The package `gst1-plugins-bad` was installed
|
||||
The package `libunique` was installed
|
||||
The package `brasero` was installed
|
||||
|
||||
+==============================================================================
|
||||
| Package orc installed
|
||||
| Package gstreamer1 installed
|
||||
| Package gst1-plugins-base installed
|
||||
| Package gst1-plugins-bad installed
|
||||
| Package libunique installed
|
||||
| Package brasero installed
|
||||
+==============================================================================
|
||||
|
||||
Tracking all dependencies of packages:
|
||||
|
||||
|
@ -157,85 +152,81 @@ https://raw.githubusercontent.com/dslackw/images/master/slpkg/screenshot-1.png
|
|||
$ slpkg -t brasero
|
||||
|
||||
+=========================
|
||||
| brasero dependencies :
|
||||
| brasero dependencies :
|
||||
+=========================
|
||||
|
|
||||
|
|
||||
-- 1 orc
|
||||
|
|
||||
-- 1 gstreamer1
|
||||
|
|
||||
-- 1 gst1-plugins-base
|
||||
|
|
||||
-- 2 libunique gst1-plugins-bad
|
||||
|
|
||||
|
|
||||
+-- 1 orc
|
||||
|
|
||||
+-- 1 gstreamer1
|
||||
|
|
||||
+-- 1 gst1-plugins-base
|
||||
|
|
||||
+-- 2 libunique gst1-plugins-bad
|
||||
|
||||
|
||||
|
||||
Check if your packages is up to date (www.slackbuilds.org):
|
||||
Check if your packages is up to date from slackbuilds.org:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
|
||||
$ slpkg -c flashplayer-plugin
|
||||
$ slpkg -c sbo flashplayer-plugin
|
||||
Searching `flashplayer-plugin` from slackbuilds.org ...
|
||||
|
||||
New version is available !!!
|
||||
+==================================================
|
||||
| flashplayer-plugin 11.2.202.356
|
||||
+==================================================
|
||||
New version is available:
|
||||
+==============================================================================
|
||||
| Package: flashplayer-plugin 11.2.202.356 --> flashplayer-plugin 11.2.202.394
|
||||
+==============================================================================
|
||||
|
||||
Would you like to install ? [Y/y]
|
||||
|
||||
|
||||
$ slpkg -c ranger
|
||||
$ slpkg -c sbo ranger
|
||||
Searching `ranger` from slackbuilds.org ...
|
||||
|
||||
Your package is up to date
|
||||
|
||||
Package ranger is up to date
|
||||
|
||||
$ slpkg -c termcolor
|
||||
|
||||
The package `termcolor` not found on your system
|
||||
No such package termcolor: Can't find
|
||||
|
||||
|
||||
Find slackbuild from network (www.slackbuilds.org):
|
||||
Check if your distribution is up to date from `Slackware official mirrors
|
||||
<http://mirrors.slackware.com/>`_
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ slpkg -c slack upgrade
|
||||
|
||||
Your system is up to date
|
||||
|
||||
Find slackbuild from slackbuilds.org:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ slpkg -n bitfighter
|
||||
Searching `bitfighter` from slackbuilds.org ...
|
||||
|
||||
|
||||
+=======================================================================================
|
||||
+===============================================================================
|
||||
| The `bitfighter` found in -->
|
||||
http://slackbuilds.org/repository/14.1/games/bitfighter/
|
||||
|
||||
+=======================================================================================
|
||||
+===============================================================================
|
||||
| Download SlackBuild :
|
||||
http://slackbuilds.org/slackbuilds/14.1/games/bitfighter.tar.gz
|
||||
| Source Downloads : http://bitfighter.org/files/bitfighter-019c.tar.gz
|
||||
| Extra Downloads :
|
||||
https://bitfighter.googlecode.com/files/classic_level_pack.zip
|
||||
| Package requirements : OpenAL SDL2 speex libmodplug
|
||||
|
||||
+=======================================================================================
|
||||
README View the README file
|
||||
SlackBuild View the SlackBuild file
|
||||
Info View the Info file
|
||||
Download Download this package
|
||||
Build Download and build this package
|
||||
Install Download/Build/Install
|
||||
+===============================================================================
|
||||
README View the README file
|
||||
SlackBuild View the SlackBuild file
|
||||
Info View the Info file
|
||||
Download Download this package
|
||||
Build Download and build this package
|
||||
Install Download/Build/Install
|
||||
|
||||
_
|
||||
_
|
||||
|
||||
|
||||
Auto build tool to build package:
|
||||
Auto tool to build package:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
|
||||
|
||||
Two files termcolor.tar.gz and termcolor-1.1.0.tar.gz
|
||||
must be in the same directory.
|
||||
|
||||
|
@ -267,8 +258,7 @@ https://bitfighter.googlecode.com/files/classic_level_pack.zip
|
|||
copying build/lib/termcolor.py ->
|
||||
/tmp/SBo/package-termcolor/usr/lib64/python2.7/site-packages
|
||||
byte-compiling
|
||||
/tmp/SBo/package-termcolor/usr/lib64/python2.7/site-packages/termcolor.py to
|
||||
termcolor.pyc
|
||||
/tmp/SBo/package-termcolor/usr/lib64/python2.7/site-packages/termcolor.py to termcolor.pyc
|
||||
running install_egg_info
|
||||
Writing
|
||||
/tmp/SBo/package-termcolor/usr/lib64/python2.7/site-packages/termcolor-1.1.0-py2.7.egg-info
|
||||
|
@ -310,20 +300,15 @@ termcolor.pyc
|
|||
|
||||
Slackware package /tmp/termcolor-1.1.0-x86_64-1_SBo.tgz created.
|
||||
|
||||
Use `slpkg -u` to install - upgrade this package
|
||||
|
||||
|
||||
Upgrade install package:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ slpkg -u /tmp/termcolor-1.1.0-x86_64-1_SBo.tgz
|
||||
|
||||
|
||||
+==============================================================================
|
||||
+==============================================================================
|
||||
| Installing new package ./termcolor-1.1.0-x86_64-1_SBo.tgz
|
||||
|
||||
+==============================================================================
|
||||
+==============================================================================
|
||||
|
||||
Verifying package termcolor-1.1.0-x86_64-1_SBo.tgz.
|
||||
Installing package termcolor-1.1.0-x86_64-1_SBo.tgz:
|
||||
|
@ -336,7 +321,6 @@ termcolor.pyc
|
|||
#
|
||||
Package termcolor-1.1.0-x86_64-1_SBo.tgz installed.
|
||||
|
||||
|
||||
Of course you can install mass-packages:
|
||||
|
||||
.. code-block:: bash
|
||||
|
@ -347,20 +331,17 @@ termcolor.pyc
|
|||
|
||||
$ slpkg -i *.t?z
|
||||
|
||||
|
||||
Find if your packages installed:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ slpkg -f termcolor lua yetris you-get rar pip
|
||||
|
||||
found --> termcolor-1.1.0-x86_64-1_SBo
|
||||
The package `lua` not found
|
||||
found --> yetris-2.0.1-x86_64-1_SBo
|
||||
The package `you-get` not found
|
||||
found --> rar-5.0.1-x86_64-1_SBo
|
||||
found --> pip-1.5.4-x86_64-1_SBo
|
||||
|
||||
[ installed ] - termcolor-1.1.0-x86_64-1_SBo
|
||||
No such package lua: Cant find
|
||||
[ installed ] - yetris-2.0.1-x86_64-1_SBo
|
||||
No such package you-get: Cant find
|
||||
[ installed ] - rar-5.0.1-x86_64-1_SBo
|
||||
[ installed ] - pip-1.5.4-x86_64-1_SBo
|
||||
|
||||
Display the contents of the package:
|
||||
|
||||
|
@ -408,51 +389,49 @@ termcolor.pyc
|
|||
install/
|
||||
install/slack-desc
|
||||
|
||||
The package `lua` not found
|
||||
No such package lua: Cant find
|
||||
|
||||
Remove package:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ slpkg -r termcolor
|
||||
!!! WARNING !!!
|
||||
Are you sure to remove this package(s) [y/n] y
|
||||
|
||||
[ delete ] --> termcolor-1.1.0-x86_64-1_SBo
|
||||
|
||||
Are you sure to remove 1 package(s) [Y/y] y
|
||||
|
||||
Package: termcolor-1.1.0-x86_64-1_SBo
|
||||
Removing...
|
||||
|
||||
Removing package /var/log/packages/termcolor-1.1.0-x86_64-1_SBo...
|
||||
Removing files:
|
||||
--> Deleting /usr/doc/termcolor-1.1.0/CHANGES.rst
|
||||
--> Deleting /usr/doc/termcolor-1.1.0/COPYING.txt
|
||||
--> Deleting /usr/doc/termcolor-1.1.0/PKG-INFO
|
||||
--> Deleting /usr/doc/termcolor-1.1.0/README.rst
|
||||
--> Deleting /usr/doc/termcolor-1.1.0/termcolor.SlackBuild
|
||||
--> Deleting
|
||||
/usr/lib64/python2.7/site-packages/termcolor-1.1.0-py2.7.egg-info
|
||||
--> Deleting /usr/lib64/python2.7/site-packages/termcolor.py
|
||||
--> Deleting /usr/lib64/python2.7/site-packages/termcolor.pyc
|
||||
--> Deleting
|
||||
Removing files:
|
||||
--> Deleting /usr/doc/termcolor-1.1.0/CHANGES.rst
|
||||
--> Deleting /usr/doc/termcolor-1.1.0/COPYING.txt
|
||||
--> Deleting /usr/doc/termcolor-1.1.0/PKG-INFO
|
||||
--> Deleting /usr/doc/termcolor-1.1.0/README.rst
|
||||
--> Deleting /usr/doc/termcolor-1.1.0/termcolor.SlackBuild
|
||||
--> Deleting /usr/lib64/python2.7/site-packages/termcolor-1.1.0-py2.7.egg-info
|
||||
--> Deleting /usr/lib64/python2.7/site-packages/termcolor.py
|
||||
--> Deleting /usr/lib64/python2.7/site-packages/termcolor.pyc
|
||||
--> Deleting
|
||||
/usr/lib64/python3.3/site-packages/__pycache__/termcolor.cpython-33.pyc
|
||||
--> Deleting
|
||||
/usr/lib64/python3.3/site-packages/termcolor-1.1.0-py3.3.egg-info
|
||||
--> Deleting /usr/lib64/python3.3/site-packages/termcolor.py
|
||||
--> Deleting empty directory
|
||||
/usr/lib64/python3.3/site-packages/__pycache__/
|
||||
WARNING: Unique directory /usr/lib64/python3.3/site-packages/ contains new
|
||||
files
|
||||
--> Deleting /usr/lib64/python3.3/site-packages/termcolor-1.1.0-py3.3.egg-info
|
||||
--> Deleting /usr/lib64/python3.3/site-packages/termcolor.py
|
||||
--> Deleting empty directory /usr/lib64/python3.3/site-packages/__pycache__/
|
||||
WARNING: Unique directory /usr/lib64/python3.3/site-packages/ contains new files
|
||||
WARNING: Unique directory /usr/lib64/python3.3/ contains new files
|
||||
--> Deleting empty directory /usr/doc/termcolor-1.1.0/
|
||||
|
||||
The package `termcolor` removed
|
||||
--> Deleting empty directory /usr/doc/termcolor-1.1.0/
|
||||
|
||||
+==============================================================================
|
||||
| Package: termcolor removed
|
||||
+==============================================================================
|
||||
|
||||
$ slpkg -f termcolor lua rar
|
||||
|
||||
The package `termcolor` not found
|
||||
The package `lua` not found
|
||||
found --> rar-5.0.1-x86_64-1_SBo
|
||||
|
||||
No such package termcolor: Cant find
|
||||
No such package lua: Cant find
|
||||
[ installed ] - rar-5.0.1-x86_64-1_SBo
|
||||
|
||||
$ slpkg -v
|
||||
Version: x.x.x
|
||||
|
@ -477,485 +456,3 @@ Classifier: Topic :: Software Development :: Build Tools
|
|||
Classifier: Topic :: System :: Archiving :: Packaging
|
||||
Classifier: Topic :: System :: Software Distribution
|
||||
Classifier: Topic :: Utilities
|
||||
|
||||
Metadata-Version: 1.1
|
||||
Name: slpkg
|
||||
Version: 1.5.7
|
||||
Author: dslackw
|
||||
Author-email: d zlatanidis at gmail com
|
||||
Maintainer: dslackw
|
||||
Maintainer-email: d zlatanidis at gmail com
|
||||
Home-page: http://dslackw.github.io/slpkg/
|
||||
Summary: Utility to help package management in Slackware
|
||||
Description: .. image:: https://badge.fury.io/py/slpkg.png
|
||||
:target: http://badge.fury.io/py/slpkg
|
||||
.. image:: https://pypip.in/d/slpkg/badge.png
|
||||
:target: https://pypi.python.org/pypi/slpkg
|
||||
.. image:: https://pypip.in/license/slpkg/badge.png
|
||||
:target: https://pypi.python.org/pypi/slpkg
|
||||
|
||||
|
||||
Slpkg is a terminal tool in order to easy use Slackware packages.
|
||||
|
||||
|
||||
.. image:: https://raw.githubusercontent.com/dslackw/slpkg/master/logo/slpkg.png
|
||||
:alt: logo
|
||||
|
||||
Features
|
||||
--------
|
||||
- Find and Download packages from slackbuilds.org
|
||||
- Automatic tool build and install packages
|
||||
- Download package with all dependencies
|
||||
- Display the contents of the packages
|
||||
- Install-upgrade Slackware packages
|
||||
- Build and install all in a command
|
||||
- Auto Download and Build packages
|
||||
- Checking for updated packages
|
||||
- List all installed packages
|
||||
- Find installed package
|
||||
- Read SlackBuilds files
|
||||
- Τracking dependencies
|
||||
- Remove packages
|
||||
- No dependencies
|
||||
|
||||
It's a quick and easy way to manage your packages in slackware
|
||||
to a command.
|
||||
|
||||
`[CHANGELOG] <https://github.com/dslackw/slpkg/blob/master/CHANGELOG>`_
|
||||
|
||||
Video Tutorial
|
||||
==============
|
||||
|
||||
.. image::
|
||||
https://raw.githubusercontent.com/dslackw/images/master/slpkg/screenshot-1.png
|
||||
:target: https://asciinema.org/a/10790
|
||||
|
||||
Installation
|
||||
------------
|
||||
|
||||
Using slackware command:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
Download from SlackBuilds http://slackbuilds.org
|
||||
|
||||
or
|
||||
|
||||
using sbopkg tool SBOPKG http://www.sbopkg.org
|
||||
|
||||
Using pip:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ pip install slpkg
|
||||
|
||||
uninstall:
|
||||
|
||||
$ pip uninstall slpkg
|
||||
|
||||
|
||||
|
||||
Command Line Tool Usage
|
||||
-----------------------
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
usage: slpkg [-h] [-v] [-a script [source ...]] [-l all, sbo [all, sbo ...]]
|
||||
[-t] [-n] [-c] [-s] [-i [...]] [-u [...]] [-o [...]]
|
||||
[-r [...]] [-f [...]] [-d [...]]
|
||||
|
||||
Utility to help package management in Slackware
|
||||
|
||||
optional arguments:
|
||||
-h, --help show this help message and exit
|
||||
-v, --verbose print version and exit
|
||||
-a script [source ...]
|
||||
auto build package
|
||||
-l all, sbo [all, sbo ...]
|
||||
list of installed packages
|
||||
-t tracking dependencies
|
||||
-n find from SBo repositority
|
||||
-c check if your package is up to date
|
||||
-s download, build & install pkg from SBo
|
||||
-i [ ...] install binary packages
|
||||
-u [ ...] install-upgrade packages with new
|
||||
-o [ ...] reinstall the same packages
|
||||
-r [ ...] remove packages
|
||||
-f [ ...] find if packages installed
|
||||
-d [ ...] display the contents of the packages
|
||||
|
||||
|
||||
|
||||
Slpkg Examples
|
||||
--------------
|
||||
|
||||
Find package from slackbuilds.org download,
|
||||
build and install with all dependencies :
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ slpkg -s brasero
|
||||
Searching `brasero` from slackbuilds.org ...
|
||||
Searching `libunique` from slackbuilds.org .....
|
||||
Searching `gst1-plugins-bad` from slackbuilds.org ......
|
||||
Searching `gst1-plugins-base` from slackbuilds.org ........
|
||||
Searching `gstreamer1` from slackbuilds.org ....
|
||||
Searching `orc` from slackbuilds.org ....
|
||||
|
||||
|
||||
+==============================================================================
|
||||
| Installing new package /tmp/brasero-3.11.3-x86_64-1_SBo.tgz
|
||||
|
||||
+==============================================================================
|
||||
|
||||
Verifying package brasero-3.11.3-x86_64-1_SBo.tgz.
|
||||
Installing package brasero-3.11.3-x86_64-1_SBo.tgz:
|
||||
PACKAGE DESCRIPTION:
|
||||
# brasero (CD/DVD burning application)
|
||||
#
|
||||
# Brasero is a application to burn CD/DVD for the Gnome Desktop. It is
|
||||
# designed to be as simple as possible and has some unique features to
|
||||
# enable users to create their discs easily and quickly.
|
||||
#
|
||||
# Homepage: http://projects.gnome.org/brasero
|
||||
#
|
||||
Executing install script for brasero-3.11.3-x86_64-1_SBo.tgz.
|
||||
Package brasero-3.11.3-x86_64-1_SBo.tgz installed.
|
||||
|
||||
The package `orc` was installed
|
||||
The package `gstreamer1` was installed
|
||||
The package `gst1-plugins-base` was installed
|
||||
The package `gst1-plugins-bad` was installed
|
||||
The package `libunique` was installed
|
||||
The package `brasero` was installed
|
||||
|
||||
|
||||
Tracking all dependencies of packages:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ slpkg -t brasero
|
||||
|
||||
+=========================
|
||||
| brasero dependencies :
|
||||
+=========================
|
||||
|
|
||||
|
|
||||
-- 1 orc
|
||||
|
|
||||
-- 1 gstreamer1
|
||||
|
|
||||
-- 1 gst1-plugins-base
|
||||
|
|
||||
-- 2 libunique gst1-plugins-bad
|
||||
|
||||
|
||||
|
||||
Check if your packages is up to date (www.slackbuilds.org):
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
|
||||
$ slpkg -c flashplayer-plugin
|
||||
Searching `flashplayer-plugin` from slackbuilds.org ...
|
||||
|
||||
New version is available !!!
|
||||
+==================================================
|
||||
| flashplayer-plugin 11.2.202.356
|
||||
+==================================================
|
||||
|
||||
Would you like to install ? [Y/y]
|
||||
|
||||
|
||||
$ slpkg -c ranger
|
||||
Searching `ranger` from slackbuilds.org ...
|
||||
|
||||
Your package is up to date
|
||||
|
||||
|
||||
$ slpkg -c termcolor
|
||||
|
||||
The package `termcolor` not found on your system
|
||||
|
||||
|
||||
Find slackbuild from network (www.slackbuilds.org):
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
|
||||
$ slpkg -n bitfighter
|
||||
Searching `bitfighter` from slackbuilds.org ...
|
||||
|
||||
|
||||
+=======================================================================================
|
||||
| The `bitfighter` found in -->
|
||||
http://slackbuilds.org/repository/14.1/games/bitfighter/
|
||||
|
||||
+=======================================================================================
|
||||
| Download SlackBuild :
|
||||
http://slackbuilds.org/slackbuilds/14.1/games/bitfighter.tar.gz
|
||||
| Source Downloads : http://bitfighter.org/files/bitfighter-019c.tar.gz
|
||||
| Extra Downloads :
|
||||
https://bitfighter.googlecode.com/files/classic_level_pack.zip
|
||||
| Package requirements : OpenAL SDL2 speex libmodplug
|
||||
|
||||
+=======================================================================================
|
||||
README View the README file
|
||||
SlackBuild View the SlackBuild file
|
||||
Info View the Info file
|
||||
Download Download this package
|
||||
Build Download and build this package
|
||||
Install Download/Build/Install
|
||||
|
||||
_
|
||||
|
||||
|
||||
Auto build tool to build package:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
|
||||
|
||||
Two files termcolor.tar.gz and termcolor-1.1.0.tar.gz
|
||||
must be in the same directory.
|
||||
|
||||
$ slpkg -a termcolor.tar.gz termcolor-1.1.0.tar.gz
|
||||
|
||||
termcolor/
|
||||
termcolor/slack-desc
|
||||
termcolor/termcolor.info
|
||||
termcolor/README
|
||||
termcolor/termcolor.SlackBuild
|
||||
termcolor-1.1.0/
|
||||
termcolor-1.1.0/CHANGES.rst
|
||||
termcolor-1.1.0/COPYING.txt
|
||||
termcolor-1.1.0/README.rst
|
||||
termcolor-1.1.0/setup.py
|
||||
termcolor-1.1.0/termcolor.py
|
||||
termcolor-1.1.0/PKG-INFO
|
||||
running install
|
||||
running build
|
||||
running build_py
|
||||
creating build
|
||||
creating build/lib
|
||||
copying termcolor.py -> build/lib
|
||||
running install_lib
|
||||
creating /tmp/SBo/package-termcolor/usr
|
||||
creating /tmp/SBo/package-termcolor/usr/lib64
|
||||
creating /tmp/SBo/package-termcolor/usr/lib64/python2.7
|
||||
creating /tmp/SBo/package-termcolor/usr/lib64/python2.7/site-packages
|
||||
copying build/lib/termcolor.py ->
|
||||
/tmp/SBo/package-termcolor/usr/lib64/python2.7/site-packages
|
||||
byte-compiling
|
||||
/tmp/SBo/package-termcolor/usr/lib64/python2.7/site-packages/termcolor.py to
|
||||
termcolor.pyc
|
||||
running install_egg_info
|
||||
Writing
|
||||
/tmp/SBo/package-termcolor/usr/lib64/python2.7/site-packages/termcolor-1.1.0-py2.7.egg-info
|
||||
|
||||
Slackware package maker, version 3.14159.
|
||||
|
||||
Searching for symbolic links:
|
||||
|
||||
No symbolic links were found, so we won't make an installation script.
|
||||
You can make your own later in ./install/doinst.sh and rebuild the
|
||||
package if you like.
|
||||
|
||||
This next step is optional - you can set the directories in your package
|
||||
to some sane permissions. If any of the directories in your package have
|
||||
special permissions, then DO NOT reset them here!
|
||||
|
||||
Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
|
||||
directory ownerships to root.root ([y]es, [n]o)? n
|
||||
|
||||
Creating Slackware package: /tmp/termcolor-1.1.0-x86_64-1_SBo.tgz
|
||||
|
||||
./
|
||||
usr/
|
||||
usr/lib64/
|
||||
usr/lib64/python2.7/
|
||||
usr/lib64/python2.7/site-packages/
|
||||
usr/lib64/python2.7/site-packages/termcolor.py
|
||||
usr/lib64/python2.7/site-packages/termcolor.pyc
|
||||
usr/lib64/python2.7/site-packages/termcolor-1.1.0-py2.7.egg-info
|
||||
usr/doc/
|
||||
usr/doc/termcolor-1.1.0/
|
||||
usr/doc/termcolor-1.1.0/termcolor.SlackBuild
|
||||
usr/doc/termcolor-1.1.0/README.rst
|
||||
usr/doc/termcolor-1.1.0/CHANGES.rst
|
||||
usr/doc/termcolor-1.1.0/PKG-INFO
|
||||
usr/doc/termcolor-1.1.0/COPYING.txt
|
||||
install/
|
||||
install/slack-desc
|
||||
|
||||
Slackware package /tmp/termcolor-1.1.0-x86_64-1_SBo.tgz created.
|
||||
|
||||
Use `slpkg -u` to install - upgrade this package
|
||||
|
||||
|
||||
Upgrade install package:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ slpkg -u /tmp/termcolor-1.1.0-x86_64-1_SBo.tgz
|
||||
|
||||
|
||||
+==============================================================================
|
||||
| Installing new package ./termcolor-1.1.0-x86_64-1_SBo.tgz
|
||||
|
||||
+==============================================================================
|
||||
|
||||
Verifying package termcolor-1.1.0-x86_64-1_SBo.tgz.
|
||||
Installing package termcolor-1.1.0-x86_64-1_SBo.tgz:
|
||||
PACKAGE DESCRIPTION:
|
||||
# termcolor (ANSII Color formatting for output in terminal)
|
||||
#
|
||||
# termcolor allows you to format your output in terminal.
|
||||
#
|
||||
# Project URL: https://pypi.python.org/pypi/termcolor
|
||||
#
|
||||
Package termcolor-1.1.0-x86_64-1_SBo.tgz installed.
|
||||
|
||||
|
||||
Of course you can install mass-packages:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ slpkg -u *.t?z
|
||||
|
||||
or
|
||||
|
||||
$ slpkg -i *.t?z
|
||||
|
||||
|
||||
Find if your packages installed:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ slpkg -f termcolor lua yetris you-get rar pip
|
||||
|
||||
found --> termcolor-1.1.0-x86_64-1_SBo
|
||||
The package `lua` not found
|
||||
found --> yetris-2.0.1-x86_64-1_SBo
|
||||
The package `you-get` not found
|
||||
found --> rar-5.0.1-x86_64-1_SBo
|
||||
found --> pip-1.5.4-x86_64-1_SBo
|
||||
|
||||
|
||||
Display the contents of the package:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ slpkg -d termcolor lua
|
||||
|
||||
PACKAGE NAME: termcolor-1.1.0-x86_64-1_SBo
|
||||
COMPRESSED PACKAGE SIZE: 8.0K
|
||||
UNCOMPRESSED PACKAGE SIZE: 60K
|
||||
PACKAGE LOCATION: ./termcolor-1.1.0-x86_64-1_SBo.tgz
|
||||
PACKAGE DESCRIPTION:
|
||||
termcolor: termcolor (ANSII Color formatting for output in terminal)
|
||||
termcolor:
|
||||
termcolor: termcolor allows you to format your output in terminal.
|
||||
termcolor:
|
||||
termcolor:
|
||||
termcolor: Project URL: https://pypi.python.org/pypi/termcolor
|
||||
termcolor:
|
||||
termcolor:
|
||||
termcolor:
|
||||
termcolor:
|
||||
FILE LIST:
|
||||
./
|
||||
usr/
|
||||
usr/lib64/
|
||||
usr/lib64/python2.7/
|
||||
usr/lib64/python2.7/site-packages/
|
||||
usr/lib64/python2.7/site-packages/termcolor.py
|
||||
usr/lib64/python2.7/site-packages/termcolor.pyc
|
||||
usr/lib64/python2.7/site-packages/termcolor-1.1.0-py2.7.egg-info
|
||||
usr/lib64/python3.3/
|
||||
usr/lib64/python3.3/site-packages/
|
||||
usr/lib64/python3.3/site-packages/termcolor-1.1.0-py3.3.egg-info
|
||||
usr/lib64/python3.3/site-packages/__pycache__/
|
||||
usr/lib64/python3.3/site-packages/__pycache__/termcolor.cpython-33.pyc
|
||||
usr/lib64/python3.3/site-packages/termcolor.py
|
||||
usr/doc/
|
||||
usr/doc/termcolor-1.1.0/
|
||||
usr/doc/termcolor-1.1.0/termcolor.SlackBuild
|
||||
usr/doc/termcolor-1.1.0/README.rst
|
||||
usr/doc/termcolor-1.1.0/CHANGES.rst
|
||||
usr/doc/termcolor-1.1.0/PKG-INFO
|
||||
usr/doc/termcolor-1.1.0/COPYING.txt
|
||||
install/
|
||||
install/slack-desc
|
||||
|
||||
The package `lua` not found
|
||||
|
||||
Remove package:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ slpkg -r termcolor
|
||||
!!! WARNING !!!
|
||||
Are you sure to remove this package(s) [y/n] y
|
||||
|
||||
Package: termcolor-1.1.0-x86_64-1_SBo
|
||||
Removing...
|
||||
|
||||
Removing package /var/log/packages/termcolor-1.1.0-x86_64-1_SBo...
|
||||
Removing files:
|
||||
--> Deleting /usr/doc/termcolor-1.1.0/CHANGES.rst
|
||||
--> Deleting /usr/doc/termcolor-1.1.0/COPYING.txt
|
||||
--> Deleting /usr/doc/termcolor-1.1.0/PKG-INFO
|
||||
--> Deleting /usr/doc/termcolor-1.1.0/README.rst
|
||||
--> Deleting /usr/doc/termcolor-1.1.0/termcolor.SlackBuild
|
||||
--> Deleting
|
||||
/usr/lib64/python2.7/site-packages/termcolor-1.1.0-py2.7.egg-info
|
||||
--> Deleting /usr/lib64/python2.7/site-packages/termcolor.py
|
||||
--> Deleting /usr/lib64/python2.7/site-packages/termcolor.pyc
|
||||
--> Deleting
|
||||
/usr/lib64/python3.3/site-packages/__pycache__/termcolor.cpython-33.pyc
|
||||
--> Deleting
|
||||
/usr/lib64/python3.3/site-packages/termcolor-1.1.0-py3.3.egg-info
|
||||
--> Deleting /usr/lib64/python3.3/site-packages/termcolor.py
|
||||
--> Deleting empty directory
|
||||
/usr/lib64/python3.3/site-packages/__pycache__/
|
||||
WARNING: Unique directory /usr/lib64/python3.3/site-packages/ contains new
|
||||
files
|
||||
WARNING: Unique directory /usr/lib64/python3.3/ contains new files
|
||||
--> Deleting empty directory /usr/doc/termcolor-1.1.0/
|
||||
|
||||
The package `termcolor` removed
|
||||
|
||||
|
||||
$ slpkg -f termcolor lua rar
|
||||
|
||||
The package `termcolor` not found
|
||||
The package `lua` not found
|
||||
found --> rar-5.0.1-x86_64-1_SBo
|
||||
|
||||
|
||||
$ slpkg -v
|
||||
Version: x.x.x
|
||||
Licence: GNU General Public License v3 (GPLv3)
|
||||
Email: d.zlatanidis@gmail.com
|
||||
|
||||
Man page it is available for full support:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
$ man slpkg
|
||||
Classifier: Development Status :: 5 - Production/Stable
|
||||
Classifier: Environment :: Console
|
||||
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
||||
Classifier: Operating System :: POSIX :: Linux
|
||||
Classifier: Operating System :: Unix
|
||||
Classifier: Programming Language :: Python
|
||||
Classifier: Programming Language :: Python :: 2
|
||||
Classifier: Programming Language :: Python :: 2.7
|
||||
Classifier: Programming Language :: Unix Shell
|
||||
Classifier: Topic :: Software Development :: Build Tools
|
||||
Classifier: Topic :: System :: Archiving :: Packaging
|
||||
Classifier: Topic :: System :: Software Distribution
|
||||
Classifier: Topic :: Utilities
|
||||
|
||||
|
||||
|
|
|
@ -177,7 +177,7 @@ Check if your packages is up to date from slackbuilds.org:
|
|||
|
||||
No such package termcolor: Can't find
|
||||
|
||||
Check if your packages is up to date from `Slackware official mirrors <http://mirrors.slackware.com/>`_
|
||||
Check if your distribution is up to date from `Slackware official mirrors <http://mirrors.slackware.com/>`_
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
|
@ -324,7 +324,7 @@ Find if your packages installed:
|
|||
[ installed ] - yetris-2.0.1-x86_64-1_SBo
|
||||
No such package you-get: Cant find
|
||||
[ installed ] - rar-5.0.1-x86_64-1_SBo
|
||||
[ installed ] - pip-1.5.4-x86_64-1_SBo
|
||||
[ installed ] - pip-1.5.4-x86_64-1_SBo
|
||||
|
||||
Display the contents of the package:
|
||||
|
||||
|
|
|
@ -1,6 +1,9 @@
|
|||
#!/usr/bin/python
|
||||
# -*- coding: utf-8 -*-
|
||||
|
||||
# Slpkg is a terminal tool in order to easy use
|
||||
# Slackware packages
|
||||
|
||||
from slpkg import main
|
||||
|
||||
if __name__ == "__main__":
|
||||
|
|
|
@ -5,7 +5,7 @@ import os
|
|||
|
||||
__prog__ = "slpkg"
|
||||
__author__ = "dslackw"
|
||||
__version_info__ = (1, 6, 2)
|
||||
__version_info__ = (1, 6, 3)
|
||||
__version__ = "{0}.{1}.{2}".format(*__version_info__)
|
||||
__license__ = "GNU General Public License v3 (GPLv3)"
|
||||
__email__ = "d.zlatanidis@gmail.com"
|
||||
|
|
|
@ -28,22 +28,17 @@ optional arguments:
|
|||
-d [ ...] display the contents of the packages
|
||||
'''
|
||||
|
||||
|
||||
import argparse
|
||||
|
||||
from version import *
|
||||
from functions import *
|
||||
from colors import colors
|
||||
from messages import err_args
|
||||
|
||||
from pkg.build import *
|
||||
from pkg.manager import *
|
||||
|
||||
from sbo.slackbuild import *
|
||||
from sbo.dependency import *
|
||||
from sbo.check import sbo_check
|
||||
from sbo.views import sbo_network
|
||||
|
||||
from slack.patches import patches
|
||||
|
||||
def main():
|
||||
|
@ -101,6 +96,8 @@ def main():
|
|||
patches()
|
||||
else:
|
||||
print ("\nError: invalid option choose { upgrade }\n")
|
||||
else:
|
||||
print ("\nError: invalid option choose { sbo, slack }\n")
|
||||
else:
|
||||
err_args(bol='\n', eol='\n')
|
||||
if args.s:
|
||||
|
|
|
@ -5,11 +5,9 @@ import os
|
|||
import sys
|
||||
import getpass
|
||||
import subprocess
|
||||
|
||||
from slpkg.colors import colors
|
||||
from slpkg.__metadata__ import pkg_path, uname, arch, sp
|
||||
from slpkg.messages import pkg_not_found, s_user, template
|
||||
|
||||
from find import find_package
|
||||
|
||||
def pkg_install(binary):
|
||||
|
|
|
@ -3,17 +3,14 @@
|
|||
|
||||
import os
|
||||
import getpass
|
||||
|
||||
from slpkg.pkg.build import *
|
||||
from slpkg.pkg.find import find_package
|
||||
from slpkg.pkg.manager import pkg_upgrade
|
||||
|
||||
from slpkg.colors import colors
|
||||
from slpkg.functions import get_file
|
||||
from slpkg.messages import pkg_not_found, s_user, template
|
||||
from slpkg.__metadata__ import tmp, pkg_path, uname, arch, sp
|
||||
from slpkg.__metadata__ import sbo_arch, sbo_tag, sbo_filetype
|
||||
|
||||
from search import sbo_search_pkg
|
||||
from download import sbo_slackbuild_dwn
|
||||
from greps import sbo_source_dwn, sbo_extra_dwn, sbo_version_pkg
|
||||
|
@ -40,7 +37,7 @@ def sbo_check(name):
|
|||
extra_dwn = " ".join(sbo_extra_dwn(sbo_url, name))
|
||||
sbo_file = sbo_file[len(name) + 1:-len(arch) - 7]
|
||||
if sbo_version > sbo_file:
|
||||
print ("\nNew version is available:")
|
||||
print ("\n{0}New version is available:{1}".format(colors.YELLOW, colors.ENDC))
|
||||
template(78)
|
||||
print ("| Package: {0} {1} --> {2} {3}".format(
|
||||
name, sbo_file, name, sbo_version))
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
from slpkg.colors import colors
|
||||
from slpkg.messages import pkg_not_found, template
|
||||
|
||||
from greps import *
|
||||
from search import sbo_search_pkg
|
||||
from download import sbo_slackbuild_dwn
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
import os
|
||||
|
||||
from slpkg.url_read import url_read
|
||||
from slpkg.__metadata__ import uname, arch
|
||||
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
|
||||
import os
|
||||
import getpass
|
||||
|
||||
from slpkg.messages import s_user
|
||||
from slpkg.url_read import url_read
|
||||
|
||||
|
|
|
@ -3,11 +3,9 @@
|
|||
|
||||
import re
|
||||
import sys
|
||||
|
||||
from slpkg.colors import colors
|
||||
from slpkg.url_read import url_read
|
||||
from slpkg.functions import get_file
|
||||
|
||||
from slpkg.slack.slack_version import slack_ver
|
||||
|
||||
def sbo_search_pkg(name):
|
||||
|
|
|
@ -4,13 +4,11 @@
|
|||
import os
|
||||
import sys
|
||||
import getpass
|
||||
|
||||
from slpkg.colors import colors
|
||||
from slpkg.functions import get_file
|
||||
from slpkg.__metadata__ import tmp, pkg_path, sp
|
||||
from slpkg.__metadata__ import sbo_arch, sbo_tag, sbo_filetype
|
||||
from slpkg.messages import s_user, pkg_found, pkg_installed, template
|
||||
|
||||
from slpkg.pkg.build import *
|
||||
from slpkg.pkg.find import find_package
|
||||
from slpkg.pkg.manager import pkg_upgrade
|
||||
|
|
|
@ -3,14 +3,12 @@
|
|||
|
||||
from slpkg.colors import colors
|
||||
from slpkg.functions import get_file
|
||||
from slpkg.__metadata__ import tmp, pkg_path, slpkg_path
|
||||
from slpkg.__metadata__ import tmp, pkg_path, slpkg_path, sp
|
||||
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 slpkg.pkg.build import *
|
||||
from slpkg.pkg.find import find_package
|
||||
from slpkg.pkg.manager import pkg_upgrade
|
||||
|
||||
from read import *
|
||||
from greps import *
|
||||
from search import sbo_search_pkg
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from slpkg.__metadata__ import arch
|
||||
|
||||
from slack_version import slack_ver
|
||||
|
||||
def mirrors(name, location):
|
||||
|
|
|
@ -2,14 +2,11 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
import os
|
||||
|
||||
from slpkg.colors import colors
|
||||
from slpkg.url_read import url_read
|
||||
from slpkg.__metadata__ import pkg_path, slpkg_path
|
||||
|
||||
from slpkg.pkg.find import find_package
|
||||
from slpkg.pkg.manager import pkg_upgrade
|
||||
|
||||
from mirrors import mirrors
|
||||
|
||||
def patches():
|
||||
|
|
Loading…
Add table
Reference in a new issue