* [gentoo-commits] repo/gentoo:master commit in: dev-python/paho-mqtt/, dev-python/paho-mqtt/files/
@ 2020-01-15 23:46 Matt Turner
0 siblings, 0 replies; 2+ messages in thread
From: Matt Turner @ 2020-01-15 23:46 UTC (permalink / raw
To: gentoo-commits
commit: 49a077f7db2ebd4376e02aeeeebff292aabec6aa
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 15 23:34:48 2020 +0000
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Wed Jan 15 23:46:23 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=49a077f7
dev-python/paho-mqtt: Version bump to 1.5.0
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
dev-python/paho-mqtt/Manifest | 1 +
.../paho-mqtt-1.5.0-strip-test-dependency.patch | 31 ++++++++++++++++++
dev-python/paho-mqtt/paho-mqtt-1.5.0.ebuild | 38 ++++++++++++++++++++++
3 files changed, 70 insertions(+)
diff --git a/dev-python/paho-mqtt/Manifest b/dev-python/paho-mqtt/Manifest
index 221aa29a562..4cb8fa1c495 100644
--- a/dev-python/paho-mqtt/Manifest
+++ b/dev-python/paho-mqtt/Manifest
@@ -1 +1,2 @@
DIST paho-mqtt-1.4.0.tar.gz 108278 BLAKE2B 0569f3cb5d262b3b7f6ae68261fe138d839afcc6fe91f880e29de24d5cf8e2491af81a30eb82c27fe63eee90114326eb75b06a32e05ec2fffed27b92d9601902 SHA512 2e49f0f146207ab4fbc8c346b10d3e2b50869b2d9db7c999b6645f7213fb635b64cff01c5405e7833a8b25334d24685ce6ed734a6e4b6b0660b48f65cf4a941c
+DIST paho-mqtt-1.5.0.tar.gz 126869 BLAKE2B 2dce27c1fcfe7ae422dc6da76fb58e7901de00c0c349b9715c56a3603da26e1f46af9bb8c0bd982043ba54a2070655b483d251a0a847e1c3afb36bcd4cfcdba8 SHA512 7e52180bf1783ee1f39aa5248730e82fae47fe3db7c4579b0b7207a29f5337c7c0af58d58aac1c265b1ed91fa9c240187d5e3005f55c6e28623e6cbc36750294
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 00000000000..9c830735933
--- /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']}
+--
diff --git a/dev-python/paho-mqtt/paho-mqtt-1.5.0.ebuild b/dev-python/paho-mqtt/paho-mqtt-1.5.0.ebuild
new file mode 100644
index 00000000000..dbeecd0ba64
--- /dev/null
+++ b/dev-python/paho-mqtt/paho-mqtt-1.5.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6,7,8} )
+
+inherit distutils-r1
+
+DESCRIPTION="A client class with support for both MQTT v3.1 and v3.1.1"
+HOMEPAGE="https://www.eclipse.org/paho/clients/python/"
+SRC_URI="https://github.com/eclipse/paho.mqtt.python/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="EPL-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+IUSE="test"
+
+RDEPEND=""
+DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/pytest-runner[${PYTHON_USEDEP}]
+ dev-python/six[${PYTHON_USEDEP}]
+ ) "
+
+S="${WORKDIR}/paho.mqtt.python-${PV}"
+
+#RESTRICT="test" #659106
+
+src_prepare() {
+ eapply "${FILESDIR}/${P}-strip-test-dependency.patch"
+ default
+}
+
+python_test() {
+ esetup.py test
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-python/paho-mqtt/, dev-python/paho-mqtt/files/
@ 2021-11-21 20:11 Michał Górny
0 siblings, 0 replies; 2+ messages in thread
From: Michał Górny @ 2021-11-21 20:11 UTC (permalink / raw
To: gentoo-commits
commit: 2a72e3110f53bd33c2740deee989c8a248f37ffa
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 21 20:09:48 2021 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Nov 21 20:10:58 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2a72e311
dev-python/paho-mqtt: Remove old
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/paho-mqtt/Manifest | 1 -
.../paho-mqtt-1.5.0-strip-test-dependency.patch | 31 ----------------------
dev-python/paho-mqtt/paho-mqtt-1.5.1.ebuild | 30 ---------------------
3 files changed, 62 deletions(-)
diff --git a/dev-python/paho-mqtt/Manifest b/dev-python/paho-mqtt/Manifest
index 835b27430bec..7deb8bf07d47 100644
--- a/dev-python/paho-mqtt/Manifest
+++ b/dev-python/paho-mqtt/Manifest
@@ -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
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
deleted file mode 100644
index 9c8307359337..000000000000
--- a/dev-python/paho-mqtt/files/paho-mqtt-1.5.0-strip-test-dependency.patch
+++ /dev/null
@@ -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']}
---
diff --git a/dev-python/paho-mqtt/paho-mqtt-1.5.1.ebuild b/dev-python/paho-mqtt/paho-mqtt-1.5.1.ebuild
deleted file mode 100644
index 3af0332f43d4..000000000000
--- a/dev-python/paho-mqtt/paho-mqtt-1.5.1.ebuild
+++ /dev/null
@@ -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"
-)
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-11-21 20:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-21 20:11 [gentoo-commits] repo/gentoo:master commit in: dev-python/paho-mqtt/, dev-python/paho-mqtt/files/ Michał Górny
-- strict thread matches above, loose matches on Subject: below --
2020-01-15 23:46 Matt Turner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox