diff options
author | lramage94 <ramage.lucas@openmailbox.org> | 2018-04-04 15:03:08 -0400 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2018-04-13 20:00:48 +0200 |
commit | a617926bcac2c78a0909657c295763d14692676e (patch) | |
tree | 354724d70204a66b36dcb9d48740cbf71f837003 /dev-python/paho-mqtt/files | |
parent | dev-python/paho-mqtt: add myself to maintainers via proxy-maint (diff) | |
download | gentoo-a617926bcac2c78a0909657c295763d14692676e.tar.gz gentoo-a617926bcac2c78a0909657c295763d14692676e.tar.bz2 gentoo-a617926bcac2c78a0909657c295763d14692676e.zip |
dev-python/paho-mqtt: bump version to 1.3.1
Closes: https://github.com/gentoo/gentoo/pull/7137
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-python/paho-mqtt/files')
-rw-r--r-- | dev-python/paho-mqtt/files/paho-mqtt-1.3.1-strip-test-dependency.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-python/paho-mqtt/files/paho-mqtt-1.3.1-strip-test-dependency.patch b/dev-python/paho-mqtt/files/paho-mqtt-1.3.1-strip-test-dependency.patch new file mode 100644 index 000000000000..0cb9750a6f54 --- /dev/null +++ b/dev-python/paho-mqtt/files/paho-mqtt-1.3.1-strip-test-dependency.patch @@ -0,0 +1,29 @@ +# Remove Pylama from test dependencies. + +diff --git a/setup.cfg b/setup.cfg +--- 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 +--- 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'] ++test_requirements = ['pytest'] + needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv) + setup_requirements = ['pytest-runner'] if needs_pytest else [] + |