public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyclip/
@ 2022-05-18 16:00 Tony Olagbaiye
  0 siblings, 0 replies; 14+ messages in thread
From: Tony Olagbaiye @ 2022-05-18 16:00 UTC (permalink / raw
  To: gentoo-commits

commit:     79e49b458e41fe579cfb9511a456a17ec503f4b0
Author:     Tony Olagbaiye <bqv <AT> fron <DOT> io>
AuthorDate: Wed May 18 16:00:21 2022 +0000
Commit:     Tony Olagbaiye <gentoo <AT> fron <DOT> io>
CommitDate: Wed May 18 16:00:21 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=79e49b45

dev-python/pyclip: new package, add 0.5.4, 0.6.0, 9999

Signed-off-by: Tony Olagbaiye <bqv <AT> fron.io>

 dev-python/pyclip/Manifest            |  6 ++++++
 dev-python/pyclip/metadata.xml        | 12 ++++++++++++
 dev-python/pyclip/pyclip-0.5.4.ebuild | 28 ++++++++++++++++++++++++++++
 dev-python/pyclip/pyclip-0.6.0.ebuild | 31 +++++++++++++++++++++++++++++++
 dev-python/pyclip/pyclip-9999.ebuild  | 31 +++++++++++++++++++++++++++++++
 5 files changed, 108 insertions(+)

diff --git a/dev-python/pyclip/Manifest b/dev-python/pyclip/Manifest
new file mode 100644
index 000000000..a978de621
--- /dev/null
+++ b/dev-python/pyclip/Manifest
@@ -0,0 +1,6 @@
+DIST pyclip-0.5.4.tar.gz 17056 BLAKE2B e1c29dda7496086cca4782d13fbca4dff7157ef0fdb467e7472ee1e531e53d5d1b1577bfbc3cea30f80d88def20ed34ac71b7a90e2f1728e2cdd9937ce4f2528 SHA512 c0ec789ac7b13e34d9ad91006b3b6369d552d0b79b8fc7de93f4817b0540ca889238a4bbb8ee0ac0b573d644822982f99a3ca2562dc3091440441e8d9c2361dc
+DIST pyclip-0.6.0.tar.gz 17148 BLAKE2B eb67f5f832f80d69ac985a9c16fd1e01edf016c278fc48329af81aa48a98f634835ba018a4d1a278a4117e9550f9d09a2776c353d7a37c77dc3d1f146a7d3af2 SHA512 3666d187fd2a0d107197c4bc9fab9e8e248cdd8607945470b622f1ebeaba7deaf3b30dd2570b36ef82fd5fd729aebbd73da85bc51f1696652ed3ef091e96368f
+EBUILD pyclip-0.5.4.ebuild 610 BLAKE2B 332427d116fab4d84e81f12fa8d384319ceab32322e95caa126df7ed49a9638ef86a79ea877a4264b461013d800dc43c0d2af9debf222a13495d585d33f7aaea SHA512 3691755d996f96d5d30d9a6b92b6b8f185d32d695ee20951f24da737dc2d67ecca9a1e695213e6fac9b4abd2bd548f0f6aef21d23f1387bd72e28b03d95db78a
+EBUILD pyclip-0.6.0.ebuild 637 BLAKE2B 9108efecbcba70afef3403b22ac6571b034c0791c882b9ce217e5ea6ecbadd84546ec2c54c80b90e7e9fd6187215711800fa33e6bb7247969a195f5f0b405f45 SHA512 614697a39008f32b7479001dc40164e55bda19ee72f21b67cc50ccad51b8e39151b01d03ea4eba4f371afe664a5d61608277a04349489e155ca97b4e3ca573c9
+EBUILD pyclip-9999.ebuild 637 BLAKE2B 9108efecbcba70afef3403b22ac6571b034c0791c882b9ce217e5ea6ecbadd84546ec2c54c80b90e7e9fd6187215711800fa33e6bb7247969a195f5f0b405f45 SHA512 614697a39008f32b7479001dc40164e55bda19ee72f21b67cc50ccad51b8e39151b01d03ea4eba4f371afe664a5d61608277a04349489e155ca97b4e3ca573c9
+MISC metadata.xml 369 BLAKE2B 265843b9e036f5e3ec55de711ffad44525ff69f9c09c8fd88325ecdb9a5addf552e324d5501ec85b4573317c1cb842b0d67afb3a48039a0b9f5790401221fdfd SHA512 e9371bdce177b0033add7dba1a6eda677ab4a0d1165c89450c5092f71b40893efa3c5be4769c60a125fee0282a52ea1cade5c7ac509a761a4f9c9c98b96d62ba

diff --git a/dev-python/pyclip/metadata.xml b/dev-python/pyclip/metadata.xml
new file mode 100644
index 000000000..13df65ef4
--- /dev/null
+++ b/dev-python/pyclip/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://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.5.4.ebuild b/dev-python/pyclip/pyclip-0.5.4.ebuild
new file mode 100644
index 000000000..f0a45a18f
--- /dev/null
+++ b/dev-python/pyclip/pyclip-0.5.4.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..9} )
+DISTUTILS_USE_SETUPTOOLS=bdepend
+
+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"
+fi
+
+DESCRIPTION="Python clipboard module"
+HOMEPAGE="https://pypi.org/project/pyclip/"
+LICENSE="Apache-2.0"
+SLOT="0"
+
+DEPEND=""
+RDEPEND="x11-misc/xclip"
+BDEPEND=""
+
+distutils_enable_tests pytest

diff --git a/dev-python/pyclip/pyclip-0.6.0.ebuild b/dev-python/pyclip/pyclip-0.6.0.ebuild
new file mode 100644
index 000000000..4370b2329
--- /dev/null
+++ b/dev-python/pyclip/pyclip-0.6.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_SETUPTOOLS=bdepend
+
+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"
+fi
+
+DESCRIPTION="Python clipboard module"
+HOMEPAGE="https://pypi.org/project/pyclip/"
+LICENSE="Apache-2.0"
+SLOT="0"
+
+DEPEND=""
+RDEPEND="
+	gui-apps/wl-clipboard
+	x11-misc/xclip
+"
+BDEPEND=""
+
+distutils_enable_tests pytest

