summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-01-20 14:31:02 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2022-01-20 14:31:02 +0100
commit2e8ec3c1fc01712d2612bf0d4d57c434df1df586 (patch)
tree50a3a31c00d9582ae9e8268fb1dc83c41fb3ae71
parente42000a2b6afd72b192006c4f509066716855d66 (diff)
downloadpackages-2e8ec3c1fc01712d2612bf0d4d57c434df1df586.tar.xz
community/python-pyudev: removed documentation
-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
+ '
+)"