commit: c3ed2b3c9825c2a16cf2515b079aac75a86eb9ab Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> AuthorDate: Tue Jan 29 17:50:53 2019 +0000 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> CommitDate: Tue Jan 29 17:51:54 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3ed2b3c
dev-python/reflink: correct dep on pytest-runner Closes: https://bugs.gentoo.org/676848 Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> dev-python/reflink/files/0.2.1-correct-test-deps.patch | 17 +++++++++++++++++ dev-python/reflink/reflink-0.2.1.ebuild | 2 ++ 2 files changed, 19 insertions(+) diff --git a/dev-python/reflink/files/0.2.1-correct-test-deps.patch b/dev-python/reflink/files/0.2.1-correct-test-deps.patch new file mode 100644 index 00000000000..78b1ef8fd94 --- /dev/null +++ b/dev-python/reflink/files/0.2.1-correct-test-deps.patch @@ -0,0 +1,17 @@ +diff --git a/setup.py b/setup.py +index 234c92b..3ef3237 100644 +--- a/setup.py ++++ b/setup.py +@@ -20,11 +20,11 @@ requirements = [ + + setup_requirements = [ + 'cffi', +- 'pytest-runner', + ] + + test_requirements = [ + 'pytest', ++ 'pytest-runner', + ] + + if sys.platform not in ['linux', 'linux2', 'win32', 'darwin']: diff --git a/dev-python/reflink/reflink-0.2.1.ebuild b/dev-python/reflink/reflink-0.2.1.ebuild index 8c8c593ccf5..59c051cb194 100644 --- a/dev-python/reflink/reflink-0.2.1.ebuild +++ b/dev-python/reflink/reflink-0.2.1.ebuild @@ -30,6 +30,8 @@ DEPEND="${RDEPEND}" # goes places, like writing to /dev or creating btrfs volumes RESTRICT="test" +PATCHES=( "${FILESDIR}/${PV}-correct-test-deps.patch" ) + python_compile_all() { use doc && emake -C docs html }