From c82e88dd00d1b0b7fcfb4e5628d99611388cef6f Mon Sep 17 00:00:00 2001 From: rawnix ports Date: Sat, 26 Sep 2026 18:19:05 +0000 Subject: sync 2026-09-26 18:19 UTC 1672 files changed, 151396 insertions(+) --- python/py-pipx/MAKEPKG | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 python/py-pipx/MAKEPKG (limited to 'python/py-pipx/MAKEPKG') diff --git a/python/py-pipx/MAKEPKG b/python/py-pipx/MAKEPKG new file mode 100644 index 0000000..b7fbaf9 --- /dev/null +++ b/python/py-pipx/MAKEPKG @@ -0,0 +1,34 @@ +#!/bin/mkpkg +# description: Install and Run Python Applications in Isolated Environments +# url: https://pipx.pypa.io + +name=py-pipx +_name=pipx +version=1.17.6 +release=3 +depends=(python3 py-userpath py-packaging py-argcomplete py-filelock py-platformdirs) +makedeps=(py-installer) +source=(https://files.pythonhosted.org/packages/da/ed/f2a072f3798b5280dc741d45ec12df5fdcc1638f8bcead29f2e509100328/pipx-1.17.6-py3-none-any.whl) + +sha256sums=( + "7d069f69e9deef702082a188fedfdc3868fc62d9348ea94fccebe36af5c9eaa0" +) + +build() { + _pyver=$(/usr/bin/python3 -c 'import sys; print(f"{sys.version_info.major}.{sys.version_info.minor}")') + _sitedir="$PKG/usr/lib/python${_pyver}/site-packages" + + install -dm755 "$_sitedir" + /usr/bin/python3 -m installer --no-compile-bytecode --destdir "$PKG" --prefix /usr $_name-$version-py3-none-any.whl + + find "$_sitedir" -type d \( -name tests -o -name test \) -prune -exec rm -rf {} + + find "$_sitedir" -name "*.exe" -delete +} + +signify() { + untrusted comment: public key + RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3 +} + +# vim: filetype=sh + -- cgit v1.3.1