diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2022-11-04 00:26:36 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-11-05 21:15:05 +0700 |
commit | 7a419614426967085c12d3f4c4e9459c01047d30 (patch) | |
tree | bced87506dead0f94589f4d61ce771e100814386 /libraries/pylast/pylast.SlackBuild | |
parent | 545118a60b65d667477a25689e4578b5c364e2f7 (diff) | |
download | slackbuilds-7a419614426967085c12d3f4c4e9459c01047d30.tar.gz slackbuilds-7a419614426967085c12d3f4c4e9459c01047d30.tar.xz |
libraries/pylast: Updated for version 5.1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/pylast/pylast.SlackBuild')
-rw-r--r-- | libraries/pylast/pylast.SlackBuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libraries/pylast/pylast.SlackBuild b/libraries/pylast/pylast.SlackBuild index eb84e72c74..0654eee836 100644 --- a/libraries/pylast/pylast.SlackBuild +++ b/libraries/pylast/pylast.SlackBuild @@ -23,10 +23,12 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20221029 46and2: Updated version, build process changed. + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pylast -VERSION=${VERSION:-5.0.0} +VERSION=${VERSION:-5.1.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -80,7 +82,8 @@ 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 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 |