Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/paho-mqtt/, dev-python/paho-mqtt/files/
Date: Sun, 21 Nov 2021 20:11:08
Message-Id: 1637525458.2a72e3110f53bd33c2740deee989c8a248f37ffa.mgorny@gentoo
1 commit: 2a72e3110f53bd33c2740deee989c8a248f37ffa
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 21 20:09:48 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 21 20:10:58 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a72e311
7
8 dev-python/paho-mqtt: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/paho-mqtt/Manifest | 1 -
13 .../paho-mqtt-1.5.0-strip-test-dependency.patch | 31 ----------------------
14 dev-python/paho-mqtt/paho-mqtt-1.5.1.ebuild | 30 ---------------------
15 3 files changed, 62 deletions(-)
16
17 diff --git a/dev-python/paho-mqtt/Manifest b/dev-python/paho-mqtt/Manifest
18 index 835b27430bec..7deb8bf07d47 100644
19 --- a/dev-python/paho-mqtt/Manifest
20 +++ b/dev-python/paho-mqtt/Manifest
21 @@ -1,2 +1 @@
22 -DIST paho-mqtt-1.5.1.tar.gz 144740 BLAKE2B 1c218f1109476fe9b28c26e1113717448377c53a2b9e01437f93d4a29f77e3b61f59492c263f160825ddcce25f907dbf72d3078954cc378d4846afb435d79bba SHA512 7e686bcc702f70c45ab061aa9833d42c4356d5002d27a035a685ca384a5b7d5e9dfd88ac95183816e08dd131463582707acd1d2e0f6de0f7dbbb6a6d0a615c97
23 DIST paho-mqtt-1.6.0.tar.gz 145605 BLAKE2B 8f8dfba1c57520793041221e470258a644a0e5c9d462244615f7d7481d1ef8ef4d3209ea9664c4f34bcd70f07addd7fbfbe5857853339b02a266ad2e43acbf90 SHA512 06a18a83b6743c816b4323324c78906ea8937366424d2c3aab3eac565dff040254f1384500cee9cff60d3931131b9f6298ae24795eaff486b03fc998140ece72
24
25 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
26 deleted file mode 100644
27 index 9c8307359337..000000000000
28 --- a/dev-python/paho-mqtt/files/paho-mqtt-1.5.0-strip-test-dependency.patch
29 +++ /dev/null
30 @@ -1,31 +0,0 @@
31 -# Remove Pylama from test dependencies.
32 -
33 -diff --git a/setup.cfg b/setup.cfg
34 -index 84551cd..73bd714 100644
35 ---- a/setup.cfg
36 -+++ b/setup.cfg
37 -@@ -1,9 +1,6 @@
38 - [aliases]
39 - test=pytest
40 - [tool:pytest]
41 --addopts=-r xs --pylama
42 -+addopts=-r xs
43 - strict=True
44 - testpaths=tests src
45 --[pylama]
46 --linters=pyflakes
47 --skip=tests/*
48 -diff --git a/setup.py b/setup.py
49 -index 8441de1..2878352 100644
50 ---- a/setup.py
51 -+++ b/setup.py
52 -@@ -11,7 +11,7 @@ with open('README.rst', 'rb') as readme_file:
53 - readme = readme_file.read().decode('utf-8')
54 -
55 - requirements = []
56 --test_requirements = ['pytest', 'pylama', 'six']
57 -+test_requirements = ['pytest', 'six']
58 - needs_pytest = {'pytest', 'test', 'ptr'}.intersection(sys.argv)
59 - setup_requirements = ['pytest-runner'] if needs_pytest else []
60 - extra_requirements = {'proxy': ['PySocks']}
61 ---
62
63 diff --git a/dev-python/paho-mqtt/paho-mqtt-1.5.1.ebuild b/dev-python/paho-mqtt/paho-mqtt-1.5.1.ebuild
64 deleted file mode 100644
65 index 3af0332f43d4..000000000000
66 --- a/dev-python/paho-mqtt/paho-mqtt-1.5.1.ebuild
67 +++ /dev/null
68 @@ -1,30 +0,0 @@
69 -# Copyright 1999-2021 Gentoo Authors
70 -# Distributed under the terms of the GNU General Public License v2
71 -
72 -EAPI=7
73 -PYTHON_COMPAT=( python3_{7..9} )
74 -
75 -inherit distutils-r1
76 -
77 -DESCRIPTION="A client class with support for MQTT v5.0, v3.1.1, and v3.1"
78 -HOMEPAGE="https://www.eclipse.org/paho/index.php?page=clients/python https://github.com/eclipse/paho.mqtt.python"
79 -SRC_URI="https://github.com/eclipse/paho.mqtt.python/archive/v${PV}.tar.gz -> ${P}.tar.gz"
80 -S="${WORKDIR}/paho.mqtt.python-${PV}"
81 -
82 -LICENSE="EPL-1.0"
83 -SLOT="0"
84 -KEYWORDS="amd64 ~arm64 x86"
85 -
86 -RDEPEND=""
87 -DEPEND="
88 - test? (
89 - dev-python/mock[${PYTHON_USEDEP}]
90 - dev-python/pytest[${PYTHON_USEDEP}]
91 - dev-python/six[${PYTHON_USEDEP}]
92 - ) "
93 -
94 -distutils_enable_tests pytest
95 -
96 -PATCHES=(
97 - "${FILESDIR}/${PN}-1.5.0-strip-test-dependency.patch"
98 -)