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/pyscreenshot/
Date: Wed, 26 May 2021 08:36:24
Message-Id: 1622018160.f90ce02238623c350ac0f8a14132e8a145012eaa.mgorny@gentoo
1 commit: f90ce02238623c350ac0f8a14132e8a145012eaa
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 26 08:22:24 2021 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Wed May 26 08:36:00 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f90ce022
7
8 dev-python/pyscreenshot: Remove old
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 dev-python/pyscreenshot/Manifest | 2 -
13 dev-python/pyscreenshot/pyscreenshot-2.2.ebuild | 73 -------------------------
14 dev-python/pyscreenshot/pyscreenshot-2.3.ebuild | 47 ----------------
15 3 files changed, 122 deletions(-)
16
17 diff --git a/dev-python/pyscreenshot/Manifest b/dev-python/pyscreenshot/Manifest
18 index 6aaaf9a8e23..bb0442ae459 100644
19 --- a/dev-python/pyscreenshot/Manifest
20 +++ b/dev-python/pyscreenshot/Manifest
21 @@ -1,3 +1 @@
22 -DIST pyscreenshot-2.2.tar.gz 29726 BLAKE2B d1e314be360d4716b35b4302de82010dfc9a97212b3f4472b42e40f9470fd0575fe8f0ceb976adfe13059c0566413414e03f78189d4afa193d88a0aaf4c5c26e SHA512 6689ccbcd5c6164aeb12d911ee93c8958f6c6b5aaba5ba7d4073ee855e6398180ed27fce6299480b18b3d7ffad12cd17694c3db1f1c7373d4b25be0073d49338
23 -DIST pyscreenshot-2.3.tar.gz 34543 BLAKE2B a9ae6fc51ac62efabca7e9b4e08ee8ee05d778a3f8ea0bfaec5f0958bea7f6dd266e18a938350aac6fa1058fdb378cfa69cf6c5490768c39d7312be51e3d2630 SHA512 6919e4529a932b9a6e3dd28d60c628447b0e6f25df567db742b5bf14455373ad7340237bb4b77696c436be6f31211030b206d7152f4b61d16d6745f439f84425
24 DIST pyscreenshot-3.0.tar.gz 32865 BLAKE2B b39d338be4f1dc23fc30fe84a6f8ee6b6346761b023222438e8ff33e01beafc347d34118332efb053057c54383f5468e73049041889a6140a70c0f928c655661 SHA512 f8070941ade2bc710157238f47c9575df1504ef63152980b2bc0edd1f69c9ca4aeec3f738929de1c81a51fed79838053674626981ec61d95dafa7b9998004606
25
26 diff --git a/dev-python/pyscreenshot/pyscreenshot-2.2.ebuild b/dev-python/pyscreenshot/pyscreenshot-2.2.ebuild
27 deleted file mode 100644
28 index 67e2ca1a19b..00000000000
29 --- a/dev-python/pyscreenshot/pyscreenshot-2.2.ebuild
30 +++ /dev/null
31 @@ -1,73 +0,0 @@
32 -# Copyright 1999-2020 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -
37 -PYTHON_COMPAT=( python3_{7,8} )
38 -
39 -inherit distutils-r1 virtualx
40 -
41 -DESCRIPTION="Python screenshot library"
42 -HOMEPAGE="https://github.com/ponty/pyscreenshot"
43 -SRC_URI="https://github.com/ponty/pyscreenshot/archive/${PV}.tar.gz -> ${P}.tar.gz"
44 -
45 -LICENSE="BSD-2"
46 -SLOT="0"
47 -KEYWORDS="amd64 x86"
48 -
49 -BDEPEND="test? (
50 - dev-python/path-py[${PYTHON_USEDEP}]
51 - dev-python/pillow[${PYTHON_USEDEP}]
52 - dev-python/python-xlib[${PYTHON_USEDEP}]
53 - dev-python/pyvirtualdisplay[${PYTHON_USEDEP}]
54 - media-gfx/pqiv
55 -)"
56 -
57 -DEPEND="
58 - dev-python/easyprocess[${PYTHON_USEDEP}]
59 - dev-python/entrypoint2[${PYTHON_USEDEP}]
60 - dev-python/jeepney[${PYTHON_USEDEP}]
61 - dev-python/mss[${PYTHON_USEDEP}]
62 -"
63 -
64 -distutils_enable_tests pytest
65 -
66 -python_prepare_all() {
67 - # easyprocess.EasyProcessError: start error fails inside emerge env
68 - sed -i -e 's:test_default:_&:' \
69 - tests/test_default.py || die
70 -
71 - # AssertionError
72 - sed -i -e 's:test_imagemagick:_&:' \
73 - tests/test_imagemagick.py || die
74 -
75 - # Needs access to dbus
76 - sed -i -e 's:test_kwin_dbus:_&:' \
77 - tests/test_kwin_dbus.py || die
78 -
79 - # AssertionError
80 - sed -i -e 's:test_mss:_&:' \
81 - tests/test_mss.py || die
82 -
83 - # AssertionError
84 - sed -i -e 's:test_pygdk3:_&:' \
85 - tests/test_pygdk3.py || die
86 -
87 - # AssertionError
88 - sed -i -e 's:test_pyqt5:_&:' \
89 - tests/test_pyqt5.py || die
90 -
91 - # AssertionError
92 - sed -i -e 's:test_qtpy:_&:' \
93 - tests/test_qtpy.py || die
94 -
95 - # AssertionError
96 - sed -i -e 's:test_scrot:_&:' \
97 - tests/test_scrot.py || die
98 -
99 - distutils-r1_python_prepare_all
100 -}
101 -
102 -python_test() {
103 - virtx pytest -vv
104 -}
105
106 diff --git a/dev-python/pyscreenshot/pyscreenshot-2.3.ebuild b/dev-python/pyscreenshot/pyscreenshot-2.3.ebuild
107 deleted file mode 100644
108 index 1cb95e4a350..00000000000
109 --- a/dev-python/pyscreenshot/pyscreenshot-2.3.ebuild
110 +++ /dev/null
111 @@ -1,47 +0,0 @@
112 -# Copyright 1999-2021 Gentoo Authors
113 -# Distributed under the terms of the GNU General Public License v2
114 -
115 -EAPI=7
116 -
117 -PYTHON_COMPAT=( python3_{7,8,9} )
118 -
119 -inherit distutils-r1 virtualx
120 -
121 -DESCRIPTION="Python screenshot library"
122 -HOMEPAGE="https://github.com/ponty/pyscreenshot"
123 -SRC_URI="https://github.com/ponty/pyscreenshot/archive/${PV}.tar.gz -> ${P}.tar.gz"
124 -
125 -LICENSE="BSD-2"
126 -SLOT="0"
127 -KEYWORDS="amd64 x86"
128 -
129 -BDEPEND="test? (
130 - dev-python/pillow[${PYTHON_USEDEP}]
131 - dev-python/python-xlib[${PYTHON_USEDEP}]
132 - dev-python/pyvirtualdisplay[${PYTHON_USEDEP}]
133 - media-gfx/imagemagick
134 - media-gfx/pqiv
135 - kde-apps/gwenview
136 - x11-apps/xdpyinfo
137 -)"
138 -
139 -DEPEND="
140 - dev-python/easyprocess[${PYTHON_USEDEP}]
141 - dev-python/entrypoint2[${PYTHON_USEDEP}]
142 - dev-python/jeepney[${PYTHON_USEDEP}]
143 - dev-python/mss[${PYTHON_USEDEP}]
144 -"
145 -
146 -distutils_enable_tests pytest
147 -
148 -python_prepare_all() {
149 - # Needs access to dbus
150 - sed -i -e 's:test_kwin_dbus:_&:' \
151 - tests/test_kwin_dbus.py || die
152 -
153 - distutils-r1_python_prepare_all
154 -}
155 -
156 -python_test() {
157 - virtx pytest -vv
158 -}