From 52840ec9f130dcf1486be29ce73c3aa50c974f4c Mon Sep 17 00:00:00 2001 From: Dimitris Zlatanidis Date: Tue, 14 May 2024 19:48:11 +0300 Subject: [PATCH] development/pyenchant: Updated for version 3.2.2. Signed-off-by: Dimitris Zlatanidis Signed-off-by: Willy Sudiarto Raharjo --- development/pyenchant/pyenchant.SlackBuild | 11 +++-------- development/pyenchant/pyenchant.info | 6 +++--- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/development/pyenchant/pyenchant.SlackBuild b/development/pyenchant/pyenchant.SlackBuild index dba3f6aead..d606436235 100644 --- a/development/pyenchant/pyenchant.SlackBuild +++ b/development/pyenchant/pyenchant.SlackBuild @@ -3,7 +3,7 @@ # Slackware build script for pyenchant # Written by vvoody -# 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 diff --git a/development/pyenchant/pyenchant.info b/development/pyenchant/pyenchant.info index 013b0571d5..7af71555e3 100644 --- a/development/pyenchant/pyenchant.info +++ b/development/pyenchant/pyenchant.info @@ -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=""