summaryrefslogtreecommitdiff
path: root/app-portage/layman/files/layman-2.0.0.doctest.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /app-portage/layman/files/layman-2.0.0.doctest.patch
reinit the tree, so we can have metadata
Diffstat (limited to 'app-portage/layman/files/layman-2.0.0.doctest.patch')
-rw-r--r--app-portage/layman/files/layman-2.0.0.doctest.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/app-portage/layman/files/layman-2.0.0.doctest.patch b/app-portage/layman/files/layman-2.0.0.doctest.patch
new file mode 100644
index 000000000000..6d3305ca3ef7
--- /dev/null
+++ b/app-portage/layman/files/layman-2.0.0.doctest.patch
@@ -0,0 +1,20 @@
+diff --git a/layman/db.py b/layman/db.py
+index e2d740c..55a846a 100644
+--- a/layman/db.py
++++ b/layman/db.py
+@@ -93,6 +93,7 @@ class DB(DbBase):
+ >>> from layman.config import OptionConfig
+ >>> myoptions = {'installed' :
+ ... here + '/tests/testfiles/global-overlays.xml',
++ ... 'local_list': here + '/tests/testfiles/overlays.xml',
+ ... 'make_conf' : write2,
+ ... 'nocheck' : 'yes',
+ ... 'storage' : tmpdir}
+@@ -173,6 +174,7 @@ class DB(DbBase):
+ >>> from layman.config import OptionConfig
+ >>> myoptions = {'installed' :
+ ... here + '/tests/testfiles/global-overlays.xml',
++ ... 'local_list': here + '/tests/testfiles/overlays.xml',
+ ... 'make_conf' : write2,
+ ... 'nocheck' : 'yes',
+ ... 'storage' : tmpdir}