aboutsummaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorfourtysixandtwo <fourtysixandtwo@sliderr.net>2022-09-12 22:27:24 +0100
committerbedlam <dave@slackbuilds.org>2022-09-12 22:27:24 +0100
commitd6748a253bdce71516584f75a2872106830cc0b5 (patch)
treea1d34c989f13d61e83faed2f39c7883e114c867f /python
parentc781e216ee12f05242433cd3e841a9fe3af8c28c (diff)
python/python3-jaraco.context: Updated for version 4.1.2.
Signed-off-by: bedlam <dave@slackbuilds.org>
Diffstat (limited to 'python')
-rw-r--r--python/python3-jaraco.context/python3-jaraco.context.SlackBuild8
-rw-r--r--python/python3-jaraco.context/python3-jaraco.context.info8
2 files changed, 10 insertions, 6 deletions
diff --git a/python/python3-jaraco.context/python3-jaraco.context.SlackBuild b/python/python3-jaraco.context/python3-jaraco.context.SlackBuild
index 3b526b1d5ef07..a47396c085f66 100644
--- a/python/python3-jaraco.context/python3-jaraco.context.SlackBuild
+++ b/python/python3-jaraco.context/python3-jaraco.context.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.context
SRCNAM=$(echo $PRGNAM | sed "s/python3-//")
-VERSION=${VERSION:-4.1.1}
+VERSION=${VERSION:-4.1.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
diff --git a/python/python3-jaraco.context/python3-jaraco.context.info b/python/python3-jaraco.context/python3-jaraco.context.info
index 491eda450a0a0..da12500ecb8a9 100644
--- a/python/python3-jaraco.context/python3-jaraco.context.info
+++ b/python/python3-jaraco.context/python3-jaraco.context.info
@@ -1,10 +1,10 @@
PRGNAM="python3-jaraco.context"
-VERSION="4.1.1"
+VERSION="4.1.2"
HOMEPAGE="https://github.com/jaraco/jaraco.context"
-DOWNLOAD="https://files.pythonhosted.org/packages/source/j/jaraco.context/jaraco.context-4.1.1.tar.gz"
-MD5SUM="51074d95c2c58342f779bc6fc977ca34"
+DOWNLOAD="https://files.pythonhosted.org/packages/source/j/jaraco.context/jaraco.context-4.1.2.tar.gz"
+MD5SUM="82cb02f561ab5afe4f7c9e07574aef57"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES=""
+REQUIRES="python3-build python3-installer wheel"
MAINTAINER="fourtysixandtwo"
EMAIL="fourtysixandtwo@sliderr.net"