diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/python-djvulibre/slack-desc | 19 | ||||
-rw-r--r-- | python/python2-djvulibre/README (renamed from python/python-djvulibre/README) | 0 | ||||
-rw-r--r-- | python/python2-djvulibre/python2-djvulibre.SlackBuild (renamed from python/python-djvulibre/python-djvulibre.SlackBuild) | 11 | ||||
-rw-r--r-- | python/python2-djvulibre/python2-djvulibre.info (renamed from python/python-djvulibre/python-djvulibre.info) | 2 | ||||
-rw-r--r-- | python/python2-djvulibre/slack-desc | 19 |
5 files changed, 26 insertions, 25 deletions
diff --git a/python/python-djvulibre/slack-desc b/python/python-djvulibre/slack-desc deleted file mode 100644 index ea2fc0662e9f7..0000000000000 --- a/python/python-djvulibre/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -python-djvulibre: python-djvulibre (python bindings for djvulibre) -python-djvulibre: -python-djvulibre: python-djvulibre is a set of Python bindings for the DjVuLibre -python-djvulibre: library, an open source implementation of DjVu. -python-djvulibre: -python-djvulibre: -python-djvulibre: -python-djvulibre: -python-djvulibre: -python-djvulibre: -python-djvulibre: diff --git a/python/python-djvulibre/README b/python/python2-djvulibre/README index 7b10cf0e565e2..7b10cf0e565e2 100644 --- a/python/python-djvulibre/README +++ b/python/python2-djvulibre/README diff --git a/python/python-djvulibre/python-djvulibre.SlackBuild b/python/python2-djvulibre/python2-djvulibre.SlackBuild index 0b236b1abd5b9..a76117a7d6adf 100644 --- a/python/python-djvulibre/python-djvulibre.SlackBuild +++ b/python/python2-djvulibre/python2-djvulibre.SlackBuild @@ -6,7 +6,8 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. -PRGNAM=python-djvulibre +PRGNAM=python2-djvulibre +SRCNAM=python-djvulibre VERSION=${VERSION:-0.8.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -36,9 +37,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz -cd $PRGNAM-$VERSION +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -46,7 +47,7 @@ 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 {} \; -python setup.py install --root=$PKG +python2 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 diff --git a/python/python-djvulibre/python-djvulibre.info b/python/python2-djvulibre/python2-djvulibre.info index 93c20f528c4e9..6419a3eb8852f 100644 --- a/python/python-djvulibre/python-djvulibre.info +++ b/python/python2-djvulibre/python2-djvulibre.info @@ -1,4 +1,4 @@ -PRGNAM="python-djvulibre" +PRGNAM="python2-djvulibre" VERSION="0.8.5" HOMEPAGE="http://jwilk.net/software/python-djvulibre" DOWNLOAD="https://github.com/jwilk/python-djvulibre/archive/0.8.5/python-djvulibre-0.8.5.tar.gz" diff --git a/python/python2-djvulibre/slack-desc b/python/python2-djvulibre/slack-desc new file mode 100644 index 0000000000000..94ce2f3b794a9 --- /dev/null +++ b/python/python2-djvulibre/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. +# Line up the first '|' above the ':' following the base package name, and +# the '|' on the right side marks the last column you can put a character in. +# You must make exactly 11 lines for the formatting to be correct. It's also +# customary to leave one space after the ':' except on otherwise blank lines. + + |-----handy-ruler------------------------------------------------------| +python2-djvulibre: python2-djvulibre (python bindings for djvulibre) +python2-djvulibre: +python2-djvulibre: python2-djvulibre is a set of Python bindings for the DjVuLibre +python2-djvulibre: library, an open source implementation of DjVu. +python2-djvulibre: +python2-djvulibre: +python2-djvulibre: +python2-djvulibre: +python2-djvulibre: +python2-djvulibre: +python2-djvulibre: |