diff --git a/dev-python/pyclip/pyclip-9999.ebuild b/dev-python/pyclip/pyclip-9999.ebuild
new file mode 100644
index 000000000..4370b2329
--- /dev/null
+++ b/dev-python/pyclip/pyclip-9999.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+DISTUTILS_USE_SETUPTOOLS=bdepend
+
+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"
+fi
+
+DESCRIPTION="Python clipboard module"
+HOMEPAGE="https://pypi.org/project/pyclip/"
+LICENSE="Apache-2.0"
+SLOT="0"
+
+DEPEND=""
+RDEPEND="
+	gui-apps/wl-clipboard
+	x11-misc/xclip
+"
+BDEPEND=""
+
+distutils_enable_tests pytest


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyclip/
@ 2022-05-18 19:35 Tony Olagbaiye
  0 siblings, 0 replies; 14+ messages in thread
From: Tony Olagbaiye @ 2022-05-18 19:35 UTC (permalink / raw
  To: gentoo-commits

commit:     7b0f89b124e584e8b734fceae75d78fe505415e8
Author:     Tony Olagbaiye <bqv <AT> fron <DOT> io>
AuthorDate: Wed May 18 19:34:13 2022 +0000
Commit:     Tony Olagbaiye <gentoo <AT> fron <DOT> io>
CommitDate: Wed May 18 19:34:13 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7b0f89b1

dev-python/pyclip: extend PYTHON_COMPAT

Signed-off-by: Tony Olagbaiye <bqv <AT> fron.io>

 dev-python/pyclip/Manifest            | 4 ----
 dev-python/pyclip/pyclip-0.5.4.ebuild | 2 +-
 dev-python/pyclip/pyclip-0.6.0.ebuild | 2 +-
 dev-python/pyclip/pyclip-9999.ebuild  | 2 +-
 4 files changed, 3 insertions(+), 7 deletions(-)

diff --git a/dev-python/pyclip/Manifest b/dev-python/pyclip/Manifest
index a978de621..0d27b94a5 100644
--- a/dev-python/pyclip/Manifest
+++ b/dev-python/pyclip/Manifest
@@ -1,6 +1,2 @@
 DIST pyclip-0.5.4.tar.gz 17056 BLAKE2B e1c29dda7496086cca4782d13fbca4dff7157ef0fdb467e7472ee1e531e53d5d1b1577bfbc3cea30f80d88def20ed34ac71b7a90e2f1728e2cdd9937ce4f2528 SHA512 c0ec789ac7b13e34d9ad91006b3b6369d552d0b79b8fc7de93f4817b0540ca889238a4bbb8ee0ac0b573d644822982f99a3ca2562dc3091440441e8d9c2361dc
 DIST pyclip-0.6.0.tar.gz 17148 BLAKE2B eb67f5f832f80d69ac985a9c16fd1e01edf016c278fc48329af81aa48a98f634835ba018a4d1a278a4117e9550f9d09a2776c353d7a37c77dc3d1f146a7d3af2 SHA512 3666d187fd2a0d107197c4bc9fab9e8e248cdd8607945470b622f1ebeaba7deaf3b30dd2570b36ef82fd5fd729aebbd73da85bc51f1696652ed3ef091e96368f
-EBUILD pyclip-0.5.4.ebuild 610 BLAKE2B 332427d116fab4d84e81f12fa8d384319ceab32322e95caa126df7ed49a9638ef86a79ea877a4264b461013d800dc43c0d2af9debf222a13495d585d33f7aaea SHA512 3691755d996f96d5d30d9a6b92b6b8f185d32d695ee20951f24da737dc2d67ecca9a1e695213e6fac9b4abd2bd548f0f6aef21d23f1387bd72e28b03d95db78a
-EBUILD pyclip-0.6.0.ebuild 637 BLAKE2B 9108efecbcba70afef3403b22ac6571b034c0791c882b9ce217e5ea6ecbadd84546ec2c54c80b90e7e9fd6187215711800fa33e6bb7247969a195f5f0b405f45 SHA512 614697a39008f32b7479001dc40164e55bda19ee72f21b67cc50ccad51b8e39151b01d03ea4eba4f371afe664a5d61608277a04349489e155ca97b4e3ca573c9
-EBUILD pyclip-9999.ebuild 637 BLAKE2B 9108efecbcba70afef3403b22ac6571b034c0791c882b9ce217e5ea6ecbadd84546ec2c54c80b90e7e9fd6187215711800fa33e6bb7247969a195f5f0b405f45 SHA512 614697a39008f32b7479001dc40164e55bda19ee72f21b67cc50ccad51b8e39151b01d03ea4eba4f371afe664a5d61608277a04349489e155ca97b4e3ca573c9
-MISC metadata.xml 369 BLAKE2B 265843b9e036f5e3ec55de711ffad44525ff69f9c09c8fd88325ecdb9a5addf552e324d5501ec85b4573317c1cb842b0d67afb3a48039a0b9f5790401221fdfd SHA512 e9371bdce177b0033add7dba1a6eda677ab4a0d1165c89450c5092f71b40893efa3c5be4769c60a125fee0282a52ea1cade5c7ac509a761a4f9c9c98b96d62ba

diff --git a/dev-python/pyclip/pyclip-0.5.4.ebuild b/dev-python/pyclip/pyclip-0.5.4.ebuild
index f0a45a18f..e304a97a4 100644
--- a/dev-python/pyclip/pyclip-0.5.4.ebuild
+++ b/dev-python/pyclip/pyclip-0.5.4.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{7..11} )
 DISTUTILS_USE_SETUPTOOLS=bdepend
 
 inherit distutils-r1

