public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-apps/razercfg/
Date: Fri,  1 Jan 2021 01:56:01 +0000 (UTC)	[thread overview]
Message-ID: <1609466157.0528c59d2f8f01efd3bf492f2795e2c6e36e0295.mgorny@gentoo> (raw)

commit:     0528c59d2f8f01efd3bf492f2795e2c6e36e0295
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Jan  1 01:54:06 2021 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Jan  1 01:55:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0528c59d

sys-apps/razercfg: Remove old (py3.6)

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 sys-apps/razercfg/Manifest                |  1 -
 sys-apps/razercfg/metadata.xml            |  2 -
 sys-apps/razercfg/razercfg-0.39-r2.ebuild | 90 -------------------------------
 3 files changed, 93 deletions(-)

diff --git a/sys-apps/razercfg/Manifest b/sys-apps/razercfg/Manifest
index d8ef4efa14f..5699716bb14 100644
--- a/sys-apps/razercfg/Manifest
+++ b/sys-apps/razercfg/Manifest
@@ -1,2 +1 @@
-DIST razercfg-0.39.tar.bz2 178142 BLAKE2B cf2d92d24a0dbfdae4045c2dab30a64bc4de64d730c075a4d852790ff62bcbadd714953fac925e69b671355cbdfdec7ce9db5693fbfa8e2aab69de6247c95c1a SHA512 165fee898a01b7f0086eb6705ef9f24fd8b8836025c071f7851a493181b8d193d0db70fc1731a8586de1f1c795aab4d20bb4ee8526b612c66ba3c434c6e10137
 DIST razercfg-0.42.tar.xz 103300 BLAKE2B 83f9432edf4deda78514dd1e2a65e04981d3646c543ebf3b74060f5d6ee5f9c3ddec5b0c544c11c9968c790172ae2bd4d4503adaf1428ca31337fdcd33d8545c SHA512 3856f4133b620fb639a46a5bb02fe8e6c47ae3928a04fe9d1bbef2792a44fdd4f5dff2efa43a1e43d75312025d3c65c626e331e723092e4e0b8d6622657fb197

diff --git a/sys-apps/razercfg/metadata.xml b/sys-apps/razercfg/metadata.xml
index e10f5181e6f..c8db6971140 100644
--- a/sys-apps/razercfg/metadata.xml
+++ b/sys-apps/razercfg/metadata.xml
@@ -10,8 +10,6 @@
     <name>Proxy Maintainers</name>
   </maintainer>
   <use>
-    <flag name="pm-utils">Installs the pm-utils hooks for suspend/resume and
-    requires <pkg>sys-power/pm-utils</pkg></flag>
     <flag name="gui">Installs GUI configuration utility and status bar applet.
     Requires <pkg>dev-python/PyQt5</pkg></flag>
   </use>

diff --git a/sys-apps/razercfg/razercfg-0.39-r2.ebuild b/sys-apps/razercfg/razercfg-0.39-r2.ebuild
deleted file mode 100644
index 2d13385579e..00000000000
--- a/sys-apps/razercfg/razercfg-0.39-r2.ebuild
+++ /dev/null
@@ -1,90 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_6 )
-
-inherit cmake-utils python-single-r1 systemd udev
-
-DESCRIPTION="Utility for advanced configuration of Razer mice"
-HOMEPAGE="https://bues.ch/cms/hacking/razercfg.html"
-SRC_URI="https://bues.ch/${PN}/${P}.tar.bz2"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="+pm-utils +udev"
-
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="${PYTHON_DEPS}
-	virtual/libusb:1
-	pm-utils? ( sys-power/pm-utils )
-	udev? ( virtual/udev )
-"
-DEPEND="${PYTHON_DEPS}
-	$(python_gen_cond_dep '
-		dev-python/setuptools[${PYTHON_MULTI_USEDEP}]
-	')
-	virtual/libusb:1
-	virtual/pkgconfig
-"
-
-PATCHES=( "${FILESDIR}/${P}-unit-variables.patch" )
-
-src_prepare() {
-	cmake-utils_src_prepare
-
-	sed -i CMakeLists.txt \
-		-e '/udevadm control/{N;d}' \
-		-e '/systemctl/{N;d}' \
-		-e "s:/etc/pm/sleep.d:/usr/$(get_libdir)/pm-utils/sleep.d/:" \
-		-e 's:50-razer:80razer:' \
-		|| die
-
-	sed -i librazer/CMakeLists.txt \
-		-e '/ldconfig/{N;d}' \
-		-e "s:DESTINATION lib:DESTINATION $(get_libdir):" \
-		|| die
-
-	sed -i razercfg.desktop.template \
-		-e '/^Categories=/s/=.*$/=Qt;Settings/' \
-		|| die
-}
-
-src_configure() {
-	local mycmakeargs=(
-		-DPYTHON="${PYTHON}"
-		-DSYSTEMD_UNIT_DIR="$(systemd_get_systemunitdir)"
-		-DUDEV_DIR="$(get_udevdir)"
-	)
-	RAZERCFG_PKG_BUILD=1 cmake-utils_src_configure
-}
-
-src_install() {
-	RAZERCFG_PKG_BUILD=1 cmake-utils_src_install
-
-	newinitd "${FILESDIR}"/razerd.init.d-r2 razerd
-	dodoc README.* HACKING.* razer.conf
-
-	rm "${D%/}"/usr/bin/qrazercfg{,-applet} || die
-	rm "${D%/}"/usr/share/icons/hicolor/scalable/apps/razercfg* || die
-	rm "${D%/}"/usr/share/applications/razercfg.desktop || die
-
-	if ! use pm-utils; then
-		rm "${D%/}/usr/$(get_libdir)/pm-utils/sleep.d/80razer" || die
-	fi
-}
-
-pkg_postinst() {
-	if use udev ; then
-		udevadm control --reload-rules
-		udevadm trigger --subsystem-match=usb
-	fi
-
-	if [[ -e "${ROOT%/}"/usr/bin/pyrazer.pyc ]]; then
-		eerror "A stale ${ROOT}usr/bin/pyrazer.pyc exists and will prevent"
-		eerror "the Python frontends from working until removed manually."
-	fi
-}


             reply	other threads:[~2021-01-01  1:56 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-01  1:56 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-14  9:00 [gentoo-commits] repo/gentoo:master commit in: sys-apps/razercfg/ Arthur Zamarin
2023-10-04 19:37 Sam James
2023-05-04  4:18 Viorel Munteanu
2022-05-26  1:14 Sam James
2021-09-03  1:53 Sam James
2021-05-23 16:34 Michał Górny
2020-07-24  8:28 Joonas Niilola
2020-07-24  8:28 Joonas Niilola
2020-07-24  8:28 Joonas Niilola
2020-02-09 16:42 Michał Górny
2018-03-22 14:57 Andreas Sturmlechner
2017-10-16  3:34 David Seifert
2017-05-06 20:25 Michael Orlitzky
2017-05-06 20:25 Michael Orlitzky
2017-04-20 16:41 David Seifert
2017-03-24 15:14 Wolfram Schlich
2016-07-07 19:48 Austin English
2016-06-11 20:39 Pacho Ramos

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1609466157.0528c59d2f8f01efd3bf492f2795e2c6e36e0295.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox