summaryrefslogtreecommitdiff
path: root/community/python-pyudev/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/python-pyudev/PKGBUILD')
-rw-r--r--community/python-pyudev/PKGBUILD15
1 files changed, 15 insertions, 0 deletions
diff --git a/community/python-pyudev/PKGBUILD b/community/python-pyudev/PKGBUILD
new file mode 100644
index 00000000..022fe3c4
--- /dev/null
+++ b/community/python-pyudev/PKGBUILD
@@ -0,0 +1,15 @@
+# disable documentation (needs sphinx), building it currently leaves
+# the documentation in the package and the module broken (seen in
+# libwacom)
+makedepends=(${makedepends[@]//python-sphinx/})
+eval "$(
+ declare -f build | \
+ sed '
+ /.*sphinx.*/d
+ '
+ declare -f package | \
+ sed '
+ /.*doc\/html.*/d
+ /.*\/usr\/share\/doc.*/d
+ '
+)"