dev-python/pyperclip: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-11-03 06:19:27 +01:00
parent 28cc5a9f48
commit 8aafab7705
3 changed files with 0 additions and 124 deletions

View File

@@ -1,3 +1 @@
DIST pyperclip-1.10.0.tar.gz 12193 BLAKE2B 0733fb724c32b927a29dcabec739454b2b2546cce1ac4235a1999b9c73c01272ffa9be6670780a7a3e8416d1de9a202364ce17c340bc116987dd3bc824de0a2d SHA512 eebb717e78817b34ef932fa916ae24f56ab2f064b2d20541dff06b192f69e3b33d007fe0a49b1b4ba5aeb9a633bab3139a215fce5016bf88013803713c7d402e
DIST pyperclip-1.11.0.tar.gz 12185 BLAKE2B 31ff9747fb084046a8afb62a8799dfccdad8372cb771109cbf6d075df63e23e0a26c48afe56f850b2bbf671336ee942c26dd3f8e661523533d4cef282ead2e15 SHA512 3756e75db1dc321dafe3677956d6d84b7c730bfd282f0293931e7dc5a468f3abaf8397a5f02bee4473953026d0ac373b835fe1972b7f5fe69e661195007901ab
DIST pyperclip-1.9.0.tar.gz 20961 BLAKE2B a489268724b7beb82ec6b28c11cbb5fe04393a800297e4f71aace7232c13b68ce05092ca949f5cdc8257343b8e8f8b3cbd5227aa03a53e32eaeba8f3146108e2 SHA512 19865ebdcce99817f92994d14e26e1cd321d85da89f3177794a93981321ac3e39c937cccbcd00c866ccb30591d4720cd97a39fd266ef8378e3a21471ee69606f

View File

@@ -1,61 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1 virtualx pypi
DESCRIPTION="A cross-platform clipboard module for Python"
HOMEPAGE="
https://github.com/asweigart/pyperclip/
https://pypi.org/project/pyperclip/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ~ppc64 ~riscv ~s390 ~sparc x86"
RDEPEND="
|| (
x11-misc/xsel
x11-misc/xclip
kde-plasma/plasma-workspace
dev-python/pyqt5[${PYTHON_USEDEP}]
dev-python/qtpy[${PYTHON_USEDEP}]
)
"
# test at least one backend
BDEPEND="
test? (
${RDEPEND}
)
"
src_prepare() {
local PATCHES=(
"${FILESDIR}/${PN}-1.9.0-fix-test.patch"
)
# stupid windows
find -type f -exec sed -i -e 's:\r$::' {} + || die
distutils-r1_src_prepare
# klipper is hard to get working, and once we make it work,
# it breaks most of the other backends
# wl-copy requires wayland, not Xvfb
sed -e 's:_executable_exists("\(klipper\|wl-copy\)"):False:' \
-i tests/test_pyperclip.py || die
}
python_test() {
"${EPYTHON}" tests/test_pyperclip.py -vv ||
die "Tests fail on ${EPYTHON}"
}
src_test() {
virtx distutils-r1_src_test
}

View File

@@ -1,61 +0,0 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DISTUTILS_USE_PEP517=setuptools
PYTHON_COMPAT=( python3_{11..14} )
inherit distutils-r1 virtualx pypi
DESCRIPTION="A cross-platform clipboard module for Python"
HOMEPAGE="
https://github.com/asweigart/pyperclip/
https://pypi.org/project/pyperclip/
"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ~ppc64 ~riscv ~s390 ~sparc x86"
RDEPEND="
|| (
x11-misc/xsel
x11-misc/xclip
kde-plasma/plasma-workspace
dev-python/pyqt5[${PYTHON_USEDEP}]
dev-python/qtpy[${PYTHON_USEDEP}]
)
"
# test at least one backend
BDEPEND="
test? (
${RDEPEND}
)
"
src_prepare() {
local PATCHES=(
"${FILESDIR}/${P}-fix-test.patch"
)
# stupid windows
find -type f -exec sed -i -e 's:\r$::' {} + || die
distutils-r1_src_prepare
# klipper is hard to get working, and once we make it work,
# it breaks most of the other backends
# wl-copy requires wayland, not Xvfb
sed -e 's:_executable_exists("\(klipper\|wl-copy\)"):False:' \
-i tests/test_pyperclip.py || die
}
python_test() {
"${EPYTHON}" tests/test_pyperclip.py -vv ||
die "Tests fail on ${EPYTHON}"
}
src_test() {
virtx distutils-r1_src_test
}