python/pycdio: Updated for version 0.21.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Alexander Verbovetsky 2020-04-17 12:15:07 +07:00 committed by Willy Sudiarto Raharjo
parent 190daf740a
commit 3237796726
No known key found for this signature in database
GPG Key ID: 887B8374D7333381
3 changed files with 14 additions and 12 deletions

View File

@ -3,6 +3,7 @@
# Slackware build script for pycdio
# Copyright 2015 Dugan Chen Canada
# Copyright 2020, Alexander Verbovetsky, Moscow, Russia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -23,13 +24,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=pycdio
VERSION=${VERSION:-0.20}
VERSION=${VERSION:-0.21}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@ -40,8 +41,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@ -75,7 +76,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a example/ ChangeLog COPYING README.txt THANKS $PKG/usr/doc/$PRGNAM-$VERSION
cp -a example/ AUTHORS ChangeLog NEWS README.txt THANKS \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View File

@ -1,10 +1,10 @@
PRGNAM="pycdio"
VERSION="0.20"
HOMEPAGE="http://www.gnu.org/software/libcdio/"
DOWNLOAD="ftp://ftp.gnu.org/pub/gnu/libcdio/pycdio-0.20.tar.gz"
MD5SUM="3f075574f661f49f4ede89aff9ff0cda"
VERSION="0.21"
HOMEPAGE="https://www.gnu.org/software/libcdio/"
DOWNLOAD="https://pypi.io/packages/source/p/pycdio/pycdio-0.21.tar.gz"
MD5SUM="82b703cb93db88002da67aae34cd5f77"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Dugan Chen"
EMAIL="theodogster [at] gmail [dot] com"
MAINTAINER="Alexander Verbovetsky"
EMAIL="alik@ejik.org"

View File

@ -11,7 +11,7 @@ pycdio:
pycdio: pycdio is a Python interface to libcdio, the CD input and control
pycdio: library.
pycdio:
pycdio:
pycdio: Homepage: https://www.gnu.org/software/libcdio/
pycdio:
pycdio:
pycdio: