dev-python/paho-mqtt: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2021-11-21 21:09:48 +01:00
parent 3e57e04256
commit 2a72e3110f
3 changed files with 0 additions and 62 deletions

View File

@@ -1,2 +1 @@
DIST paho-mqtt-1.5.1.tar.gz 144740 BLAKE2B 1c218f1109476fe9b28c26e1113717448377c53a2b9e01437f93d4a29f77e3b61f59492c263f160825ddcce25f907dbf72d3078954cc378d4846afb435d79bba SHA512 7e686bcc702f70c45ab061aa9833d42c4356d5002d27a035a685ca384a5b7d5e9dfd88ac95183816e08dd131463582707acd1d2e0f6de0f7dbbb6a6d0a615c97
DIST paho-mqtt-1.6.0.tar.gz 145605 BLAKE2B 8f8dfba1c57520793041221e470258a644a0e5c9d462244615f7d7481d1ef8ef4d3209ea9664c4f34bcd70f07addd7fbfbe5857853339b02a266ad2e43acbf90 SHA512 06a18a83b6743c816b4323324c78906ea8937366424d2c3aab3eac565dff040254f1384500cee9cff60d3931131b9f6298ae24795eaff486b03fc998140ece72

View File

@@ -1,31 +0,0 @@
# 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']}
--

View File

@@ -1,30 +0,0 @@
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{7..9} )
inherit distutils-r1
DESCRIPTION="A client class with support for MQTT v5.0, v3.1.1, and v3.1"
HOMEPAGE="https://www.eclipse.org/paho/index.php?page=clients/python https://github.com/eclipse/paho.mqtt.python"
SRC_URI="https://github.com/eclipse/paho.mqtt.python/archive/v${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/paho.mqtt.python-${PV}"
LICENSE="EPL-1.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
RDEPEND=""
DEPEND="
test? (
dev-python/mock[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]
) "
distutils_enable_tests pytest
PATCHES=(
"${FILESDIR}/${PN}-1.5.0-strip-test-dependency.patch"
)