diff options
author | fourtysixandtwo <fourtysixandtwo@sliderr.net> | 2022-09-12 22:28:41 +0100 |
---|---|---|
committer | bedlam <dave@slackbuilds.org> | 2022-09-12 22:28:41 +0100 |
commit | 8821a87e56f3333fa70e84a5d1c85486f0543adf (patch) | |
tree | 8ca6e6b9e031545947f0716773d67d80d87ef4d4 /python/python3-jaraco.classes/python3-jaraco.classes.SlackBuild | |
parent | d6748a253bdce71516584f75a2872106830cc0b5 (diff) |
python/python3-jaraco.classes: Updated for version 3.2.2.
Signed-off-by: bedlam <dave@slackbuilds.org>
Diffstat (limited to 'python/python3-jaraco.classes/python3-jaraco.classes.SlackBuild')
-rw-r--r-- | python/python3-jaraco.classes/python3-jaraco.classes.SlackBuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/python/python3-jaraco.classes/python3-jaraco.classes.SlackBuild b/python/python3-jaraco.classes/python3-jaraco.classes.SlackBuild index f51af55d3f..c92534412c 100644 --- a/python/python3-jaraco.classes/python3-jaraco.classes.SlackBuild +++ b/python/python3-jaraco.classes/python3-jaraco.classes.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, added DEPS. +# -build process changed + cd $(dirname $0) ; CWD=$(pwd) PRGNAM=python3-jaraco.classes SRCNAM=$(echo $PRGNAM | sed "s/python3-//") -VERSION=${VERSION:-3.2.1} +VERSION=${VERSION:-3.2.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -80,7 +83,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 |