python/python3-ufolib2: Update dep.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
fcc357ff7f
commit
011c6573bd
|
@ -4,3 +4,6 @@ programmatic manipulation and fast batch processing og UFOs.
|
|||
It resembles the defcon library but does so without the
|
||||
notification,the layout engine and other support classes. Where
|
||||
useful and possible it tries to be API compatible with defcon.
|
||||
|
||||
|
||||
Sphinx is an optional dependency for document generation.
|
||||
|
|
|
@ -12,3 +12,8 @@ Downgrading to version 0.13.1.
|
|||
25/02/2024:
|
||||
|
||||
Upgraded to version 0.16.0
|
||||
|
||||
21/08/2024:
|
||||
|
||||
Sphinx is now an optional dependency
|
||||
Bump the build no.
|
||||
|
|
|
@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
|
|||
|
||||
PRGNAM=python3-ufolib2
|
||||
VERSION=${VERSION:-0.16.0}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
SRCNAM=${SRCNAM:-ufoLib2}
|
||||
|
@ -82,17 +82,12 @@ find -L . \
|
|||
python3 -m build --wheel --no-isolation
|
||||
PYTHONPYCACHEPREFIX="${PWD}/.cache/cpython/" python3 -m installer --destdir="$PKG" dist/*.whl
|
||||
|
||||
cd docs
|
||||
mkdir -pv build
|
||||
sphinx-build -M singlehtml source build
|
||||
cd ..
|
||||
|
||||
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
|
||||
| cut -f 1 -d : | xargs strip --strip-unneeded --remove-section=.comment --remove-section=.note 2> /dev/null || true
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a LICENSE README.md $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a docs/build/singlehtml $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
#cp -a docs/build/singlehtml $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \+
|
||||
|
||||
|
|
Loading…
Reference in New Issue