python/python3-jaraco.context: Updated for version 4.1.2.

Signed-off-by: bedlam <dave@slackbuilds.org>
This commit is contained in:
fourtysixandtwo 2022-09-12 22:27:24 +01:00 committed by bedlam
parent c781e216ee
commit d6748a253b
2 changed files with 10 additions and 6 deletions

View File

@ -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

View File

@ -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"