public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/rogdrv/
@ 2020-08-03 11:53 Henrik Pihl
  0 siblings, 0 replies; 7+ messages in thread
From: Henrik Pihl @ 2020-08-03 11:53 UTC (permalink / raw
  To: gentoo-commits

commit:     1b6705b67fd6abe1d425201847e9db87d7a20e4c
Author:     Henrik Pihl <ahvenas <AT> gmail <DOT> com>
AuthorDate: Mon Aug  3 11:53:35 2020 +0000
Commit:     Henrik Pihl <ahvenas <AT> gmail <DOT> com>
CommitDate: Mon Aug  3 11:53:35 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1b6705b6

sys-apps/rogdrv: new package

Signed-off-by: Henrik Pihl <ahvenas <AT> gmail.com>

 sys-apps/rogdrv/Manifest            |  1 +
 sys-apps/rogdrv/metadata.xml        | 11 +++++++++
 sys-apps/rogdrv/rogdrv-0.0.5.ebuild | 48 +++++++++++++++++++++++++++++++++++++
 3 files changed, 60 insertions(+)

diff --git a/sys-apps/rogdrv/Manifest b/sys-apps/rogdrv/Manifest
new file mode 100644
index 0000000..93471bc
--- /dev/null
+++ b/sys-apps/rogdrv/Manifest
@@ -0,0 +1 @@
+DIST rogdrv-0.0.5.tar.gz 68703 BLAKE2B 4896b35eeefa0fc35251eeae993eb54669f0ed67e401de06a688954b15cbc13691a4d52ae3ecb7441079a610505d0162c9b82da5dd98712bbdaa632773637d03 SHA512 9db833ca0b0d8ddbce484aa1745e83cb169477e1fdb76e740a4a63106756ef55a06e63ef4c97e565c4425c97ed3e7aeeefa9e099da386c8fc3e168ded720ba2d

diff --git a/sys-apps/rogdrv/metadata.xml b/sys-apps/rogdrv/metadata.xml
new file mode 100644
index 0000000..f64086d
--- /dev/null
+++ b/sys-apps/rogdrv/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<upstream>
+		<remote-id type="github">https://github.com/kyokenn/rogdrv</remote-id>
+	</upstream>
+	<maintainer type="person">
+		<email>ahvenas@gmail.com</email>
+		<name>Henrik Pihl</name>
+	</maintainer>
+</pkgmetadata>

diff --git a/sys-apps/rogdrv/rogdrv-0.0.5.ebuild b/sys-apps/rogdrv/rogdrv-0.0.5.ebuild
new file mode 100644
index 0000000..84974e4
--- /dev/null
+++ b/sys-apps/rogdrv/rogdrv-0.0.5.ebuild
@@ -0,0 +1,48 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7,8,9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1 linux-info udev
+
+COMMIT="4bdb41403d2000ae8941bc987f5a2dbafedbc544"
+DESCRIPTION="ASUS ROG userspace mouse driver for Linux."
+HOMEPAGE="https://github.com/kyokenn/rogdrv"
+S="${WORKDIR}/${PN}-${COMMIT}"
+SRC_URI="https://github.com/kyokenn/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="dev-libs/libappindicator
+		dev-python/python-evdev
+		dev-python/cffi
+		dev-python/cython-hidapi
+		virtual/udev"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+CONFIG_CHECK="~INPUT_UINPUT"
+
+python_prepare_all() {
+	# duplicate text, commited to upstream
+	sed -i -e '/Comment=ASUS/d' rogdrv.desktop rogdrv/gtk3.py
+	# udev rules are placed outside /usr
+	sed -i -e '/etc[\/]udev/d' setup.py
+	distutils-r1_python_prepare_all
+}
+
+python_install() {
+	distutils-r1_python_install
+	udev_dorules udev/50-rogdrv.rules
+}
+
+pkg_postinst() {
+	elog "Reconnect your mouse to get your mouse working with the new rules."
+	elog "See the README file for usage instructions."
+	udev_reload
+}


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

* [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/rogdrv/
@ 2020-08-03 15:07 Andrew Ammerlaan
  0 siblings, 0 replies; 7+ messages in thread
From: Andrew Ammerlaan @ 2020-08-03 15:07 UTC (permalink / raw
  To: gentoo-commits

commit:     ef2fa977b1e6cfb2a806d39cdda1f0ad9e88e06d
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Mon Aug  3 15:07:03 2020 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Mon Aug  3 15:07:03 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ef2fa977

sys-apps/rogdrv: fix missing dep

also added PYTHON_USEDEP flags
python-evdev does not have py3_9
so that had to go from PYTHON_COMPAT

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sys-apps/rogdrv/rogdrv-0.0.5.ebuild | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

diff --git a/sys-apps/rogdrv/rogdrv-0.0.5.ebuild b/sys-apps/rogdrv/rogdrv-0.0.5.ebuild
index 84974e4..17bb739 100644
--- a/sys-apps/rogdrv/rogdrv-0.0.5.ebuild
+++ b/sys-apps/rogdrv/rogdrv-0.0.5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{7,8} )
 DISTUTILS_USE_SETUPTOOLS=rdepend
 
 inherit distutils-r1 linux-info udev
@@ -19,11 +19,12 @@ SLOT="0"
 KEYWORDS="~amd64"
 IUSE=""
 
-DEPEND="dev-libs/libappindicator
-		dev-python/python-evdev
-		dev-python/cffi
-		dev-python/cython-hidapi
-		virtual/udev"
+DEPEND="
+	dev-libs/libappindicator
+	dev-python/python-evdev[${PYTHON_USEDEP}]
+	dev-python/cffi[${PYTHON_USEDEP}]
+	dev-python/hidapi[${PYTHON_USEDEP}]
+	virtual/udev"
 RDEPEND="${DEPEND}"
 BDEPEND=""
 CONFIG_CHECK="~INPUT_UINPUT"


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

* [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/rogdrv/
@ 2020-08-03 16:06 Henrik Pihl
  0 siblings, 0 replies; 7+ messages in thread
From: Henrik Pihl @ 2020-08-03 16:06 UTC (permalink / raw
  To: gentoo-commits

commit:     bdab1c751c7bb281f24bdbe4e799775f452485f6
Author:     Henrik Pihl <ahvenas <AT> gmail <DOT> com>
AuthorDate: Mon Aug  3 16:06:24 2020 +0000
Commit:     Henrik Pihl <ahvenas <AT> gmail <DOT> com>
CommitDate: Mon Aug  3 16:06:24 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bdab1c75

sys-apps/rogdrv: fix package

dev-python/cython-hidapi dep changed to dev-python/hidapi
handle python deps correctly

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Henrik Pihl <ahvenas <AT> gmail.com>

 sys-apps/rogdrv/rogdrv-0.0.5.ebuild | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/sys-apps/rogdrv/rogdrv-0.0.5.ebuild b/sys-apps/rogdrv/rogdrv-0.0.5.ebuild
index 17bb739..7e55c02 100644
--- a/sys-apps/rogdrv/rogdrv-0.0.5.ebuild
+++ b/sys-apps/rogdrv/rogdrv-0.0.5.ebuild
@@ -17,16 +17,17 @@ SRC_URI="https://github.com/kyokenn/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.g
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64"
-IUSE=""
-
-DEPEND="
-	dev-libs/libappindicator
-	dev-python/python-evdev[${PYTHON_USEDEP}]
-	dev-python/cffi[${PYTHON_USEDEP}]
-	dev-python/hidapi[${PYTHON_USEDEP}]
-	virtual/udev"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="$(python_gen_cond_dep '
+		dev-python/python-evdev[${PYTHON_USEDEP}]
+		dev-python/cffi[${PYTHON_USEDEP}]
+		dev-python/hidapi[${PYTHON_USEDEP}]
+		' python3_{7,8} )
+		dev-libs/libappindicator
+		virtual/udev
+		${PYTHON_DEPS}"
 RDEPEND="${DEPEND}"
-BDEPEND=""
 CONFIG_CHECK="~INPUT_UINPUT"
 
 python_prepare_all() {


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

* [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/rogdrv/
@ 2020-08-03 16:47 Henrik Pihl
  0 siblings, 0 replies; 7+ messages in thread
From: Henrik Pihl @ 2020-08-03 16:47 UTC (permalink / raw
  To: gentoo-commits

commit:     34a5f09a7daa6a61eb7e71c94805d941ddc05b2c
Author:     Henrik Pihl <ahvenas <AT> gmail <DOT> com>
AuthorDate: Mon Aug  3 16:47:46 2020 +0000
Commit:     Henrik Pihl <ahvenas <AT> gmail <DOT> com>
CommitDate: Mon Aug  3 16:47:46 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=34a5f09a

sys-apps/rogdrv: remove already defined variables

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Henrik Pihl <ahvenas <AT> gmail.com>

 sys-apps/rogdrv/rogdrv-0.0.5.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/sys-apps/rogdrv/rogdrv-0.0.5.ebuild b/sys-apps/rogdrv/rogdrv-0.0.5.ebuild
index 7e55c02..c093c97 100644
--- a/sys-apps/rogdrv/rogdrv-0.0.5.ebuild
+++ b/sys-apps/rogdrv/rogdrv-0.0.5.ebuild
@@ -17,7 +17,6 @@ SRC_URI="https://github.com/kyokenn/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.g
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 DEPEND="$(python_gen_cond_dep '
 		dev-python/python-evdev[${PYTHON_USEDEP}]
@@ -25,8 +24,7 @@ DEPEND="$(python_gen_cond_dep '
 		dev-python/hidapi[${PYTHON_USEDEP}]
 		' python3_{7,8} )
 		dev-libs/libappindicator
-		virtual/udev
-		${PYTHON_DEPS}"
+		virtual/udev"
 RDEPEND="${DEPEND}"
 CONFIG_CHECK="~INPUT_UINPUT"
 


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

* [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/rogdrv/
@ 2020-08-05 10:35 Henrik Pihl
  0 siblings, 0 replies; 7+ messages in thread
From: Henrik Pihl @ 2020-08-05 10:35 UTC (permalink / raw
  To: gentoo-commits

commit:     2101d4364f40a46089efe6d5e1e0597c9a4b0ceb
Author:     Henrik Pihl <ahvenas <AT> gmail <DOT> com>
AuthorDate: Wed Aug  5 10:35:34 2020 +0000
Commit:     Henrik Pihl <ahvenas <AT> gmail <DOT> com>
CommitDate: Wed Aug  5 10:35:34 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2101d436

sys-apps/rogdrv: set PYTHON_COMPAT to 3.7 only

- clean up duplicate fields

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Henrik Pihl <ahvenas <AT> gmail.com>

 sys-apps/rogdrv/rogdrv-0.0.5.ebuild | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/sys-apps/rogdrv/rogdrv-0.0.5.ebuild b/sys-apps/rogdrv/rogdrv-0.0.5.ebuild
index c093c97..fa176a2 100644
--- a/sys-apps/rogdrv/rogdrv-0.0.5.ebuild
+++ b/sys-apps/rogdrv/rogdrv-0.0.5.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_7 )
 DISTUTILS_USE_SETUPTOOLS=rdepend
 
 inherit distutils-r1 linux-info udev
@@ -18,11 +18,9 @@ LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64"
 
-DEPEND="$(python_gen_cond_dep '
-		dev-python/python-evdev[${PYTHON_USEDEP}]
+DEPEND="dev-python/python-evdev[${PYTHON_USEDEP}]
 		dev-python/cffi[${PYTHON_USEDEP}]
 		dev-python/hidapi[${PYTHON_USEDEP}]
-		' python3_{7,8} )
 		dev-libs/libappindicator
 		virtual/udev"
 RDEPEND="${DEPEND}"


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

* [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/rogdrv/
@ 2021-04-13 13:15 Andrew Ammerlaan
  0 siblings, 0 replies; 7+ messages in thread
From: Andrew Ammerlaan @ 2021-04-13 13:15 UTC (permalink / raw
  To: gentoo-commits

commit:     15f3cc37b8043d2674280d69c9433328ec859115
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Tue Apr 13 12:52:42 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Tue Apr 13 12:52:42 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=15f3cc37

sys-apps/rogdrv: bump python compat

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sys-apps/rogdrv/Manifest                                    |  2 +-
 .../{rogdrv-0.0.5.ebuild => rogdrv-0.0.5_p20210208.ebuild}  | 13 ++++++++-----
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/sys-apps/rogdrv/Manifest b/sys-apps/rogdrv/Manifest
index 93471bc9a..8697f4a91 100644
--- a/sys-apps/rogdrv/Manifest
+++ b/sys-apps/rogdrv/Manifest
@@ -1 +1 @@
-DIST rogdrv-0.0.5.tar.gz 68703 BLAKE2B 4896b35eeefa0fc35251eeae993eb54669f0ed67e401de06a688954b15cbc13691a4d52ae3ecb7441079a610505d0162c9b82da5dd98712bbdaa632773637d03 SHA512 9db833ca0b0d8ddbce484aa1745e83cb169477e1fdb76e740a4a63106756ef55a06e63ef4c97e565c4425c97ed3e7aeeefa9e099da386c8fc3e168ded720ba2d
+DIST rogdrv-0.0.5_p20210208.tar.gz 69578 BLAKE2B e163542b023423c4379b596b44b73a5c37d3c1502b0f65865bdc8dfcef2f7eb49aec9f1ca456a8bda7ad369e6bc638bc85d7f054610ce52059dbab198b9b4f36 SHA512 66a00a99409a9bf5f2a1ea887ade0408180989f671d5b4b16c40b382776cae8ad4980ca4831d7a9ade229ffa30ad0f92b56c535164a61ea6110c3e8fc889487d

diff --git a/sys-apps/rogdrv/rogdrv-0.0.5.ebuild b/sys-apps/rogdrv/rogdrv-0.0.5_p20210208.ebuild
similarity index 72%
rename from sys-apps/rogdrv/rogdrv-0.0.5.ebuild
rename to sys-apps/rogdrv/rogdrv-0.0.5_p20210208.ebuild
index fa176a200..5199a38c8 100644
--- a/sys-apps/rogdrv/rogdrv-0.0.5.ebuild
+++ b/sys-apps/rogdrv/rogdrv-0.0.5_p20210208.ebuild
@@ -1,14 +1,14 @@
-# Copyright 2020 Gentoo Authors
+# Copyright 2020-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_7 )
+PYTHON_COMPAT=( python3_{7,8,9} )
 DISTUTILS_USE_SETUPTOOLS=rdepend
 
 inherit distutils-r1 linux-info udev
 
-COMMIT="4bdb41403d2000ae8941bc987f5a2dbafedbc544"
+COMMIT="ebf9965192196feaae6828bc41bf3dac1d9a1e5e"
 DESCRIPTION="ASUS ROG userspace mouse driver for Linux."
 HOMEPAGE="https://github.com/kyokenn/rogdrv"
 S="${WORKDIR}/${PN}-${COMMIT}"
@@ -28,9 +28,12 @@ CONFIG_CHECK="~INPUT_UINPUT"
 
 python_prepare_all() {
 	# duplicate text, commited to upstream
-	sed -i -e '/Comment=ASUS/d' rogdrv.desktop rogdrv/gtk3.py
+	sed -i -e '/Comment=ASUS/d' rogdrv.desktop rogdrv/gtk3.py || die
 	# udev rules are placed outside /usr
-	sed -i -e '/etc[\/]udev/d' setup.py
+	sed -i -e '/etc[\/]udev/d' setup.py || die
+	# clear setup_requires, for some reason this package
+	# triggers something in setuptools that calls pip
+	sed -i -e '/setup_requires/,+2d' setup.py || die
 	distutils-r1_python_prepare_all
 }
 


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

* [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/rogdrv/
@ 2021-05-06  0:22 Alessandro Barbieri
  0 siblings, 0 replies; 7+ messages in thread
From: Alessandro Barbieri @ 2021-05-06  0:22 UTC (permalink / raw
  To: gentoo-commits

commit:     50609bff1295003d5fe93a4979a07dc01b71ab0a
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu May  6 00:13:25 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Thu May  6 00:22:56 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=50609bff

sys-apps/rogdrv: fix remote

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-apps/rogdrv/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/rogdrv/metadata.xml b/sys-apps/rogdrv/metadata.xml
index f64086dfe..87879d8c2 100644
--- a/sys-apps/rogdrv/metadata.xml
+++ b/sys-apps/rogdrv/metadata.xml
@@ -2,7 +2,7 @@
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
 	<upstream>
-		<remote-id type="github">https://github.com/kyokenn/rogdrv</remote-id>
+		<remote-id type="github">kyokenn/rogdrv</remote-id>
 	</upstream>
 	<maintainer type="person">
 		<email>ahvenas@gmail.com</email>


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

end of thread, other threads:[~2021-05-06  0:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-08-03 11:53 [gentoo-commits] repo/proj/guru:dev commit in: sys-apps/rogdrv/ Henrik Pihl
  -- strict thread matches above, loose matches on Subject: below --
2020-08-03 15:07 Andrew Ammerlaan
2020-08-03 16:06 Henrik Pihl
2020-08-03 16:47 Henrik Pihl
2020-08-05 10:35 Henrik Pihl
2021-04-13 13:15 Andrew Ammerlaan
2021-05-06  0:22 Alessandro Barbieri

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