python/python3-pdfminer.six: Fix version mistmatch.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
fourtysixandtwo 2024-11-11 12:09:08 -07:00 committed by Willy Sudiarto Raharjo
parent a9b1bbf399
commit 2750b43ebc
No known key found for this signature in database
GPG key ID: 3F617144D7238786
2 changed files with 5 additions and 5 deletions

View file

@ -60,9 +60,9 @@ cd ${PRGNAM:8}-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
-o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
sed -i "s/__VERSION__/$VERSION/" pdfminer/__init__.py
@ -72,7 +72,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a *.md samples $PKG/usr/doc/$PRGNAM-$VERSION
cp -a LICENSE PKG-INFO *.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install

View file

@ -1,8 +1,8 @@
PRGNAM="python3-pdfminer.six"
VERSION="20240706"
HOMEPAGE="https://github.com/pdfminer/pdfminer.six"
DOWNLOAD="https://github.com/pdfminer/pdfminer.six/archive/20240706/pdfminer.six-20240706.tar.gz"
MD5SUM="7b6e98471239dde4bbdfb910b13ffa05"
DOWNLOAD="https://files.pythonhosted.org/packages/source/p/pdfminer.six/pdfminer.six-20240706.tar.gz"
MD5SUM="641d740d555f04a17f0df1090200a2e6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="cryptography python3-setuptools-git-versioning"