diff options
author | Dave Woodfall <dave@slackbuilds.org> | 2021-05-14 21:34:44 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2021-05-19 18:40:03 +0700 |
commit | c8ba3352dd90b4ddc3b4a563a7ad6754cd64ec20 (patch) | |
tree | d3d1170af137c6c458062a1dfe690c64c1266264 /python | |
parent | 44e40f5d189425cff717a56f9d5b638d000a94cc (diff) |
python/python-tvrage: Renamed python2-tvrage.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/python-tvrage/slack-desc | 19 | ||||
-rw-r--r-- | python/python2-tvrage/README (renamed from python/python-tvrage/README) | 0 | ||||
-rw-r--r-- | python/python2-tvrage/python2-tvrage.SlackBuild (renamed from python/python-tvrage/python-tvrage.SlackBuild) | 11 | ||||
-rw-r--r-- | python/python2-tvrage/python2-tvrage.info (renamed from python/python-tvrage/python-tvrage.info) | 2 | ||||
-rw-r--r-- | python/python2-tvrage/slack-desc | 19 |
5 files changed, 26 insertions, 25 deletions
diff --git a/python/python-tvrage/slack-desc b/python/python-tvrage/slack-desc deleted file mode 100644 index f6acfedf90bba..0000000000000 --- a/python/python-tvrage/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-tvrage: python-tvrage (client interface for tvrage.com) -python-tvrage: -python-tvrage: python-tvrage is a client interface for tvrage.com's -python-tvrage: XML-based api feeds. -python-tvrage: -python-tvrage: Homepage: https://github.com/ckreutzer/python-tvrage -python-tvrage: -python-tvrage: -python-tvrage: -python-tvrage: -python-tvrage: diff --git a/python/python-tvrage/README b/python/python2-tvrage/README index f2c0f9ea95b2a..f2c0f9ea95b2a 100644 --- a/python/python-tvrage/README +++ b/python/python2-tvrage/README diff --git a/python/python-tvrage/python-tvrage.SlackBuild b/python/python2-tvrage/python2-tvrage.SlackBuild index 6624c357cf743..0d6cbeefc851c 100644 --- a/python/python-tvrage/python-tvrage.SlackBuild +++ b/python/python2-tvrage/python2-tvrage.SlackBuild @@ -22,7 +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-tvrage +PRGNAM=python2-tvrage +SRCNAM=python-tvrage VERSION=${VERSION:-0.4.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -59,9 +60,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz -cd $PRGNAM-$VERSION +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz || tar xvf $CWD/$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 \ @@ -69,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-tvrage/python-tvrage.info b/python/python2-tvrage/python2-tvrage.info index 264a2676b2bd1..7b8a647c43c54 100644 --- a/python/python-tvrage/python-tvrage.info +++ b/python/python2-tvrage/python2-tvrage.info @@ -1,4 +1,4 @@ -PRGNAM="python-tvrage" +PRGNAM="python2-tvrage" VERSION="0.4.1" HOMEPAGE="https://github.com/ckreutzer/python-tvrage" DOWNLOAD="https://github.com/ckreutzer/python-tvrage/archive/0.4.1.tar.gz" diff --git a/python/python2-tvrage/slack-desc b/python/python2-tvrage/slack-desc new file mode 100644 index 0000000000000..7c2b783c771fe --- /dev/null +++ b/python/python2-tvrage/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-tvrage: python2-tvrage (client interface for tvrage.com) +python2-tvrage: +python2-tvrage: python2-tvrage is a client interface for tvrage.com's +python2-tvrage: XML-based api feeds. +python2-tvrage: +python2-tvrage: Homepage: https://github.com/ckreutzer/python-tvrage +python2-tvrage: +python2-tvrage: +python2-tvrage: +python2-tvrage: +python2-tvrage: |