summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-python/filetype/files/filetype-1.0.5-examples.patch10
-rw-r--r--dev-python/filetype/filetype-1.0.5.ebuild2
2 files changed, 12 insertions, 0 deletions
diff --git a/dev-python/filetype/files/filetype-1.0.5-examples.patch b/dev-python/filetype/files/filetype-1.0.5-examples.patch
new file mode 100644
index 0000000..3032c38
--- /dev/null
+++ b/dev-python/filetype/files/filetype-1.0.5-examples.patch
@@ -0,0 +1,10 @@
+--- a/setup.py 2020-02-07 15:57:33.445851327 -0000
++++ b/setup.py 2020-02-07 15:57:50.921877837 -0000
+@@ -37,6 +37,6 @@
+ 'Topic :: System :: Filesystems',
+ 'Topic :: Utilities'],
+ platforms=['any'],
+- packages=find_packages(exclude=['dist', 'build', 'docs', 'tests']),
++ packages=find_packages(exclude=['dist', 'build', 'docs', 'tests', 'examples']),
+ package_data={'filetype': ['LICENSE', '*.md']},
+ zip_safe=True)
diff --git a/dev-python/filetype/filetype-1.0.5.ebuild b/dev-python/filetype/filetype-1.0.5.ebuild
index 4801504..dd42127 100644
--- a/dev-python/filetype/filetype-1.0.5.ebuild
+++ b/dev-python/filetype/filetype-1.0.5.ebuild
@@ -16,3 +16,5 @@ KEYWORDS="~amd64 ~arm ~arm64"
BDEPEND=""
RDEPEND=""
+
+PATCHES=( "${FILESDIR}/${P}-examples.patch" )