summaryrefslogtreecommitdiff
path: root/python/py-propcache
diff options
context:
space:
mode:
Diffstat (limited to 'python/py-propcache')
-rw-r--r--python/py-propcache/.footprint24
-rw-r--r--python/py-propcache/.signature6
-rw-r--r--python/py-propcache/MAKEPKG38
3 files changed, 68 insertions, 0 deletions
diff --git a/python/py-propcache/.footprint b/python/py-propcache/.footprint
new file mode 100644
index 0000000..0015c01
--- /dev/null
+++ b/python/py-propcache/.footprint
@@ -0,0 +1,24 @@
+drwxr-xr-x root/root usr/
+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/propcache-0.5.4.dist-info/
+-rw-r--r-- root/root usr/lib/python3.14/site-packages/propcache-0.5.4.dist-info/METADATA
+-rw-r--r-- root/root usr/lib/python3.14/site-packages/propcache-0.5.4.dist-info/RECORD
+-rw-r--r-- root/root usr/lib/python3.14/site-packages/propcache-0.5.4.dist-info/WHEEL
+-rw-r--r-- root/root usr/lib/python3.14/site-packages/propcache-0.5.4.dist-info/top_level.txt
+drwxr-xr-x root/root usr/lib/python3.14/site-packages/propcache-0.5.4.dist-info/licenses/
+-rw-r--r-- root/root usr/lib/python3.14/site-packages/propcache-0.5.4.dist-info/licenses/LICENSE
+-rw-r--r-- root/root usr/lib/python3.14/site-packages/propcache-0.5.4.dist-info/licenses/NOTICE
+drwxr-xr-x root/root usr/lib/python3.14/site-packages/propcache/
+-rw-r--r-- root/root usr/lib/python3.14/site-packages/propcache/__init__.py
+-rw-r--r-- root/root usr/lib/python3.14/site-packages/propcache/__init__.pyc
+-rw-r--r-- root/root usr/lib/python3.14/site-packages/propcache/_helpers.py
+-rw-r--r-- root/root usr/lib/python3.14/site-packages/propcache/_helpers.pyc
+-rwxr-xr-x root/root usr/lib/python3.14/site-packages/propcache/_helpers_c.cpython-314-x86_64-linux-musl.so
+-rw-r--r-- root/root usr/lib/python3.14/site-packages/propcache/_helpers_c.pyx
+-rw-r--r-- root/root usr/lib/python3.14/site-packages/propcache/_helpers_py.py
+-rw-r--r-- root/root usr/lib/python3.14/site-packages/propcache/_helpers_py.pyc
+-rw-r--r-- root/root usr/lib/python3.14/site-packages/propcache/api.py
+-rw-r--r-- root/root usr/lib/python3.14/site-packages/propcache/api.pyc
+-rw-r--r-- root/root usr/lib/python3.14/site-packages/propcache/py.typed
diff --git a/python/py-propcache/.signature b/python/py-propcache/.signature
new file mode 100644
index 0000000..21ccc60
--- /dev/null
+++ b/python/py-propcache/.signature
@@ -0,0 +1,6 @@
+RWTZ9IduCSQ/mJKrmm8DB1wKp/6HX5q3hRVp6D1O6IRbKDEz6EiKiBXPeZ6svRF83Oe9SwW0ZiTdmk+eIc25RneAZexJBqbkFQ8=
+
+SHA256 (MAKEPKG) = 67102a688a2227110dd5d6864225308db8ddf65cd4f4bf1662f28cda13912182
+SHA256 (.footprint) = 5df6cd7cedc5ba617d3cb5bbd639d7df0ded77bdaecbdbcf7ad50d1a385802ab
+SHA256 (v0.5.4.tar.gz) = e1ec6ac819f38710cf99cad543e857366622e370cbd3eef1e636cff48fa53391
+SHA256 (py-propcache#0.5.4-1.pkg.tar.gz) = fa10852ddc2dd10c2833b38b8897880cf2f9c5185ea48bc41ba9d65453999522
diff --git a/python/py-propcache/MAKEPKG b/python/py-propcache/MAKEPKG
new file mode 100644
index 0000000..f5df89d
--- /dev/null
+++ b/python/py-propcache/MAKEPKG
@@ -0,0 +1,38 @@
+#!/bin/mkpkg
+# description: Fast property caching
+# url: https://pypi.org/project/propcache/
+name=py-propcache
+_name=propcache
+version=0.5.4
+release=1
+depends=(python3)
+makedeps=(py-installer py-build py-expandvars py-cython py-wheel py-setuptools)
+source=(https://github.com/aio-libs/propcache/archive/v$version.tar.gz)
+sha256sums=(
+ "e1ec6ac819f38710cf99cad543e857366622e370cbd3eef1e636cff48fa53391"
+)
+
+build() {
+ cd $_name-$version
+ # Relax Cython version pin in bundled pep517_backend (we have newer Cython)
+ sed -i 's/ ~= 3\.[0-9][0-9]*\.[0-9][0-9]*//' packaging/pep517_backend/_backend.py 2>/dev/null || true
+
+ # Build C extension from source — GitHub tarball includes pep517_backend
+ /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 --destdir "$PKG" --prefix /usr dist/*.whl
+
+ /usr/bin/python3 -OO -m compileall -b -q "$_sitedir"
+ find "$_sitedir" -type d -name __pycache__ -exec rm -rf {} + 2>/dev/null || true
+ find "$_sitedir" -name "*.exe" -delete
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh