summaryrefslogtreecommitdiff
path: root/debian/patches
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches')
-rw-r--r--debian/patches/include-docs22
-rw-r--r--debian/patches/series1
2 files changed, 23 insertions, 0 deletions
diff --git a/debian/patches/include-docs b/debian/patches/include-docs
new file mode 100644
index 0000000..1ad220e
--- /dev/null
+++ b/debian/patches/include-docs
@@ -0,0 +1,22 @@
+From: Stefano Rivera <stefanor@debian.org>
+Date: Fri, 17 Sep 2021 12:05:19 -0700
+Subject: Include docs in package data (for doctests)
+
+Forwarded: https://code.launchpad.net/~stefanor/wadllib/install-docs/+merge/408835
+---
+ setup.py | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/setup.py b/setup.py
+index a9d35d4..a51416f 100755
+--- a/setup.py
++++ b/setup.py
+@@ -53,7 +53,7 @@ setup(
+ packages=find_packages('src'),
+ package_dir={'':'src'},
+ package_data={
+- '': ['*.xml', '*.json'],
++ '': ['*.xml', '*.json', '*.rst'],
+ },
+ include_package_data=True,
+ zip_safe=False,
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..670b7e9
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+include-docs