diff --git a/dev-python/pyclip/pyclip-0.6.0.ebuild b/dev-python/pyclip/pyclip-0.6.0.ebuild
index 4370b2329..997c812c2 100644
--- a/dev-python/pyclip/pyclip-0.6.0.ebuild
+++ b/dev-python/pyclip/pyclip-0.6.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
 DISTUTILS_USE_SETUPTOOLS=bdepend
 
 inherit distutils-r1

diff --git a/dev-python/pyclip/pyclip-9999.ebuild b/dev-python/pyclip/pyclip-9999.ebuild
index 4370b2329..997c812c2 100644
--- a/dev-python/pyclip/pyclip-9999.ebuild
+++ b/dev-python/pyclip/pyclip-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
 DISTUTILS_USE_SETUPTOOLS=bdepend
 
 inherit distutils-r1


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyclip/
@ 2022-05-19 20:58 Tony Olagbaiye
  0 siblings, 0 replies; 14+ messages in thread
From: Tony Olagbaiye @ 2022-05-19 20:58 UTC (permalink / raw
  To: gentoo-commits

commit:     f0c1b368bfc72cab6f453a7aecedcdd55b6bbf18
Author:     Tony Olagbaiye <bqv <AT> fron <DOT> io>
AuthorDate: Thu May 19 20:58:09 2022 +0000
Commit:     Tony Olagbaiye <gentoo <AT> fron <DOT> io>
CommitDate: Thu May 19 20:58:09 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f0c1b368

dev-python/pyclip: update copyright

Signed-off-by: Tony Olagbaiye <bqv <AT> fron.io>

 dev-python/pyclip/pyclip-0.5.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyclip/pyclip-0.5.4.ebuild b/dev-python/pyclip/pyclip-0.5.4.ebuild
index e304a97a4..ee9f89570 100644
--- a/dev-python/pyclip/pyclip-0.5.4.ebuild
+++ b/dev-python/pyclip/pyclip-0.5.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyclip/
@ 2022-05-26 20:43 Ryan Fox
  0 siblings, 0 replies; 14+ messages in thread
From: Ryan Fox @ 2022-05-26 20:43 UTC (permalink / raw
  To: gentoo-commits

commit:     a5e3b8259c87d2176dbaf2c65a6403a3fc2beabc
Author:     Ryan Fox <flewkey <AT> 2a03 <DOT> party>
AuthorDate: Thu May 26 17:24:40 2022 +0000
Commit:     Ryan Fox <flewkey <AT> 2a03 <DOT> party>
CommitDate: Thu May 26 17:24:40 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a5e3b825

dev-python/pyclip: Fix tests

Closes: https://bugs.gentoo.org/847169
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Ryan Fox <flewkey <AT> 2a03.party>

 dev-python/pyclip/pyclip-0.5.4.ebuild | 20 +++++++++++++++-----
 dev-python/pyclip/pyclip-0.6.0.ebuild | 12 ++++++++++--
 dev-python/pyclip/pyclip-9999.ebuild  | 12 ++++++++++--
 3 files changed, 35 insertions(+), 9 deletions(-)

diff --git a/dev-python/pyclip/pyclip-0.5.4.ebuild b/dev-python/pyclip/pyclip-0.5.4.ebuild
index ee9f89570..4bcb1c89a 100644
--- a/dev-python/pyclip/pyclip-0.5.4.ebuild
+++ b/dev-python/pyclip/pyclip-0.5.4.ebuild
@@ -1,9 +1,9 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-PYTHON_COMPAT=( python3_{7..11} )
+PYTHON_COMPAT=( python3_{8..11} )
 DISTUTILS_USE_SETUPTOOLS=bdepend
 
 inherit distutils-r1
@@ -20,9 +20,19 @@ DESCRIPTION="Python clipboard module"
 HOMEPAGE="https://pypi.org/project/pyclip/"
 LICENSE="Apache-2.0"
 SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
 
-DEPEND=""
-RDEPEND="x11-misc/xclip"
+DEPEND="
+	test? ( dev-python/pytest[${PYTHON_USEDEP}] )
+"
+RDEPEND="
+	x11-misc/xclip
+"
 BDEPEND=""
 
-distutils_enable_tests pytest
+python_test() {
+	for unittest in "${S}/tests/"*".py"; do
+		"${EPYTHON}" "${unittest}" || die "Tests failed"
+	done
+}

diff --git a/dev-python/pyclip/pyclip-0.6.0.ebuild b/dev-python/pyclip/pyclip-0.6.0.ebuild
index 997c812c2..409487c50 100644
--- a/dev-python/pyclip/pyclip-0.6.0.ebuild
+++ b/dev-python/pyclip/pyclip-0.6.0.ebuild
@@ -20,12 +20,20 @@ DESCRIPTION="Python clipboard module"
 HOMEPAGE="https://pypi.org/project/pyclip/"
 LICENSE="Apache-2.0"
 SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
 
-DEPEND=""
+DEPEND="
+	test? ( dev-python/pytest[${PYTHON_USEDEP}] )
+"
 RDEPEND="
 	gui-apps/wl-clipboard
 	x11-misc/xclip
 "
 BDEPEND=""
 
-distutils_enable_tests pytest
+python_test() {
+	for unittest in "${S}/tests/"*".py"; do
+		"${EPYTHON}" "${unittest}" || die "Tests failed"
+	done
+}

diff --git a/dev-python/pyclip/pyclip-9999.ebuild b/dev-python/pyclip/pyclip-9999.ebuild
index 997c812c2..409487c50 100644
--- a/dev-python/pyclip/pyclip-9999.ebuild
+++ b/dev-python/pyclip/pyclip-9999.ebuild
@@ -20,12 +20,20 @@ DESCRIPTION="Python clipboard module"
 HOMEPAGE="https://pypi.org/project/pyclip/"
 LICENSE="Apache-2.0"
 SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
 
-DEPEND=""
+DEPEND="
+	test? ( dev-python/pytest[${PYTHON_USEDEP}] )
+"
 RDEPEND="
 	gui-apps/wl-clipboard
 	x11-misc/xclip
 "
 BDEPEND=""
 
-distutils_enable_tests pytest
+python_test() {
+	for unittest in "${S}/tests/"*".py"; do
+		"${EPYTHON}" "${unittest}" || die "Tests failed"
+	done
+}


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyclip/
@ 2022-05-26 20:43 Ryan Fox
  0 siblings, 0 replies; 14+ messages in thread
From: Ryan Fox @ 2022-05-26 20:43 UTC (permalink / raw
  To: gentoo-commits

commit:     d75e81c26b363a20199c12fc52d95f5fb21e4993
Author:     Ryan Fox <flewkey <AT> 2a03 <DOT> party>
AuthorDate: Thu May 26 20:38:44 2022 +0000
Commit:     Ryan Fox <flewkey <AT> 2a03 <DOT> party>
CommitDate: Thu May 26 20:38:44 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d75e81c2

dev-python/pyclip: Fix docs installation

The README.md in the repo is a symlink, so einstalldocs doesn't know how
to handle it.

Signed-off-by: Ryan Fox <flewkey <AT> 2a03.party>
Closes: https://bugs.gentoo.org/847178

 dev-python/pyclip/pyclip-0.5.4.ebuild | 1 +
 dev-python/pyclip/pyclip-0.6.0.ebuild | 1 +
 dev-python/pyclip/pyclip-9999.ebuild  | 1 +
 3 files changed, 3 insertions(+)

diff --git a/dev-python/pyclip/pyclip-0.5.4.ebuild b/dev-python/pyclip/pyclip-0.5.4.ebuild
index 4bcb1c89a..f57d3f5c1 100644
--- a/dev-python/pyclip/pyclip-0.5.4.ebuild
+++ b/dev-python/pyclip/pyclip-0.5.4.ebuild
@@ -22,6 +22,7 @@ LICENSE="Apache-2.0"
 SLOT="0"
 IUSE="test"
 RESTRICT="!test? ( test )"
+DOCS="${S}/docs/README.md"
 
 DEPEND="
 	test? ( dev-python/pytest[${PYTHON_USEDEP}] )

diff --git a/dev-python/pyclip/pyclip-0.6.0.ebuild b/dev-python/pyclip/pyclip-0.6.0.ebuild
index 409487c50..61efa2b6a 100644
--- a/dev-python/pyclip/pyclip-0.6.0.ebuild
+++ b/dev-python/pyclip/pyclip-0.6.0.ebuild
@@ -22,6 +22,7 @@ LICENSE="Apache-2.0"
 SLOT="0"
 IUSE="test"
 RESTRICT="!test? ( test )"
+DOCS="${S}/docs/README.md"
 
 DEPEND="
 	test? ( dev-python/pytest[${PYTHON_USEDEP}] )

diff --git a/dev-python/pyclip/pyclip-9999.ebuild b/dev-python/pyclip/pyclip-9999.ebuild
index 409487c50..61efa2b6a 100644
--- a/dev-python/pyclip/pyclip-9999.ebuild
+++ b/dev-python/pyclip/pyclip-9999.ebuild
@@ -22,6 +22,7 @@ LICENSE="Apache-2.0"
 SLOT="0"
 IUSE="test"
 RESTRICT="!test? ( test )"
+DOCS="${S}/docs/README.md"
 
 DEPEND="
 	test? ( dev-python/pytest[${PYTHON_USEDEP}] )


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyclip/
@ 2022-05-26 21:09 Ryan Fox
  0 siblings, 0 replies; 14+ messages in thread
From: Ryan Fox @ 2022-05-26 21:09 UTC (permalink / raw
  To: gentoo-commits

commit:     6deb9f488f576a25dd74c58ad1a75e92f7b0c52f
Author:     Ryan Fox <flewkey <AT> 2a03 <DOT> party>
AuthorDate: Thu May 26 21:04:46 2022 +0000
Commit:     Ryan Fox <flewkey <AT> 2a03 <DOT> party>
CommitDate: Thu May 26 21:04:46 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6deb9f48

dev-python/pyclip: Disable tests

Running the tests is a bad idea because the clipboard isn't always
available when building.

Signed-off-by: Ryan Fox <flewkey <AT> 2a03.party>
Closes: https://bugs.gentoo.org/847169

 dev-python/pyclip/pyclip-0.5.4.ebuild | 13 ++-----------
 dev-python/pyclip/pyclip-0.6.0.ebuild | 13 ++-----------
 dev-python/pyclip/pyclip-9999.ebuild  | 13 ++-----------
 3 files changed, 6 insertions(+), 33 deletions(-)

diff --git a/dev-python/pyclip/pyclip-0.5.4.ebuild b/dev-python/pyclip/pyclip-0.5.4.ebuild
index f57d3f5c1..9d7f2261e 100644
--- a/dev-python/pyclip/pyclip-0.5.4.ebuild
+++ b/dev-python/pyclip/pyclip-0.5.4.ebuild
@@ -20,20 +20,11 @@ DESCRIPTION="Python clipboard module"
 HOMEPAGE="https://pypi.org/project/pyclip/"
 LICENSE="Apache-2.0"
 SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
+RESTRICT="test"
 DOCS="${S}/docs/README.md"
 
-DEPEND="
-	test? ( dev-python/pytest[${PYTHON_USEDEP}] )
-"
+DEPEND=""
 RDEPEND="
 	x11-misc/xclip
 "
 BDEPEND=""
-
-python_test() {
-	for unittest in "${S}/tests/"*".py"; do
-		"${EPYTHON}" "${unittest}" || die "Tests failed"
-	done
-}

diff --git a/dev-python/pyclip/pyclip-0.6.0.ebuild b/dev-python/pyclip/pyclip-0.6.0.ebuild
index 61efa2b6a..8eb8b2e96 100644
--- a/dev-python/pyclip/pyclip-0.6.0.ebuild
+++ b/dev-python/pyclip/pyclip-0.6.0.ebuild
@@ -20,21 +20,12 @@ DESCRIPTION="Python clipboard module"
 HOMEPAGE="https://pypi.org/project/pyclip/"
 LICENSE="Apache-2.0"
 SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
+RESTRICT="test"
 DOCS="${S}/docs/README.md"
 
-DEPEND="
-	test? ( dev-python/pytest[${PYTHON_USEDEP}] )
-"
+DEPEND=""
 RDEPEND="
 	gui-apps/wl-clipboard
 	x11-misc/xclip
 "
 BDEPEND=""
-
-python_test() {
-	for unittest in "${S}/tests/"*".py"; do
-		"${EPYTHON}" "${unittest}" || die "Tests failed"
-	done
-}

diff --git a/dev-python/pyclip/pyclip-9999.ebuild b/dev-python/pyclip/pyclip-9999.ebuild
index 61efa2b6a..8eb8b2e96 100644
--- a/dev-python/pyclip/pyclip-9999.ebuild
+++ b/dev-python/pyclip/pyclip-9999.ebuild
@@ -20,21 +20,12 @@ DESCRIPTION="Python clipboard module"
 HOMEPAGE="https://pypi.org/project/pyclip/"
 LICENSE="Apache-2.0"
 SLOT="0"
-IUSE="test"
-RESTRICT="!test? ( test )"
+RESTRICT="test"
 DOCS="${S}/docs/README.md"
 
-DEPEND="
-	test? ( dev-python/pytest[${PYTHON_USEDEP}] )
-"
+DEPEND=""
 RDEPEND="
 	gui-apps/wl-clipboard
 	x11-misc/xclip
 "
 BDEPEND=""
-
-python_test() {
-	for unittest in "${S}/tests/"*".py"; do
-		"${EPYTHON}" "${unittest}" || die "Tests failed"
-	done
-}


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyclip/
@ 2022-12-19 13:48 Denis Reva
  0 siblings, 0 replies; 14+ messages in thread
From: Denis Reva @ 2022-12-19 13:48 UTC (permalink / raw
  To: gentoo-commits

commit:     56b0807bb2b15d325c4222829922812e79fc6d25
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Mon Dec 19 13:48:05 2022 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Mon Dec 19 13:48:54 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=56b0807b

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 <AT> gmail.com>

 dev-python/pyclip/Manifest            |  1 +
 dev-python/pyclip/pyclip-0.7.0.ebuild | 34 ++++++++++++++++++++++++++++++++++
 2 files changed, 35 insertions(+)

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=""


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyclip/
@ 2022-12-19 13:55 Denis Reva
  0 siblings, 0 replies; 14+ messages in thread
From: Denis Reva @ 2022-12-19 13:55 UTC (permalink / raw
  To: gentoo-commits

commit:     7c0e9a37c5cef38cfd6250a28d6c159302d23127
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Mon Dec 19 13:55:34 2022 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Mon Dec 19 13:55:34 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7c0e9a37

dev-python/pyclip: Updated 9999 version

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 dev-python/pyclip/pyclip-9999.ebuild | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/dev-python/pyclip/pyclip-9999.ebuild b/dev-python/pyclip/pyclip-9999.ebuild
index 8eb8b2e96..bdc064f8e 100644
--- a/dev-python/pyclip/pyclip-9999.ebuild
+++ b/dev-python/pyclip/pyclip-9999.ebuild
@@ -4,7 +4,8 @@
 EAPI=8
 
 PYTHON_COMPAT=( python3_{8..11} )
-DISTUTILS_USE_SETUPTOOLS=bdepend
+
+DISTUTILS_USE_PEP517="setuptools"
 
 inherit distutils-r1
 
@@ -13,19 +14,21 @@ if [[ ${PV} == 9999 ]]; then
 	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"
+	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="
-	gui-apps/wl-clipboard
-	x11-misc/xclip
+	wayland? ( gui-apps/wl-clipboard )
+	X? ( x11-misc/xclip )
 "
 BDEPEND=""


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyclip/
@ 2024-02-19 21:33 Julien Roy
  0 siblings, 0 replies; 14+ messages in thread
From: Julien Roy @ 2024-02-19 21:33 UTC (permalink / raw
  To: gentoo-commits

commit:     c9e22fa49de8e30034a4fd4ea653314ea4a45507
Author:     Julien Roy <julien <AT> jroy <DOT> ca>
AuthorDate: Mon Feb 19 21:26:49 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Mon Feb 19 21:26:49 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c9e22fa4

dev-python/pyclip: add py3.12, remove empty variable

Signed-off-by: Julien Roy <julien <AT> jroy.ca>

 dev-python/pyclip/Manifest            | 6 +++---
 dev-python/pyclip/pyclip-0.5.4.ebuild | 8 +++-----
 dev-python/pyclip/pyclip-0.6.0.ebuild | 8 +++-----
 dev-python/pyclip/pyclip-0.7.0.ebuild | 8 +++-----
 dev-python/pyclip/pyclip-9999.ebuild  | 8 +++-----
 5 files changed, 15 insertions(+), 23 deletions(-)

diff --git a/dev-python/pyclip/Manifest b/dev-python/pyclip/Manifest
index c965fff813..a21958c87b 100644
--- a/dev-python/pyclip/Manifest
+++ b/dev-python/pyclip/Manifest
@@ -1,3 +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
+DIST pyclip-0.5.4.gh.tar.gz 17056 BLAKE2B e1c29dda7496086cca4782d13fbca4dff7157ef0fdb467e7472ee1e531e53d5d1b1577bfbc3cea30f80d88def20ed34ac71b7a90e2f1728e2cdd9937ce4f2528 SHA512 c0ec789ac7b13e34d9ad91006b3b6369d552d0b79b8fc7de93f4817b0540ca889238a4bbb8ee0ac0b573d644822982f99a3ca2562dc3091440441e8d9c2361dc
+DIST pyclip-0.6.0.gh.tar.gz 17148 BLAKE2B eb67f5f832f80d69ac985a9c16fd1e01edf016c278fc48329af81aa48a98f634835ba018a4d1a278a4117e9550f9d09a2776c353d7a37c77dc3d1f146a7d3af2 SHA512 3666d187fd2a0d107197c4bc9fab9e8e248cdd8607945470b622f1ebeaba7deaf3b30dd2570b36ef82fd5fd729aebbd73da85bc51f1696652ed3ef091e96368f
+DIST pyclip-0.7.0.gh.tar.gz 17555 BLAKE2B 281a2dacd82d7501e01750134d82fc0b66ac1d41a631b9573160262c94cfb97ad463036e8ec523674580fdfb71849175e58836530d761462a72ba9ba3f2fd618 SHA512 64849befe020b0ac38aa8ed93ceb7fb275112aa49ae527fc54916ea591e09ce5a1a669d8f68083b098112a90fd36f71d2abeef6c3a8908e6cde20f04b0273877

diff --git a/dev-python/pyclip/pyclip-0.5.4.ebuild b/dev-python/pyclip/pyclip-0.5.4.ebuild
index 2a02813e7c..8172998232 100644
--- a/dev-python/pyclip/pyclip-0.5.4.ebuild
+++ b/dev-python/pyclip/pyclip-0.5.4.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 DISTUTILS_USE_SETUPTOOLS=bdepend
 
 inherit distutils-r1
@@ -12,7 +12,7 @@ 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"
+	SRC_URI="https://github.com/spyoungtech/pyclip/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
 	KEYWORDS="~amd64"
 fi
 
@@ -23,8 +23,6 @@ SLOT="0"
 RESTRICT="test"
 DOCS="${S}/docs/README.md"
 
-DEPEND=""
 RDEPEND="
 	x11-misc/xclip
 "
-BDEPEND=""

diff --git a/dev-python/pyclip/pyclip-0.6.0.ebuild b/dev-python/pyclip/pyclip-0.6.0.ebuild
index 180b72d438..80850319ac 100644
--- a/dev-python/pyclip/pyclip-0.6.0.ebuild
+++ b/dev-python/pyclip/pyclip-0.6.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 DISTUTILS_USE_SETUPTOOLS=bdepend
 
 inherit distutils-r1
@@ -12,7 +12,7 @@ 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"
+	SRC_URI="https://github.com/spyoungtech/pyclip/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
 	KEYWORDS="~amd64"
 fi
 
@@ -23,9 +23,7 @@ SLOT="0"
 RESTRICT="test"
 DOCS="${S}/docs/README.md"
 
-DEPEND=""
 RDEPEND="
 	gui-apps/wl-clipboard
 	x11-misc/xclip
 "
-BDEPEND=""

diff --git a/dev-python/pyclip/pyclip-0.7.0.ebuild b/dev-python/pyclip/pyclip-0.7.0.ebuild
index c0da4724b1..5db126b6c0 100644
--- a/dev-python/pyclip/pyclip-0.7.0.ebuild
+++ b/dev-python/pyclip/pyclip-0.7.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 DISTUTILS_USE_PEP517="setuptools"
 
@@ -13,7 +13,7 @@ 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"
+	SRC_URI="https://github.com/spyoungtech/pyclip/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
 	KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 fi
 
@@ -26,9 +26,7 @@ RESTRICT="test"
 DOCS="${S}/docs/README.md"
 REQUIRED_USE="|| ( wayland X )"
 
-DEPEND=""
 RDEPEND="
 	wayland? ( gui-apps/wl-clipboard )
 	X? ( x11-misc/xclip )
 "
-BDEPEND=""

diff --git a/dev-python/pyclip/pyclip-9999.ebuild b/dev-python/pyclip/pyclip-9999.ebuild
index c0da4724b1..5db126b6c0 100644
--- a/dev-python/pyclip/pyclip-9999.ebuild
+++ b/dev-python/pyclip/pyclip-9999.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 
 DISTUTILS_USE_PEP517="setuptools"
 
@@ -13,7 +13,7 @@ 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"
+	SRC_URI="https://github.com/spyoungtech/pyclip/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
 	KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 fi
 
@@ -26,9 +26,7 @@ RESTRICT="test"
 DOCS="${S}/docs/README.md"
 REQUIRED_USE="|| ( wayland X )"
 
-DEPEND=""
 RDEPEND="
 	wayland? ( gui-apps/wl-clipboard )
 	X? ( x11-misc/xclip )
 "
-BDEPEND=""


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyclip/
@ 2024-02-19 21:58 Lucio Sauer
  0 siblings, 0 replies; 14+ messages in thread
From: Lucio Sauer @ 2024-02-19 21:58 UTC (permalink / raw
  To: gentoo-commits

commit:     36dc547f962382ded195530b6d1d45c13c0b6bac
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Mon Feb 19 21:54:04 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Mon Feb 19 21:58:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=36dc547f

dev-python/pyclip: clipboard detection should respect USE flags

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 dev-python/pyclip/pyclip-0.7.0-r1.ebuild | 51 ++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

diff --git a/dev-python/pyclip/pyclip-0.7.0-r1.ebuild b/dev-python/pyclip/pyclip-0.7.0-r1.ebuild
new file mode 100644
index 0000000000..85ade02ebc
--- /dev/null
+++ b/dev-python/pyclip/pyclip-0.7.0-r1.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+
+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}.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"
+# Needs a working xorg/wayland setup
+RESTRICT="test"
+DOCS="${S}/docs/README.md"
+REQUIRED_USE="|| ( wayland X )"
+
+RDEPEND="
+	wayland? ( gui-apps/wl-clipboard )
+	X? ( x11-misc/xclip )
+"
+
+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
+}
+
+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
+}


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyclip/
@ 2024-02-19 21:58 Lucio Sauer
  0 siblings, 0 replies; 14+ messages in thread
From: Lucio Sauer @ 2024-02-19 21:58 UTC (permalink / raw
  To: gentoo-commits

commit:     387f0268019787ae17a476e6ef43267aab1d5e6b
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Mon Feb 19 21:57:21 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Mon Feb 19 21:58:45 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=387f0268

dev-python/pyclip: sync live ebuild

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 dev-python/pyclip/pyclip-9999.ebuild | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)

diff --git a/dev-python/pyclip/pyclip-9999.ebuild b/dev-python/pyclip/pyclip-9999.ebuild
index 5db126b6c0..85ade02ebc 100644
--- a/dev-python/pyclip/pyclip-9999.ebuild
+++ b/dev-python/pyclip/pyclip-9999.ebuild
@@ -21,7 +21,8 @@ DESCRIPTION="Python clipboard module"
 HOMEPAGE="https://pypi.org/project/pyclip/"
 LICENSE="Apache-2.0"
 SLOT="0"
-IUSE="wayland X"
+IUSE="wayland +X"
+# Needs a working xorg/wayland setup
 RESTRICT="test"
 DOCS="${S}/docs/README.md"
 REQUIRED_USE="|| ( wayland X )"
@@ -30,3 +31,21 @@ RDEPEND="
 	wayland? ( gui-apps/wl-clipboard )
 	X? ( x11-misc/xclip )
 "
+
+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
+}
+
+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
+}


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyclip/
@ 2024-02-19 21:58 Lucio Sauer
  0 siblings, 0 replies; 14+ messages in thread
From: Lucio Sauer @ 2024-02-19 21:58 UTC (permalink / raw
  To: gentoo-commits

commit:     7d5dac8d98444a0adffb848f25267f83749900fc
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Mon Feb 19 21:56:48 2024 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Mon Feb 19 21:58:45 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7d5dac8d

dev-python/pyclip: drop 0.5.4, 0.6.0, 0.7.0

Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>

 dev-python/pyclip/Manifest            |  2 --
 dev-python/pyclip/pyclip-0.5.4.ebuild | 28 ----------------------------
 dev-python/pyclip/pyclip-0.6.0.ebuild | 29 -----------------------------
 dev-python/pyclip/pyclip-0.7.0.ebuild | 32 --------------------------------
 4 files changed, 91 deletions(-)

diff --git a/dev-python/pyclip/Manifest b/dev-python/pyclip/Manifest
index a21958c87b..4905f75332 100644
--- a/dev-python/pyclip/Manifest
+++ b/dev-python/pyclip/Manifest
@@ -1,3 +1 @@
-DIST pyclip-0.5.4.gh.tar.gz 17056 BLAKE2B e1c29dda7496086cca4782d13fbca4dff7157ef0fdb467e7472ee1e531e53d5d1b1577bfbc3cea30f80d88def20ed34ac71b7a90e2f1728e2cdd9937ce4f2528 SHA512 c0ec789ac7b13e34d9ad91006b3b6369d552d0b79b8fc7de93f4817b0540ca889238a4bbb8ee0ac0b573d644822982f99a3ca2562dc3091440441e8d9c2361dc
-DIST pyclip-0.6.0.gh.tar.gz 17148 BLAKE2B eb67f5f832f80d69ac985a9c16fd1e01edf016c278fc48329af81aa48a98f634835ba018a4d1a278a4117e9550f9d09a2776c353d7a37c77dc3d1f146a7d3af2 SHA512 3666d187fd2a0d107197c4bc9fab9e8e248cdd8607945470b622f1ebeaba7deaf3b30dd2570b36ef82fd5fd729aebbd73da85bc51f1696652ed3ef091e96368f
 DIST pyclip-0.7.0.gh.tar.gz 17555 BLAKE2B 281a2dacd82d7501e01750134d82fc0b66ac1d41a631b9573160262c94cfb97ad463036e8ec523674580fdfb71849175e58836530d761462a72ba9ba3f2fd618 SHA512 64849befe020b0ac38aa8ed93ceb7fb275112aa49ae527fc54916ea591e09ce5a1a669d8f68083b098112a90fd36f71d2abeef6c3a8908e6cde20f04b0273877

diff --git a/dev-python/pyclip/pyclip-0.5.4.ebuild b/dev-python/pyclip/pyclip-0.5.4.ebuild
deleted file mode 100644
index 8172998232..0000000000
--- a/dev-python/pyclip/pyclip-0.5.4.ebuild
+++ /dev/null
@@ -1,28 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-DISTUTILS_USE_SETUPTOOLS=bdepend
-
-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}.gh.tar.gz"
-	KEYWORDS="~amd64"
-fi
-
-DESCRIPTION="Python clipboard module"
-HOMEPAGE="https://pypi.org/project/pyclip/"
-LICENSE="Apache-2.0"
-SLOT="0"
-RESTRICT="test"
-DOCS="${S}/docs/README.md"
-
-RDEPEND="
-	x11-misc/xclip
-"

diff --git a/dev-python/pyclip/pyclip-0.6.0.ebuild b/dev-python/pyclip/pyclip-0.6.0.ebuild
deleted file mode 100644
index 80850319ac..0000000000
--- a/dev-python/pyclip/pyclip-0.6.0.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-DISTUTILS_USE_SETUPTOOLS=bdepend
-
-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}.gh.tar.gz"
-	KEYWORDS="~amd64"
-fi
-
-DESCRIPTION="Python clipboard module"
-HOMEPAGE="https://pypi.org/project/pyclip/"
-LICENSE="Apache-2.0"
-SLOT="0"
-RESTRICT="test"
-DOCS="${S}/docs/README.md"
-
-RDEPEND="
-	gui-apps/wl-clipboard
-	x11-misc/xclip
-"

diff --git a/dev-python/pyclip/pyclip-0.7.0.ebuild b/dev-python/pyclip/pyclip-0.7.0.ebuild
deleted file mode 100644
index 5db126b6c0..0000000000
--- a/dev-python/pyclip/pyclip-0.7.0.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{10..12} )
-
-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}.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"
-RESTRICT="test"
-DOCS="${S}/docs/README.md"
-REQUIRED_USE="|| ( wayland X )"
-
-RDEPEND="
-	wayland? ( gui-apps/wl-clipboard )
-	X? ( x11-misc/xclip )
-"


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyclip/
@ 2024-03-21 22:11 Esteve Varela Colominas
  0 siblings, 0 replies; 14+ messages in thread
