diff options
author | Isaac Yu <isaacyu1@isaacyu1.com> | 2022-02-03 12:00:09 -0800 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-02-06 13:29:08 +0700 |
commit | 1b5d29f6c13082ea309eeca5784c9724354d9165 (patch) | |
tree | 05faa7cd2fd7630b3e058da6590e56b3f8957b7a /python | |
parent | cd223de98e16bcc6dae5de6a14b3917dc9d8755f (diff) |
python/cairocffi: Update for 1.3.0 (+new maintainer)
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r-- | python/cairocffi/README | 2 | ||||
-rw-r--r-- | python/cairocffi/cairocffi.SlackBuild | 8 | ||||
-rw-r--r-- | python/cairocffi/cairocffi.info | 12 |
3 files changed, 11 insertions, 11 deletions
diff --git a/python/cairocffi/README b/python/cairocffi/README index 73c7201dd7cc..6e534abde9aa 100644 --- a/python/cairocffi/README +++ b/python/cairocffi/README @@ -4,4 +4,4 @@ Cairo is a 2D vector graphics library with support for multiple backends including image buffers, PNG, PostScript, PDF, and SVG file output. API compatible with Pycairo. -python-xcffib is an optional dependency. +python3-xcffib is an optional dependency. diff --git a/python/cairocffi/cairocffi.SlackBuild b/python/cairocffi/cairocffi.SlackBuild index 079ffc3c8f0f..ffc08db367f5 100644 --- a/python/cairocffi/cairocffi.SlackBuild +++ b/python/cairocffi/cairocffi.SlackBuild @@ -2,7 +2,8 @@ # Slackware build script for cairocffi -# Copyright 2015-2019 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2015-2019 Dimitris Zlatanidis Orestiada, Greece +# Copyright 2022 Isaac Yu <isaacyu1@isaacyu1.com> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=cairocffi -VERSION=${VERSION:-0.9.0} # v0.9.0 is the last version that support python2 +VERSION=${VERSION:-1.3.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -79,14 +80,13 @@ 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 {} \; -python2 setup.py install --root=$PKG python3 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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a CHANGES LICENSE README.rst $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE PKG-INFO README.rst $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/cairocffi/cairocffi.info b/python/cairocffi/cairocffi.info index 577e95cd6eaf..106ec2916109 100644 --- a/python/cairocffi/cairocffi.info +++ b/python/cairocffi/cairocffi.info @@ -1,10 +1,10 @@ PRGNAM="cairocffi" -VERSION="0.9.0" +VERSION="1.3.0" HOMEPAGE="https://github.com/SimonSapin/cairocffi" -DOWNLOAD="https://files.pythonhosted.org/packages/62/be/ad4d422b6f38d99b09ad6d046ab725e8ccac5fefd9ca256ca35a80dbf3c6/cairocffi-0.9.0.tar.gz" -MD5SUM="6022aadfba3b1316a1fdd57adf1e7392" +DOWNLOAD="https://files.pythonhosted.org/packages/8b/d2/137b346d64f0d6428a90f60b51a06706592a86b74fd21ff66c853537cb9b/cairocffi-1.3.0.tar.gz" +MD5SUM="346f996fc58fb4566c5ea5694dc1b325" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="cffi" -MAINTAINER="Dimitris Zlatanidis" -EMAIL="d.zlatanidis@gmail.com" +REQUIRES="" +MAINTAINER="Isaac Yu" +EMAIL="isaacyu1@isaacyu1.com" |