mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
python/pysed: Updated for version 0.6.2.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
parent
e5c4592d4b
commit
371776a9a6
4 changed files with 16 additions and 8 deletions
|
@ -1,5 +1,5 @@
|
|||
Pysed is a Python stream editor, is used to perform basic
|
||||
text transformations from a file. It reads text, line by
|
||||
line, from a file and replace, insert or print all text or
|
||||
specific area. One of the elements of distinction is the
|
||||
use of colors.
|
||||
specific area. Actually pysed is a passage of Python module
|
||||
‘re’ in terminal.
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
# Slackware build script for pysed
|
||||
|
||||
# Copyright 2014 Dimitris Zlatanidis Greece-Orestiada
|
||||
# Copyright 2014 Dimitris Zlatanidis Orestiada, Greece
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -23,7 +23,7 @@
|
|||
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
PRGNAM=pysed
|
||||
VERSION=${VERSION:-0.3.1}
|
||||
VERSION=${VERSION:-0.6.2}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
|
@ -69,11 +69,19 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
# avoid install man page over setup.py
|
||||
sed -i 's/if "install"/if ""/' setup.py
|
||||
|
||||
python setup.py install --root=$PKG
|
||||
|
||||
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
|
||||
# install man page
|
||||
mkdir -p $PKG/usr/man/man1
|
||||
gzip -9 man/$PRGNAM.1
|
||||
install -D -m0644 man/$PRGNAM.1.gz $PKG/usr/man/man1/$PRGNAM.1.gz
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a README.rst CHANGELOG LICENSE $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="pysed"
|
||||
VERSION="0.3.1"
|
||||
VERSION="0.6.2"
|
||||
HOMEPAGE="https://github.com/dslackw/pysed"
|
||||
DOWNLOAD="https://github.com/dslackw/pysed/archive/v0.3.1.tar.gz"
|
||||
MD5SUM="168a3aeb674205adb51e848b29414fb1"
|
||||
DOWNLOAD="https://github.com/dslackw/pysed/archive/v0.6.2.tar.gz"
|
||||
MD5SUM="54248417a90487383bd77e700c722427"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
|
@ -11,7 +11,7 @@ pysed:
|
|||
pysed: Pysed is a Python stream editor, is used to perform basic text
|
||||
pysed: ransformations from a file. It reads text, line by line, from
|
||||
pysed: a file and replace, insert or print all text or specific area.
|
||||
pysed: One of the elements of distinction is the use of colors.
|
||||
pysed: Actually pysed is a passage of Python module ‘re’ in terminal.
|
||||
pysed:
|
||||
pysed: Homepage: https://github.com/dslackw/pysed
|
||||
pysed:
|
||||
|
|
Loading…
Reference in a new issue