mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-20 19:41:34 +01:00
development/pyenchant: Updated for version 3.2.2.
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
8deafd902b
commit
52840ec9f1
2 changed files with 6 additions and 11 deletions
|
@ -3,7 +3,7 @@
|
|||
# Slackware build script for pyenchant
|
||||
|
||||
# Written by vvoody <ydoovv@gmail.com>
|
||||
# Copyright 2016-2017 Dimitris Zlatanidis Orestiada, Greece
|
||||
# Copyright 2016-2024 Dimitris Zlatanidis Orestiada, Greece
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -26,7 +26,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=pyenchant
|
||||
VERSION=${VERSION:-2.0.0}
|
||||
VERSION=${VERSION:-3.2.2}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -63,15 +63,10 @@ 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 {} \+
|
||||
|
||||
# 20220215 bkw: our library is called libenchant-2.so, which setup.py
|
||||
# isn't expecting.
|
||||
sed -i '/find_library/s,"enchant","enchant-2",' enchant/_enchant.py
|
||||
|
||||
python setup.py install --root=$PKG
|
||||
python3 setup.py install --root=$PKG
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a LICENSE.txt README.txt $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a LICENSE.txt README.rst $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="pyenchant"
|
||||
VERSION="2.0.0"
|
||||
VERSION="3.2.2"
|
||||
HOMEPAGE="https://github.com/rfk/pyenchant"
|
||||
DOWNLOAD="https://pypi.python.org/packages/9e/54/04d88a59efa33fefb88133ceb638cdf754319030c28aadc5a379d82140ed/pyenchant-2.0.0.tar.gz"
|
||||
MD5SUM="c224ea53e119b04116d5301e5027051c"
|
||||
DOWNLOAD="https://files.pythonhosted.org/packages/b1/a3/86763b6350727ca81c8fcc5bb5bccee416e902e0085dc7a902c81233717e/pyenchant-3.2.2.tar.gz"
|
||||
MD5SUM="15d45b7517c80cfa5d9fa636a88e0bf9"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue