aboutsummaryrefslogtreecommitdiff
path: root/development/pyenchant
diff options
context:
space:
mode:
authorDimitris Zlatanidis <d.zlatanidis@gmail.com>2024-05-14 19:48:11 +0300
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-05-18 06:55:37 +0700
commit52840ec9f130dcf1486be29ce73c3aa50c974f4c (patch)
treedd068de4e005a6fe4c14d9213c435fadb51104cb /development/pyenchant
parent8deafd902b143dab609046660393ff62a3a472ba (diff)
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>
Diffstat (limited to 'development/pyenchant')
-rw-r--r--development/pyenchant/pyenchant.SlackBuild11
-rw-r--r--development/pyenchant/pyenchant.info6
2 files changed, 6 insertions, 11 deletions
diff --git a/development/pyenchant/pyenchant.SlackBuild b/development/pyenchant/pyenchant.SlackBuild
index dba3f6aead96e..d60643623562e 100644
--- a/development/pyenchant/pyenchant.SlackBuild
+++ b/development/pyenchant/pyenchant.SlackBuild
@@ -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
diff --git a/development/pyenchant/pyenchant.info b/development/pyenchant/pyenchant.info
index 013b0571d5a09..7af71555e390f 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=""