mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
python/cairocffi: Update for 1.3.0 (+new maintainer)
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
cd223de98e
commit
1b5d29f6c1
3 changed files with 11 additions and 11 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue