diff --git a/programming/language/python3/python3-cryptography/actions.py b/programming/language/python3/python3-cryptography/actions.py
index c3054019c9..10ead4385b 100644
--- a/programming/language/python3/python3-cryptography/actions.py
+++ b/programming/language/python3/python3-cryptography/actions.py
@@ -8,6 +8,8 @@ from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
from pisi.actionsapi import shelltools
from pisi.actionsapi import pythonmodules
+from pisi.actionsapi import get
+
def build():
# suppress compiler warnings
@@ -16,6 +18,7 @@ def build():
shelltools.export("LDSHARED", "x86_64-pc-linux-gnu-gcc -Wl,-O1,--as-needed -shared -lpthread -Wl,-O1 -Wl,-z,relro -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--sort-common")
pythonmodules.compile(pyVer="3")
# build documentation
+ shelltools.export("PYTHONPATH", "%s/cryptography-%s/build/lib.linux-x86_64-cpython-311" % (get.workDIR(), get.srcVERSION()))
shelltools.cd("docs")
autotools.make("html")
diff --git a/programming/language/python3/python3-cryptography/pspec.xml b/programming/language/python3/python3-cryptography/pspec.xml
index f1024e1b4b..6a58525a7f 100644
--- a/programming/language/python3/python3-cryptography/pspec.xml
+++ b/programming/language/python3/python3-cryptography/pspec.xml
@@ -26,6 +26,7 @@
python3-cryptography
python3-sphinx_rtd_theme
python3-setuptools-rust
+ python3-sphinxcontrib-jquery
@@ -40,6 +41,7 @@
/usr/lib/python3*
/usr/share/doc/python3-cryptography/LICENSE
/usr/share/doc/python3-cryptography/README.rst
+ /usr/share/doc/python3-cryptography/PKG-INFO