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 /python/python3-tempora/python3-tempora.SlackBuild | |
parent | ed99f972e7c36484e0045c6c5e69ea05e76967dc (diff) | |
download | slackbuilds-15a7e2f87402a3bbdd80968282f765f18dc95a03.tar.gz slackbuilds-15a7e2f87402a3bbdd80968282f765f18dc95a03.tar.xz |
python/python3-tempora: Updated for version 5.0.2.
Signed-off-by: bedlam <dave@slackbuilds.org>
Diffstat (limited to 'python/python3-tempora/python3-tempora.SlackBuild')
-rw-r--r-- | python/python3-tempora/python3-tempora.SlackBuild | 12 |
1 files changed, 10 insertions, 2 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 |