diff options
author | Karel Kočí <karel.koci@nic.cz> | 2018-10-22 13:06:41 +0200 |
---|---|---|
committer | Karel Kočí <karel.koci@nic.cz> | 2018-10-22 13:06:41 +0200 |
commit | 43dc64955bc3d86329adb8a031f8230d0fbf555b (patch) | |
tree | ce187d7884873e1fd2c706f35559a78859d74ee6 | |
parent | 5e29045688bb109f32b345c2d3d36f792b3a902e (diff) | |
download | gentoo-personal-overlay-43dc64955bc3d86329adb8a031f8230d0fbf555b.tar.gz gentoo-personal-overlay-43dc64955bc3d86329adb8a031f8230d0fbf555b.tar.bz2 gentoo-personal-overlay-43dc64955bc3d86329adb8a031f8230d0fbf555b.zip |
dev-python/pyls: fix compilation for real now (I hope)
-rw-r--r-- | dev-python/pyls/files/setup.py-exclude-all-test-modules.patch | 25 | ||||
-rw-r--r-- | dev-python/pyls/pyls-0.21.2-r1.ebuild | 3 |
2 files changed, 27 insertions, 1 deletions
diff --git a/dev-python/pyls/files/setup.py-exclude-all-test-modules.patch b/dev-python/pyls/files/setup.py-exclude-all-test-modules.patch new file mode 100644 index 0000000..709a0db --- /dev/null +++ b/dev-python/pyls/files/setup.py-exclude-all-test-modules.patch @@ -0,0 +1,25 @@ +From 2f911df1a61205a551d23fb4637e79bd069f336b Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= <karel.koci@nic.cz> +Date: Mon, 22 Oct 2018 12:59:15 +0200 +Subject: [PATCH] setup.py: exclude all test modules + +--- + setup.py | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/setup.py b/setup.py +index 432c461..e38c30a 100755 +--- a/setup.py ++++ b/setup.py +@@ -25,7 +25,7 @@ setup( + + # You can just specify the packages manually here if your project is + # simple. Or you can use find_packages(). +- packages=find_packages(exclude=['contrib', 'docs', 'test']), ++ packages=find_packages(exclude=['contrib', 'docs', 'test*']), + + # List run-time dependencies here. These will be installed by pip when + # your project is installed. For an analysis of "install_requires" vs pip's +-- +2.19.1 + diff --git a/dev-python/pyls/pyls-0.21.2-r1.ebuild b/dev-python/pyls/pyls-0.21.2-r1.ebuild index 4d74e1c..7983264 100644 --- a/dev-python/pyls/pyls-0.21.2-r1.ebuild +++ b/dev-python/pyls/pyls-0.21.2-r1.ebuild @@ -11,7 +11,8 @@ S="${WORKDIR}/python-language-server-${PV}" LICENSE="MIT" KEYWORDS="amd64 ~x86" SLOT="0" -IUSE="test" +IUSE="" +PATCHES=( "${FILESDIR}/setup.py-exclude-all-test-modules.patch" ) RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] >=dev-python/future-0.14.0 |