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/osrf_pycommon/files/, dev-python/osrf_pycommon/
Date: Sun, 17 Oct 2021 09:07:26
Message-Id: 1634461587.5599b6682a6ebcaf4a7dcf6b7eafd63437ae5d76.mgorny@gentoo
1 commit: 5599b6682a6ebcaf4a7dcf6b7eafd63437ae5d76
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Oct 17 09:06:27 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 17 09:06:27 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5599b668
7
8 dev-python/osrf_pycommon: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/osrf_pycommon/Manifest | 2 --
13 dev-python/osrf_pycommon/files/str.patch | 23 -----------------
14 .../osrf_pycommon/osrf_pycommon-0.1.10-r1.ebuild | 29 ----------------------
15 .../osrf_pycommon/osrf_pycommon-0.2.1.ebuild | 29 ----------------------
16 4 files changed, 83 deletions(-)
17
18 diff --git a/dev-python/osrf_pycommon/Manifest b/dev-python/osrf_pycommon/Manifest
19 index 59a86e3d2c7..96192f531cd 100644
20 --- a/dev-python/osrf_pycommon/Manifest
21 +++ b/dev-python/osrf_pycommon/Manifest
22 @@ -1,3 +1 @@
23 -DIST osrf_pycommon-0.1.10.tar.gz 46303 BLAKE2B 3f18b8683a6363e1f15addfe75b8dee31f64fff7c286379d18355dc1f3467063c2cf1a9eb7978c5f9de5d64cb23d18a3922a416fe24fafa618f50f0ba89cddfe SHA512 5d53ea0c3c410a99964330dc22dcbcb3cd8892a359fee2061acc15ddb46e334ff757e8aa5b776fef381246c58e9834003ac818624da4b8e95552f214f3d9e6bb
24 -DIST osrf_pycommon-0.2.1.tar.gz 46633 BLAKE2B ba89f8d783446d52a328d126bcdfac721dba0a811007a55e48ebd3626e58b732d4f03cc2a042d517698d6708bc72e0ffede99ba82604d1f4204ef3c1da36601a SHA512 d05e6bcbb8e7b5506ea953d37c895dbca59765e9a26081aff2c4d213c02365a4254580843dd7624fe4a046afdb2d5b8935c1fcd4d60b6b1d71c4d22789d26371
25 DIST osrf_pycommon-1.0.0.tar.gz 45084 BLAKE2B 83bfd5393575a5032e72ae93c9c3eec87d2907ce3fbd3e9fe14a94e5470d61594ab75bca394ec4b7960bbdb16c3ec060966bd6bf47f9a4037d530501c7ce947f SHA512 ff7204116c94eef972b7071f8d6c68fd7cdb1a518fd6c77cd47f54e5390815ff4b6a7d265ef3ed0093c1baa20eb332d69e92926e856da0e34b7186100b688d83
26
27 diff --git a/dev-python/osrf_pycommon/files/str.patch b/dev-python/osrf_pycommon/files/str.patch
28 deleted file mode 100644
29 index 336813e416f..00000000000
30 --- a/dev-python/osrf_pycommon/files/str.patch
31 +++ /dev/null
32 @@ -1,23 +0,0 @@
33 -From 515fd938513b8e458ce5fb3c937c100a3bc87745 Mon Sep 17 00:00:00 2001
34 -From: Chris Lalancette <clalancette@××××××××××××.org>
35 -Date: Fri, 19 Jun 2020 17:48:05 -0400
36 -Subject: [PATCH] Fix the __str__ method for windows terminal_color. (#65)
37 -
38 -Signed-off-by: Chris Lalancette <clalancette@××××××××××××.org>
39 ----
40 - osrf_pycommon/terminal_color/windows.py | 2 +-
41 - 1 file changed, 1 insertion(+), 1 deletion(-)
42 -
43 -diff --git a/osrf_pycommon/terminal_color/windows.py b/osrf_pycommon/terminal_color/windows.py
44 -index f0f6120..21f5e8f 100644
45 ---- a/osrf_pycommon/terminal_color/windows.py
46 -+++ b/osrf_pycommon/terminal_color/windows.py
47 -@@ -224,7 +224,7 @@ class CONSOLE_SCREEN_BUFFER_INFO(ctypes.Structure):
48 -
49 - def __str__(self):
50 - return (
51 -- '({0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0}, {0})'
52 -+ '({0}, {1}, {2}, {3}, {4}, {5}, {6}, {7}, {8}, {9}, {10})'
53 - .format(
54 - self.dwSize.Y, self.dwSize.X,
55 - self.dwCursorPosition.Y, self.dwCursorPosition.X,
56
57 diff --git a/dev-python/osrf_pycommon/osrf_pycommon-0.1.10-r1.ebuild b/dev-python/osrf_pycommon/osrf_pycommon-0.1.10-r1.ebuild
58 deleted file mode 100644
59 index 9f8238dc18f..00000000000
60 --- a/dev-python/osrf_pycommon/osrf_pycommon-0.1.10-r1.ebuild
61 +++ /dev/null
62 @@ -1,29 +0,0 @@
63 -# Copyright 2019-2020 Gentoo Authors
64 -# Distributed under the terms of the GNU General Public License v2
65 -
66 -EAPI=7
67 -PYTHON_COMPAT=( python{3_7,3_8,3_9} )
68 -DISTUTILS_USE_SETUPTOOLS=rdepend
69 -
70 -inherit distutils-r1
71 -
72 -DESCRIPTION="Commonly needed Python modules used by Python software developed at OSRF"
73 -HOMEPAGE="https://github.com/osrf/osrf_pycommon"
74 -SRC_URI="https://github.com/osrf/osrf_pycommon/archive/${PV}.tar.gz -> ${P}.tar.gz"
75 -
76 -LICENSE="Apache-2.0"
77 -SLOT="0"
78 -KEYWORDS="~amd64"
79 -IUSE="test"
80 -RESTRICT="!test? ( test )"
81 -
82 -DEPEND="dev-python/mock[${PYTHON_USEDEP}]"
83 -RDEPEND="${DEPEND}"
84 -BDEPEND="
85 - test? (
86 - dev-python/flake8[${PYTHON_USEDEP}]
87 - )
88 -"
89 -PATCHES=( "${FILESDIR}/str.patch" )
90 -
91 -distutils_enable_tests pytest
92
93 diff --git a/dev-python/osrf_pycommon/osrf_pycommon-0.2.1.ebuild b/dev-python/osrf_pycommon/osrf_pycommon-0.2.1.ebuild
94 deleted file mode 100644
95 index 76c71e1f7c8..00000000000
96 --- a/dev-python/osrf_pycommon/osrf_pycommon-0.2.1.ebuild
97 +++ /dev/null
98 @@ -1,29 +0,0 @@
99 -# Copyright 2019-2021 Gentoo Authors
100 -# Distributed under the terms of the GNU General Public License v2
101 -
102 -EAPI=8
103 -
104 -PYTHON_COMPAT=( python3_{8..10} )
105 -DISTUTILS_USE_SETUPTOOLS=rdepend
106 -inherit distutils-r1
107 -
108 -DESCRIPTION="Commonly needed Python modules used by Python software developed at OSRF"
109 -HOMEPAGE="https://github.com/osrf/osrf_pycommon"
110 -SRC_URI="https://github.com/osrf/osrf_pycommon/archive/${PV}.tar.gz -> ${P}.tar.gz"
111 -
112 -LICENSE="Apache-2.0"
113 -SLOT="0"
114 -KEYWORDS="~amd64"
115 -
116 -BDEPEND="
117 - test? (
118 - dev-python/mock[${PYTHON_USEDEP}]
119 - )"
120 -
121 -distutils_enable_tests pytest
122 -
123 -python_test() {
124 - # linting is something upstreams do
125 - # for us, it either means unneeded deps or breakage due to changes
126 - epytest --ignore tests/test_code_format.py
127 -}