aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Reva <denis7774@gmail.com>2022-12-19 18:48:05 +0500
committerDenis Reva <denis7774@gmail.com>2022-12-19 18:48:54 +0500
commit56b0807bb2b15d325c4222829922812e79fc6d25 (patch)
tree504d386d656e42be393d7e0aa39ba90ea27ee5ba /dev-python
parentapp-emulation/waydroid: Updated waydroid dependencies, added basic clarificat... (diff)
downloadguru-56b0807bb2b15d325c4222829922812e79fc6d25.tar.gz
guru-56b0807bb2b15d325c4222829922812e79fc6d25.tar.bz2
guru-56b0807bb2b15d325c4222829922812e79fc6d25.zip
dev-python/pyclip: New version 0.7.0, added use flags for X and wayland (useful for wayland-only systems)
Signed-off-by: Denis Reva <denis7774@gmail.com>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pyclip/Manifest1
-rw-r--r--dev-python/pyclip/pyclip-0.7.0.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-python/pyclip/Manifest b/dev-python/pyclip/Manifest
index 0d27b94a5..c965fff81 100644
--- a/dev-python/pyclip/Manifest
+++ b/dev-python/pyclip/Manifest
@@ -1,2 +1,3 @@
DIST pyclip-0.5.4.tar.gz 17056 BLAKE2B e1c29dda7496086cca4782d13fbca4dff7157ef0fdb467e7472ee1e531e53d5d1b1577bfbc3cea30f80d88def20ed34ac71b7a90e2f1728e2cdd9937ce4f2528 SHA512 c0ec789ac7b13e34d9ad91006b3b6369d552d0b79b8fc7de93f4817b0540ca889238a4bbb8ee0ac0b573d644822982f99a3ca2562dc3091440441e8d9c2361dc
DIST pyclip-0.6.0.tar.gz 17148 BLAKE2B eb67f5f832f80d69ac985a9c16fd1e01edf016c278fc48329af81aa48a98f634835ba018a4d1a278a4117e9550f9d09a2776c353d7a37c77dc3d1f146a7d3af2 SHA512 3666d187fd2a0d107197c4bc9fab9e8e248cdd8607945470b622f1ebeaba7deaf3b30dd2570b36ef82fd5fd729aebbd73da85bc51f1696652ed3ef091e96368f
+DIST pyclip-0.7.0.tar.gz 17555 BLAKE2B 281a2dacd82d7501e01750134d82fc0b66ac1d41a631b9573160262c94cfb97ad463036e8ec523674580fdfb71849175e58836530d761462a72ba9ba3f2fd618 SHA512 64849befe020b0ac38aa8ed93ceb7fb275112aa49ae527fc54916ea591e09ce5a1a669d8f68083b098112a90fd36f71d2abeef6c3a8908e6cde20f04b0273877
diff --git a/dev-python/pyclip/pyclip-0.7.0.ebuild b/dev-python/pyclip/pyclip-0.7.0.ebuild
new file mode 100644
index 000000000..bdc064f8e
--- /dev/null
+++ b/dev-python/pyclip/pyclip-0.7.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+
+DISTUTILS_USE_PEP517="setuptools"
+
+inherit distutils-r1
+
+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}.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"
+RESTRICT="test"
+DOCS="${S}/docs/README.md"
+REQUIRED_USE="|| ( wayland X )"
+
+DEPEND=""
+RDEPEND="
+ wayland? ( gui-apps/wl-clipboard )
+ X? ( x11-misc/xclip )
+"
+BDEPEND=""