diff --git a/python/python-tabulate/slack-desc b/python/python-tabulate/slack-desc deleted file mode 100644 index cf3b7db34d..0000000000 --- a/python/python-tabulate/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-tabulate: python-tabulate (Pretty-print tabular data) -python-tabulate: -python-tabulate: Pretty-print tabular data in Python, a library and a command-line -python-tabulate: utillity. -python-tabulate: -python-tabulate: Homepage: https://bitbucket.org/astanin/python-tabulate -python-tabulate: -python-tabulate: -python-tabulate: -python-tabulate: -python-tabulate: diff --git a/python/python-tabulate/README b/python/python2-tabulate/README similarity index 85% rename from python/python-tabulate/README rename to python/python2-tabulate/README index 6fda5101d1..c26990f261 100644 --- a/python/python-tabulate/README +++ b/python/python2-tabulate/README @@ -1 +1,2 @@ -Pretty-print tabular data in Python, a library and a command-line utility. +Pretty-print tabular data in Python, a library and a command-line +utility. diff --git a/python/python-tabulate/doinst.sh b/python/python2-tabulate/doinst.sh similarity index 100% rename from python/python-tabulate/doinst.sh rename to python/python2-tabulate/doinst.sh diff --git a/python/python-tabulate/python-tabulate.SlackBuild b/python/python2-tabulate/python2-tabulate.SlackBuild similarity index 96% rename from python/python-tabulate/python-tabulate.SlackBuild rename to python/python2-tabulate/python2-tabulate.SlackBuild index 66302d504f..13092b39e6 100644 --- a/python/python-tabulate/python-tabulate.SlackBuild +++ b/python/python2-tabulate/python2-tabulate.SlackBuild @@ -22,8 +22,8 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -PRGNAM=python-tabulate -SRCNAM=$(echo $PRGNAM | cut -c8-15) +PRGNAM=python2-tabulate +SRCNAM=$(echo $PRGNAM | cut -d- -f2) VERSION=${VERSION:-0.7.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -70,7 +70,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-tabulate/python-tabulate.info b/python/python2-tabulate/python2-tabulate.info similarity index 92% rename from python/python-tabulate/python-tabulate.info rename to python/python2-tabulate/python2-tabulate.info index 8a39eda50f..901a83d041 100644 --- a/python/python-tabulate/python-tabulate.info +++ b/python/python2-tabulate/python2-tabulate.info @@ -1,4 +1,4 @@ -PRGNAM="python-tabulate" +PRGNAM="python2-tabulate" VERSION="0.7.5" HOMEPAGE="https://bitbucket.org/astanin/python-tabulate" DOWNLOAD="https://pypi.python.org/packages/source/t/tabulate/tabulate-0.7.5.tar.gz" diff --git a/python/python2-tabulate/slack-desc b/python/python2-tabulate/slack-desc new file mode 100644 index 0000000000..b3ff18fe42 --- /dev/null +++ b/python/python2-tabulate/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-tabulate: python2-tabulate (Pretty-print tabular data) +python2-tabulate: +python2-tabulate: Pretty-print tabular data in Python, a library and a command-line +python2-tabulate: utillity. +python2-tabulate: +python2-tabulate: Homepage: https://bitbucket.org/astanin/python2-tabulate +python2-tabulate: +python2-tabulate: +python2-tabulate: +python2-tabulate: +python2-tabulate: