diff options
author | Arn0 <yth@ythogtha.org> | 2023-11-08 08:59:04 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2023-11-11 08:08:32 +0700 |
commit | 5b2787f08313c9920d909418738c59e5552aad4f (patch) | |
tree | 327d259669f44e7e770d899b40af7eb0f678c99b /python/python3-formencode | |
parent | 536e259322daa8a9cf722ec4f06e288f8ba755a9 (diff) |
python/python3-formencode: Updated for version 2.1.0.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'python/python3-formencode')
-rw-r--r-- | python/python3-formencode/python3-formencode.SlackBuild | 15 | ||||
-rw-r--r-- | python/python3-formencode/python3-formencode.info | 6 |
2 files changed, 13 insertions, 8 deletions
diff --git a/python/python3-formencode/python3-formencode.SlackBuild b/python/python3-formencode/python3-formencode.SlackBuild index f88f44c6d6ef1..2134545296eb3 100644 --- a/python/python3-formencode/python3-formencode.SlackBuild +++ b/python/python3-formencode/python3-formencode.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-formencode SRCNAM=FormEncode -VERSION=${VERSION:-2.0.1} +VERSION=${VERSION:-2.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -66,11 +66,16 @@ find -L . \ -exec chmod 644 {} \; python3 setup.py install --root=$PKG -./regen-docs || true +sh ./regen-docs || NODOC=1 -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/html -cp -a docs/_build/* $PKG/usr/doc/$PRGNAM-$VERSION/html || \ - cp -a docs $PKG/usr/doc/$PRGNAM-$VERSION +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/ +if [ -z "$NODOC" ]; then + cp -a docs/_build $PKG/usr/doc/$PRGNAM-$VERSION/html +else + cp -a docs $PKG/usr/doc/$PRGNAM-$VERSION + rmdir --ignore-fail-on-non-empty $PKG/usr/doc/$PRGNAM-$VERSION/docs/_build + rm $PKG/usr/doc/$PRGNAM-$VERSION/docs/make.bat +fi cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/python/python3-formencode/python3-formencode.info b/python/python3-formencode/python3-formencode.info index 59f47704f9e8f..e2b3697bda0d4 100644 --- a/python/python3-formencode/python3-formencode.info +++ b/python/python3-formencode/python3-formencode.info @@ -1,8 +1,8 @@ PRGNAM="python3-formencode" -VERSION="2.0.1" +VERSION="2.1.0" HOMEPAGE="http://FormEncode.org/" -DOWNLOAD="https://pypi.python.org/packages/source/F/FormEncode/FormEncode-2.0.1.tar.gz" -MD5SUM="65a9ba7220890c3d26904bdafe3a5a35" +DOWNLOAD="https://pypi.python.org/packages/source/F/FormEncode/FormEncode-2.1.0.tar.gz" +MD5SUM="088ba6620c6ff9133ee95874e2eb8a88" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-setuptools_scm_git_archive" |