diff options
author | Matt Turner <mattst88@gentoo.org> | 2020-01-15 15:34:48 -0800 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2020-01-15 15:46:23 -0800 |
commit | 49a077f7db2ebd4376e02aeeeebff292aabec6aa (patch) | |
tree | f4ee620f5a48f9139c7ec23881e966d5c8a30273 /dev-python/paho-mqtt/files | |
parent | net-analyzer/wireshark: Reorganise KEYWORDS (diff) | |
download | gentoo-49a077f7db2ebd4376e02aeeeebff292aabec6aa.tar.gz gentoo-49a077f7db2ebd4376e02aeeeebff292aabec6aa.tar.bz2 gentoo-49a077f7db2ebd4376e02aeeeebff292aabec6aa.zip |
dev-python/paho-mqtt: Version bump to 1.5.0
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'dev-python/paho-mqtt/files')
-rw-r--r-- | dev-python/paho-mqtt/files/paho-mqtt-1.5.0-strip-test-dependency.patch | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-python/paho-mqtt/files/paho-mqtt-1.5.0-strip-test-dependency.patch b/dev-python/paho-mqtt/files/paho-mqtt-1.5.0-strip-test-dependency.patch new file mode 100644 index 000000000000..9c8307359337 --- /dev/null +++ b/dev-python/paho-mqtt/files/paho-mqtt-1.5.0-strip-test-dependency.patch @@ -0,0 +1,31 @@ +# Remove Pylama from test dependencies. + +diff --git a/setup.cfg b/setup.cfg +index 84551cd..73bd714 100644 +--- a/setup.cfg ++++ b/setup.cfg +@@ -1,9 +1,6 @@ + [aliases] + test=pytest + [tool:pytest] +-addopts=-r xs --pylama ++addopts=-r xs + strict=True + testpaths=tests src +-[pylama] +-linters=pyflakes +-skip=tests/* +diff --git a/setup.py b/setup.py +index 8441de1..2878352 100644 +--- a/setup.py ++++ b/setup.py +@@ -11,7 +11,7 @@ with open('README.rst', 'rb') as readme_file: + readme = readme_file.read().decode('utf-8') + + requirements = [] +-test_requirements = ['pytest', 'pylama', 'six'] ++test_requirements = ['pytest', 'six'] + needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv) + setup_requirements = ['pytest-runner'] if needs_pytest else [] + extra_requirements = {'proxy': ['PySocks']} +-- |