diff options
| author | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
|---|---|---|
| committer | rawnix ports <ports@rawnix.org> | 2026-09-26 18:19:05 +0000 |
| commit | c82e88dd00d1b0b7fcfb4e5628d99611388cef6f (patch) | |
| tree | 56d864b5a5c6c145edd96178ae219a8f90e191a6 /python/py-pipx/MAKEPKG | |
| download | ports-c82e88dd00d1b0b7fcfb4e5628d99611388cef6f.tar.gz | |
sync 2026-09-26 18:19 UTC
1672 files changed, 151396 insertions(+)
Diffstat (limited to 'python/py-pipx/MAKEPKG')
| -rw-r--r-- | python/py-pipx/MAKEPKG | 34 |
1 files changed, 34 insertions, 0 deletions
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 + |
