summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Shvetsov <alexxy@gentoo.org>2020-02-07 19:25:05 +0300
committerAlexey Shvetsov <alexxy@gentoo.org>2020-02-07 19:25:05 +0300
commitea467c8fbe482616a4822c159181dd5514df287f (patch)
treeab0e81e13d463221cbb3c43024f1cae8a4b80c2d
parentdev-python/sarge: Update sarge (diff)
downloadalexxy-ea467c8fbe482616a4822c159181dd5514df287f.tar.gz
alexxy-ea467c8fbe482616a4822c159181dd5514df287f.tar.bz2
alexxy-ea467c8fbe482616a4822c159181dd5514df287f.zip
dev-python/filetype: update filetype
Package-Manager: Portage-2.3.86, Repoman-2.3.20 Signed-off-by: Alexey Shvetsov <alexxy@gentoo.org>
-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" )