mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-python/pyscreenshot: Remove old
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST pyscreenshot-2.2.tar.gz 29726 BLAKE2B d1e314be360d4716b35b4302de82010dfc9a97212b3f4472b42e40f9470fd0575fe8f0ceb976adfe13059c0566413414e03f78189d4afa193d88a0aaf4c5c26e SHA512 6689ccbcd5c6164aeb12d911ee93c8958f6c6b5aaba5ba7d4073ee855e6398180ed27fce6299480b18b3d7ffad12cd17694c3db1f1c7373d4b25be0073d49338
|
||||
DIST pyscreenshot-2.3.tar.gz 34543 BLAKE2B a9ae6fc51ac62efabca7e9b4e08ee8ee05d778a3f8ea0bfaec5f0958bea7f6dd266e18a938350aac6fa1058fdb378cfa69cf6c5490768c39d7312be51e3d2630 SHA512 6919e4529a932b9a6e3dd28d60c628447b0e6f25df567db742b5bf14455373ad7340237bb4b77696c436be6f31211030b206d7152f4b61d16d6745f439f84425
|
||||
DIST pyscreenshot-3.0.tar.gz 32865 BLAKE2B b39d338be4f1dc23fc30fe84a6f8ee6b6346761b023222438e8ff33e01beafc347d34118332efb053057c54383f5468e73049041889a6140a70c0f928c655661 SHA512 f8070941ade2bc710157238f47c9575df1504ef63152980b2bc0edd1f69c9ca4aeec3f738929de1c81a51fed79838053674626981ec61d95dafa7b9998004606
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8} )
|
||||
|
||||
inherit distutils-r1 virtualx
|
||||
|
||||
DESCRIPTION="Python screenshot library"
|
||||
HOMEPAGE="https://github.com/ponty/pyscreenshot"
|
||||
SRC_URI="https://github.com/ponty/pyscreenshot/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
BDEPEND="test? (
|
||||
dev-python/path-py[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
dev-python/python-xlib[${PYTHON_USEDEP}]
|
||||
dev-python/pyvirtualdisplay[${PYTHON_USEDEP}]
|
||||
media-gfx/pqiv
|
||||
)"
|
||||
|
||||
DEPEND="
|
||||
dev-python/easyprocess[${PYTHON_USEDEP}]
|
||||
dev-python/entrypoint2[${PYTHON_USEDEP}]
|
||||
dev-python/jeepney[${PYTHON_USEDEP}]
|
||||
dev-python/mss[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# easyprocess.EasyProcessError: start error fails inside emerge env
|
||||
sed -i -e 's:test_default:_&:' \
|
||||
tests/test_default.py || die
|
||||
|
||||
# AssertionError
|
||||
sed -i -e 's:test_imagemagick:_&:' \
|
||||
tests/test_imagemagick.py || die
|
||||
|
||||
# Needs access to dbus
|
||||
sed -i -e 's:test_kwin_dbus:_&:' \
|
||||
tests/test_kwin_dbus.py || die
|
||||
|
||||
# AssertionError
|
||||
sed -i -e 's:test_mss:_&:' \
|
||||
tests/test_mss.py || die
|
||||
|
||||
# AssertionError
|
||||
sed -i -e 's:test_pygdk3:_&:' \
|
||||
tests/test_pygdk3.py || die
|
||||
|
||||
# AssertionError
|
||||
sed -i -e 's:test_pyqt5:_&:' \
|
||||
tests/test_pyqt5.py || die
|
||||
|
||||
# AssertionError
|
||||
sed -i -e 's:test_qtpy:_&:' \
|
||||
tests/test_qtpy.py || die
|
||||
|
||||
# AssertionError
|
||||
sed -i -e 's:test_scrot:_&:' \
|
||||
tests/test_scrot.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
virtx pytest -vv
|
||||
}
|
||||
@@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||
|
||||
inherit distutils-r1 virtualx
|
||||
|
||||
DESCRIPTION="Python screenshot library"
|
||||
HOMEPAGE="https://github.com/ponty/pyscreenshot"
|
||||
SRC_URI="https://github.com/ponty/pyscreenshot/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
BDEPEND="test? (
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
dev-python/python-xlib[${PYTHON_USEDEP}]
|
||||
dev-python/pyvirtualdisplay[${PYTHON_USEDEP}]
|
||||
media-gfx/imagemagick
|
||||
media-gfx/pqiv
|
||||
kde-apps/gwenview
|
||||
x11-apps/xdpyinfo
|
||||
)"
|
||||
|
||||
DEPEND="
|
||||
dev-python/easyprocess[${PYTHON_USEDEP}]
|
||||
dev-python/entrypoint2[${PYTHON_USEDEP}]
|
||||
dev-python/jeepney[${PYTHON_USEDEP}]
|
||||
dev-python/mss[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# Needs access to dbus
|
||||
sed -i -e 's:test_kwin_dbus:_&:' \
|
||||
tests/test_kwin_dbus.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
virtx pytest -vv
|
||||
}
|
||||
Reference in New Issue
Block a user