diff options
Diffstat (limited to 'python/py-userpath')
| -rw-r--r-- | python/py-userpath/.footprint | 21 | ||||
| -rw-r--r-- | python/py-userpath/.signature | 6 | ||||
| -rw-r--r-- | python/py-userpath/MAKEPKG | 39 |
3 files changed, 66 insertions, 0 deletions
diff --git a/python/py-userpath/.footprint b/python/py-userpath/.footprint new file mode 100644 index 0000000..5e12043 --- /dev/null +++ b/python/py-userpath/.footprint @@ -0,0 +1,21 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/userpath +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/python3.14/ +drwxr-xr-x root/root usr/lib/python3.14/site-packages/ +drwxr-xr-x root/root usr/lib/python3.14/site-packages/userpath-1.9.2.dist-info/ +-rw-r--r-- root/root usr/lib/python3.14/site-packages/userpath-1.9.2.dist-info/METADATA +-rw-r--r-- root/root usr/lib/python3.14/site-packages/userpath-1.9.2.dist-info/RECORD +-rw-r--r-- root/root usr/lib/python3.14/site-packages/userpath-1.9.2.dist-info/WHEEL +-rw-r--r-- root/root usr/lib/python3.14/site-packages/userpath-1.9.2.dist-info/entry_points.txt +drwxr-xr-x root/root usr/lib/python3.14/site-packages/userpath-1.9.2.dist-info/licenses/ +-rw-r--r-- root/root usr/lib/python3.14/site-packages/userpath-1.9.2.dist-info/licenses/LICENSE.txt +drwxr-xr-x root/root usr/lib/python3.14/site-packages/userpath/ +-rw-r--r-- root/root usr/lib/python3.14/site-packages/userpath/__init__.py +-rw-r--r-- root/root usr/lib/python3.14/site-packages/userpath/__main__.py +-rw-r--r-- root/root usr/lib/python3.14/site-packages/userpath/cli.py +-rw-r--r-- root/root usr/lib/python3.14/site-packages/userpath/core.py +-rw-r--r-- root/root usr/lib/python3.14/site-packages/userpath/interface.py +-rw-r--r-- root/root usr/lib/python3.14/site-packages/userpath/shells.py +-rw-r--r-- root/root usr/lib/python3.14/site-packages/userpath/utils.py diff --git a/python/py-userpath/.signature b/python/py-userpath/.signature new file mode 100644 index 0000000..50f8e34 --- /dev/null +++ b/python/py-userpath/.signature @@ -0,0 +1,6 @@ +RWTZ9IduCSQ/mJDqI/9wan9alQKtWpqbgDC/9YOHvlhjgBGS5DxKZkH5zdDJDrV1esImKHQfLmct6XYuDnS3UTy9/RVyxaPnBgc= + +SHA256 (MAKEPKG) = b280d4fbc8767daec1d778f2a6109aa86fe313a3c16c7dff05a460008a7c1e0c +SHA256 (.footprint) = 211be9584a6f83f5f8a241e447c8095419b5e4abc8d029601579b3b434b3e64c +SHA256 (userpath-1.9.2.tar.gz) = 6c52288dab069257cc831846d15d48133522455d4677ee69a9781f11dbefd815 +SHA256 (py-userpath#1.9.2-3.pkg.tar.gz) = 16f1aab715fa458411c14e265f15e8d6c2b3a7f62367c871f80d0fa72229ad26 diff --git a/python/py-userpath/MAKEPKG b/python/py-userpath/MAKEPKG new file mode 100644 index 0000000..d5a7e7f --- /dev/null +++ b/python/py-userpath/MAKEPKG @@ -0,0 +1,39 @@ +#!/bin/mkpkg +# description: Cross-platform tool for adding locations to the user PATH +# url: https://github.com/ofek/userpath + +name=py-userpath +_name=userpath +version=1.9.2 +release=3 +depends=(python3 py-click) +makedeps=(py-installer py-hatchling py-build) +source=(https://files.pythonhosted.org/packages/source/u/userpath/$_name-$version.tar.gz) + +sha256sums=( + "6c52288dab069257cc831846d15d48133522455d4677ee69a9781f11dbefd815" +) + +build() { + cd $_name-$version + + # Build wheel via PEP 517 frontend (backend from pyproject.toml) + /usr/bin/python3 -m build --no-isolation --wheel + + _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 dist/*.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 + |
