summaryrefslogtreecommitdiff
path: root/dev-python/pyclip
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/pyclip')
-rw-r--r--dev-python/pyclip/Manifest1
-rw-r--r--dev-python/pyclip/metadata.xml12
-rw-r--r--dev-python/pyclip/pyclip-0.7.0-r2.ebuild60
-rw-r--r--dev-python/pyclip/pyclip-9999.ebuild60
4 files changed, 0 insertions, 133 deletions
diff --git a/dev-python/pyclip/Manifest b/dev-python/pyclip/Manifest
deleted file mode 100644
index 4905f753320b..000000000000
--- a/dev-python/pyclip/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pyclip-0.7.0.gh.tar.gz 17555 BLAKE2B 281a2dacd82d7501e01750134d82fc0b66ac1d41a631b9573160262c94cfb97ad463036e8ec523674580fdfb71849175e58836530d761462a72ba9ba3f2fd618 SHA512 64849befe020b0ac38aa8ed93ceb7fb275112aa49ae527fc54916ea591e09ce5a1a669d8f68083b098112a90fd36f71d2abeef6c3a8908e6cde20f04b0273877
diff --git a/dev-python/pyclip/metadata.xml b/dev-python/pyclip/metadata.xml
deleted file mode 100644
index 9e12ce6a2824..000000000000
--- a/dev-python/pyclip/metadata.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="person">
- <email>flewkey@2a03.party</email>
- <name>Ryan Fox</name>
- </maintainer>
- <upstream>
- <remote-id type="pypi">pyclip</remote-id>
- <remote-id type="github">spyoungtech/pyclip</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/dev-python/pyclip/pyclip-0.7.0-r2.ebuild b/dev-python/pyclip/pyclip-0.7.0-r2.ebuild
deleted file mode 100644
index f6543832d79f..000000000000
--- a/dev-python/pyclip/pyclip-0.7.0-r2.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{13..14} )
-
-DISTUTILS_USE_PEP517="setuptools"
-
-inherit distutils-r1 virtualx
-
-if [[ ${PV} == 9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/spyoungtech/pyclip.git"
-else
- SRC_URI="https://github.com/spyoungtech/pyclip/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
- KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-fi
-
-DESCRIPTION="Python clipboard module"
-HOMEPAGE="https://pypi.org/project/pyclip/"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="wayland +X"
-REQUIRED_USE="
- || ( wayland X )
- test? ( X )
-"
-
-RDEPEND="
- wayland? ( gui-apps/wl-clipboard )
- X? ( x11-misc/xclip )
-"
-
-DOCS=( docs/README.md )
-
-EPYTEST_PLUGINS=()
-distutils_enable_tests pytest
-
-src_prepare() {
- # Clipboard detection should respect USE flags
- if use wayland && ! use X; then
- sed -ie "/linux':/s/elif .*/elif False:/" pyclip/util.py || die
- elif ! use wayland && use X; then
- sed -ie "/WAYLAND/s/elif .*/elif False:/" pyclip/util.py || die
- fi
- distutils-r1_src_prepare
-}
-
-src_test() {
- virtx distutils-r1_src_test
-}
-
-pkg_postinst() {
- if use wayland && use X; then
- elog "If you wish to use the xclip backend over the wl-clipboard backend,"
- elog "unset the WAYLAND_DISPLAY environment variable or consider"
- elog "installing ${CATEGORY}/${PN}[-wayland,X] instead."
- fi
-}
diff --git a/dev-python/pyclip/pyclip-9999.ebuild b/dev-python/pyclip/pyclip-9999.ebuild
deleted file mode 100644
index f6543832d79f..000000000000
--- a/dev-python/pyclip/pyclip-9999.ebuild
+++ /dev/null
@@ -1,60 +0,0 @@
-# Copyright 1999-2026 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{13..14} )
-
-DISTUTILS_USE_PEP517="setuptools"
-
-inherit distutils-r1 virtualx
-
-if [[ ${PV} == 9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/spyoungtech/pyclip.git"
-else
- SRC_URI="https://github.com/spyoungtech/pyclip/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
- KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-fi
-
-DESCRIPTION="Python clipboard module"
-HOMEPAGE="https://pypi.org/project/pyclip/"
-LICENSE="Apache-2.0"
-SLOT="0"
-IUSE="wayland +X"
-REQUIRED_USE="
- || ( wayland X )
- test? ( X )
-"
-
-RDEPEND="
- wayland? ( gui-apps/wl-clipboard )
- X? ( x11-misc/xclip )
-"
-
-DOCS=( docs/README.md )
-
-EPYTEST_PLUGINS=()
-distutils_enable_tests pytest
-
-src_prepare() {
- # Clipboard detection should respect USE flags
- if use wayland && ! use X; then
- sed -ie "/linux':/s/elif .*/elif False:/" pyclip/util.py || die
- elif ! use wayland && use X; then
- sed -ie "/WAYLAND/s/elif .*/elif False:/" pyclip/util.py || die
- fi
- distutils-r1_src_prepare
-}
-
-src_test() {
- virtx distutils-r1_src_test
-}
-
-pkg_postinst() {
- if use wayland && use X; then
- elog "If you wish to use the xclip backend over the wl-clipboard backend,"
- elog "unset the WAYLAND_DISPLAY environment variable or consider"
- elog "installing ${CATEGORY}/${PN}[-wayland,X] instead."
- fi
-}