diff options
Diffstat (limited to 'python/py-pycodestyle')
| -rw-r--r-- | python/py-pycodestyle/.footprint | 15 | ||||
| -rw-r--r-- | python/py-pycodestyle/.signature | 6 | ||||
| -rw-r--r-- | python/py-pycodestyle/MAKEPKG | 39 |
3 files changed, 60 insertions, 0 deletions
diff --git a/python/py-pycodestyle/.footprint b/python/py-pycodestyle/.footprint new file mode 100644 index 0000000..c4611df --- /dev/null +++ b/python/py-pycodestyle/.footprint @@ -0,0 +1,15 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/pycodestyle +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/ +-rw-r--r-- root/root usr/lib/python3.14/site-packages/pycodestyle.py +drwxr-xr-x root/root usr/lib/python3.14/site-packages/pycodestyle-2.15.0.dist-info/ +-rw-r--r-- root/root usr/lib/python3.14/site-packages/pycodestyle-2.15.0.dist-info/METADATA +-rw-r--r-- root/root usr/lib/python3.14/site-packages/pycodestyle-2.15.0.dist-info/RECORD +-rw-r--r-- root/root usr/lib/python3.14/site-packages/pycodestyle-2.15.0.dist-info/WHEEL +-rw-r--r-- root/root usr/lib/python3.14/site-packages/pycodestyle-2.15.0.dist-info/entry_points.txt +-rw-r--r-- root/root usr/lib/python3.14/site-packages/pycodestyle-2.15.0.dist-info/top_level.txt +drwxr-xr-x root/root usr/lib/python3.14/site-packages/pycodestyle-2.15.0.dist-info/licenses/ +-rw-r--r-- root/root usr/lib/python3.14/site-packages/pycodestyle-2.15.0.dist-info/licenses/LICENSE diff --git a/python/py-pycodestyle/.signature b/python/py-pycodestyle/.signature new file mode 100644 index 0000000..9b9be20 --- /dev/null +++ b/python/py-pycodestyle/.signature @@ -0,0 +1,6 @@ +RWTZ9IduCSQ/mHqfX4Tlo0JunuG+gkVf/4Pe5+mJQD51qJSwpAlZEw01PwCzC4mTTSuKfGHaUJmXq7pPAYFYcxupQ7U1QzXDlQ0= + +SHA256 (MAKEPKG) = 157a0ff4796bd15f85b66c912c6a501676f0a8fb8f67ef6c3e3bfe8346b298a9 +SHA256 (.footprint) = 6e970289b63e16dc06284af79b7043448394d9757a28e9df4b7aa8bbf7456d4d +SHA256 (pycodestyle-2.15.0.tar.gz) = 318f5db083869b4c4dad922d0b11124fb27ab181b6730b93371da671e31bd50e +SHA256 (py-pycodestyle#2.15.0-2.pkg.tar.gz) = 1e3f8fbb38db762fcd159ce8c061143a48e6fff698f754f036088f9b4cd0f13c diff --git a/python/py-pycodestyle/MAKEPKG b/python/py-pycodestyle/MAKEPKG new file mode 100644 index 0000000..4302444 --- /dev/null +++ b/python/py-pycodestyle/MAKEPKG @@ -0,0 +1,39 @@ +#!/bin/mkpkg +# description: Python style guide checker +# url: https://pycodestyle.pycqa.org/ + +name=py-pycodestyle +_name=pycodestyle +version=2.15.0 +release=2 +depends=(python3) +makedeps=(py-installer py-setuptools py-build py-wheel) +source=(https://files.pythonhosted.org/packages/source/p/pycodestyle/$_name-$version.tar.gz) + +sha256sums=( + "318f5db083869b4c4dad922d0b11124fb27ab181b6730b93371da671e31bd50e" +) + +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 + |
