diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2022-09-12 22:31:40 +0100 |
---|---|---|
committer | bedlam <dave@slackbuilds.org> | 2022-09-12 22:31:40 +0100 |
commit | 15a7e2f87402a3bbdd80968282f765f18dc95a03 (patch) | |
tree | 1fc4c57dd518124fafcb72d86b2784264aa5aeb2 | |
parent | ed99f972e7c36484e0045c6c5e69ea05e76967dc (diff) | |
download | slackbuilds-15a7e2f87402a3bbdd80968282f765f18dc95a03.tar.gz |
python/python3-tempora: Updated for version 5.0.2.
Signed-off-by: bedlam <dave@slackbuilds.org>
-rw-r--r-- | python/python3-tempora/python3-tempora.SlackBuild | 12 | ||||
-rw-r--r-- | python/python3-tempora/python3-tempora.info | 6 |
2 files changed, 13 insertions, 5 deletions
diff --git a/python/python3-tempora/python3-tempora.SlackBuild b/python/python3-tempora/python3-tempora.SlackBuild index 581eb46951..01b90a776a 100644 --- a/python/python3-tempora/python3-tempora.SlackBuild +++ b/python/python3-tempora/python3-tempora.SlackBuild @@ -22,11 +22,14 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20220908 46and2: Updated version. +# -build process changed + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-tempora SRCNAM=$(echo $PRGNAM | sed "s/python3-//") -VERSION=${VERSION:-4.1.2} +VERSION=${VERSION:-5.0.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -80,7 +83,12 @@ 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 {} \; -python3 setup.py install --root=$PKG +python3 -m build --no-isolation +python3 -m installer -d "$PKG" dist/*.whl + +# installing tests to a subdir of your project might not conflict the toplevel, but +# don't do it anyway... +rm -r "$PKG"/usr/lib${LIBDIRSUFFIX}/python*/site-packages/${SRCNAM}/tests/ 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 diff --git a/python/python3-tempora/python3-tempora.info b/python/python3-tempora/python3-tempora.info index 6519fe99c0..acb1cd2b63 100644 --- a/python/python3-tempora/python3-tempora.info +++ b/python/python3-tempora/python3-tempora.info @@ -1,8 +1,8 @@ PRGNAM="python3-tempora" -VERSION="4.1.2" +VERSION="5.0.2" HOMEPAGE="https://github.com/jaraco/tempora" -DOWNLOAD="https://files.pythonhosted.org/packages/source/t/tempora/tempora-4.1.2.tar.gz" -MD5SUM="623b57f82e904297a957c401d230c335" +DOWNLOAD="https://files.pythonhosted.org/packages/source/t/tempora/tempora-5.0.2.tar.gz" +MD5SUM="24b77c173a7e89084004a38fe44e3ce3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="python3-jaraco.functools pytz" |