From: Esteve Varela Colominas @ 2024-03-21 22:11 UTC (permalink / raw
  To: gentoo-commits

commit:     8ff56936cb29c996b041d43c0f11324cadedc604
Author:     Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com>
AuthorDate: Thu Mar 21 21:18:53 2024 +0000
Commit:     Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com>
CommitDate: Thu Mar 21 22:10:44 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8ff56936

dev-python/pyclip: Make DOCS an array

Signed-off-by: Esteve Varela Colominas <esteve.varela <AT> gmail.com>

 dev-python/pyclip/pyclip-0.7.0-r1.ebuild | 6 ++++--
 dev-python/pyclip/pyclip-9999.ebuild     | 6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/dev-python/pyclip/pyclip-0.7.0-r1.ebuild b/dev-python/pyclip/pyclip-0.7.0-r1.ebuild
index 85ade02ebc..88d86ecd77 100644
--- a/dev-python/pyclip/pyclip-0.7.0-r1.ebuild
+++ b/dev-python/pyclip/pyclip-0.7.0-r1.ebuild
@@ -22,16 +22,18 @@ HOMEPAGE="https://pypi.org/project/pyclip/"
 LICENSE="Apache-2.0"
 SLOT="0"
 IUSE="wayland +X"
+REQUIRED_USE="|| ( wayland X )"
+
 # Needs a working xorg/wayland setup
 RESTRICT="test"
-DOCS="${S}/docs/README.md"
-REQUIRED_USE="|| ( wayland X )"
 
 RDEPEND="
 	wayland? ( gui-apps/wl-clipboard )
 	X? ( x11-misc/xclip )
 "
 
+DOCS=( docs/README.md )
+
 src_prepare() {
 	# Clipboard detection should respect USE flags
 	if use wayland && ! use X; then

diff --git a/dev-python/pyclip/pyclip-9999.ebuild b/dev-python/pyclip/pyclip-9999.ebuild
index 85ade02ebc..88d86ecd77 100644
--- a/dev-python/pyclip/pyclip-9999.ebuild
+++ b/dev-python/pyclip/pyclip-9999.ebuild
@@ -22,16 +22,18 @@ HOMEPAGE="https://pypi.org/project/pyclip/"
 LICENSE="Apache-2.0"
 SLOT="0"
 IUSE="wayland +X"
+REQUIRED_USE="|| ( wayland X )"
+
 # Needs a working xorg/wayland setup
 RESTRICT="test"
-DOCS="${S}/docs/README.md"
-REQUIRED_USE="|| ( wayland X )"
 
 RDEPEND="
 	wayland? ( gui-apps/wl-clipboard )
 	X? ( x11-misc/xclip )
 "
 
+DOCS=( docs/README.md )
+
 src_prepare() {
 	# Clipboard detection should respect USE flags
 	if use wayland && ! use X; then


^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyclip/
@ 2024-11-10 15:48 Denis Reva
  0 siblings, 0 replies; 14+ messages in thread
From: Denis Reva @ 2024-11-10 15:48 UTC (permalink / raw
  To: gentoo-commits

commit:     28596b03859400edde57db366821e07c5c3c2798
Author:     Denis Reva <denis7774 <AT> gmail <DOT> com>
AuthorDate: Sun Nov 10 15:46:37 2024 +0000
Commit:     Denis Reva <denis7774 <AT> gmail <DOT> com>
CommitDate: Sun Nov 10 15:48:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=28596b03

dev-python/pyclip: add python3.13 support

Signed-off-by: Denis Reva <denis7774 <AT> gmail.com>

 dev-python/pyclip/{pyclip-0.7.0-r1.ebuild => pyclip-0.7.0-r2.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/pyclip/pyclip-0.7.0-r1.ebuild b/dev-python/pyclip/pyclip-0.7.0-r2.ebuild
similarity index 97%
rename from dev-python/pyclip/pyclip-0.7.0-r1.ebuild
rename to dev-python/pyclip/pyclip-0.7.0-r2.ebuild
index 88d86ecd7..65a807ffa 100644
--- a/dev-python/pyclip/pyclip-0.7.0-r1.ebuild
+++ b/dev-python/pyclip/pyclip-0.7.0-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_COMPAT=( python3_{10..13} )
 
 DISTUTILS_USE_PEP517="setuptools"
 


^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2024-11-10 15:48 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-10 15:48 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyclip/ Denis Reva
  -- strict thread matches above, loose matches on Subject: below --
2024-03-21 22:11 Esteve Varela Colominas
2024-02-19 21:58 Lucio Sauer
2024-02-19 21:58 Lucio Sauer
2024-02-19 21:58 Lucio Sauer
2024-02-19 21:33 Julien Roy
2022-12-19 13:55 Denis Reva
2022-12-19 13:48 Denis Reva
2022-05-26 21:09 Ryan Fox
2022-05-26 20:43 Ryan Fox
2022-05-26 20:43 Ryan Fox
2022-05-19 20:58 Tony Olagbaiye
2022-05-18 19:35 Tony Olagbaiye
2022-05-18 16:00 Tony Olagbaiye

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox