mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-11 08:03:16 -04:00
sys-apps/rogdrv: bump python compat
Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user