aboutsummaryrefslogtreecommitdiff
path: root/python/python3-ufolib2
diff options
context:
space:
mode:
authorVijay Marcel <vijaymarcel@outlook.com>2024-08-22 20:37:16 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-08-22 22:29:12 +0700
commit011c6573bd738770f5c8029c25620815846a2791 (patch)
tree5e12a20e5db601c6952da4cf11c1340e6e9fc229 /python/python3-ufolib2
parentfcc357ff7fe8701bfaaaba7e1b33f9103f6e619b (diff)
python/python3-ufolib2: Update dep.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-ufolib2')
-rw-r--r--python/python3-ufolib2/README3
-rw-r--r--python/python3-ufolib2/changelog5
-rw-r--r--python/python3-ufolib2/python3-ufolib2.SlackBuild11
3 files changed, 11 insertions, 8 deletions
diff --git a/python/python3-ufolib2/README b/python/python3-ufolib2/README
index 18e4e594ab..76017b5e59 100644
--- a/python/python3-ufolib2/README
+++ b/python/python3-ufolib2/README
@@ -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.
diff --git a/python/python3-ufolib2/changelog b/python/python3-ufolib2/changelog
index 0debe87152..622f34fe85 100644
--- a/python/python3-ufolib2/changelog
+++ b/python/python3-ufolib2/changelog
@@ -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.
diff --git a/python/python3-ufolib2/python3-ufolib2.SlackBuild b/python/python3-ufolib2/python3-ufolib2.SlackBuild
index d1b9a5e46b..f494b11bde 100644
--- a/python/python3-ufolib2/python3-ufolib2.SlackBuild
+++ b/python/python3-ufolib2/python3-ufolib2.SlackBuild
@@ -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 {} \+