public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-plasma/ksshaskpass/
Date: Sun, 11 Oct 2020 11:08:24 +0000 (UTC)	[thread overview]
Message-ID: <1602405275.82a4b5b8b62c9dfa0bc50eb2ec5278a8223dddc1.asturm@gentoo> (raw)

commit:     82a4b5b8b62c9dfa0bc50eb2ec5278a8223dddc1
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Oct 11 08:11:36 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Oct 11 08:34:35 2020 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=82a4b5b8

kde-plasma/ksshaskpass: Cleanup pre-5.17 migration code

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-plasma/ksshaskpass/ksshaskpass-5.20.0.ebuild   | 28 +---------------------
 .../ksshaskpass/ksshaskpass-5.20.49.9999.ebuild    | 28 +---------------------
 kde-plasma/ksshaskpass/ksshaskpass-9999.ebuild     | 28 +---------------------
 3 files changed, 3 insertions(+), 81 deletions(-)

diff --git a/kde-plasma/ksshaskpass/ksshaskpass-5.20.0.ebuild b/kde-plasma/ksshaskpass/ksshaskpass-5.20.0.ebuild
index 74622de790..3b6631f533 100644
--- a/kde-plasma/ksshaskpass/ksshaskpass-5.20.0.ebuild
+++ b/kde-plasma/ksshaskpass/ksshaskpass-5.20.0.ebuild
@@ -24,28 +24,6 @@ DEPEND="
 "
 RDEPEND="${DEPEND}"
 
-pkg_setup() {
-	ecm_pkg_setup
-
-	local srcfile=/etc/plasma/startup/05-ksshaskpass.sh
-	local newfile=/etc/xdg/plasma-workspace/env/05-ksshaskpass.sh
-	if [[ -f "${EROOT}"${srcfile} ]]; then
-		local md5=$(md5sum "${EROOT}"${srcfile})
-		if [[ ${md5%% *} != 615ae8f5b0090ff7f51d0edee7885d55 ]]; then
-			elog "Existing modified "${EPREFIX}"${srcfile} detected."
-			elog "Copying to "${EPREFIX}"${newfile}..."
-			cp -v "${EROOT}"${srcfile} "${T}"/ || die
-		fi
-	fi
-}
-
-src_prepare() {
-	ecm_src_prepare
-	if [[ ! -f "${T}"/05-ksshaskpass.sh ]]; then
-		cp "${FILESDIR}"/05-ksshaskpass.sh "${T}"/ || die
-	fi
-}
-
 src_install() {
 	ecm_src_install
 
@@ -69,10 +47,6 @@ pkg_postinst() {
 	elog "If that's not desired, select the one you want to use in"
 	elog "/etc/xdg/plasma-workspace/env/05-ksshaskpass.sh"
 
-	# Clean up pre-5.17.4 script
-	if [[ -e "${EROOT}"/etc/plasma/startup/05-ksshaskpass.sh ]]; then
-		rm "${EROOT}"/etc/plasma/startup/05-ksshaskpass.sh || die
-		elog "Removed obsolete ${EPREFIX}/etc/plasma/startup/05-ksshaskpass.sh"
-	fi
+	# Clean up pre-5.17.4 dirs
 	rmdir -v "${EROOT}"/etc/plasma{/startup,} 2> /dev/null
 }

diff --git a/kde-plasma/ksshaskpass/ksshaskpass-5.20.49.9999.ebuild b/kde-plasma/ksshaskpass/ksshaskpass-5.20.49.9999.ebuild
index fcb93a585b..114c496db8 100644
--- a/kde-plasma/ksshaskpass/ksshaskpass-5.20.49.9999.ebuild
+++ b/kde-plasma/ksshaskpass/ksshaskpass-5.20.49.9999.ebuild
@@ -24,28 +24,6 @@ DEPEND="
 "
 RDEPEND="${DEPEND}"
 
-pkg_setup() {
-	ecm_pkg_setup
-
-	local srcfile=/etc/plasma/startup/05-ksshaskpass.sh
-	local newfile=/etc/xdg/plasma-workspace/env/05-ksshaskpass.sh
-	if [[ -f "${EROOT}"${srcfile} ]]; then
-		local md5=$(md5sum "${EROOT}"${srcfile})
-		if [[ ${md5%% *} != 615ae8f5b0090ff7f51d0edee7885d55 ]]; then
-			elog "Existing modified "${EPREFIX}"${srcfile} detected."
-			elog "Copying to "${EPREFIX}"${newfile}..."
-			cp -v "${EROOT}"${srcfile} "${T}"/ || die
-		fi
-	fi
-}
-
-src_prepare() {
-	ecm_src_prepare
-	if [[ ! -f "${T}"/05-ksshaskpass.sh ]]; then
-		cp "${FILESDIR}"/05-ksshaskpass.sh "${T}"/ || die
-	fi
-}
-
 src_install() {
 	ecm_src_install
 
@@ -69,10 +47,6 @@ pkg_postinst() {
 	elog "If that's not desired, select the one you want to use in"
 	elog "/etc/xdg/plasma-workspace/env/05-ksshaskpass.sh"
 
-	# Clean up pre-5.17.4 script
-	if [[ -e "${EROOT}"/etc/plasma/startup/05-ksshaskpass.sh ]]; then
-		rm "${EROOT}"/etc/plasma/startup/05-ksshaskpass.sh || die
-		elog "Removed obsolete ${EPREFIX}/etc/plasma/startup/05-ksshaskpass.sh"
-	fi
+	# Clean up pre-5.17.4 dirs
 	rmdir -v "${EROOT}"/etc/plasma{/startup,} 2> /dev/null
 }

diff --git a/kde-plasma/ksshaskpass/ksshaskpass-9999.ebuild b/kde-plasma/ksshaskpass/ksshaskpass-9999.ebuild
index 90b12a9625..77949b1a2b 100644
--- a/kde-plasma/ksshaskpass/ksshaskpass-9999.ebuild
+++ b/kde-plasma/ksshaskpass/ksshaskpass-9999.ebuild
@@ -24,28 +24,6 @@ DEPEND="
 "
 RDEPEND="${DEPEND}"
 
-pkg_setup() {
-	ecm_pkg_setup
-
-	local srcfile=/etc/plasma/startup/05-ksshaskpass.sh
-	local newfile=/etc/xdg/plasma-workspace/env/05-ksshaskpass.sh
-	if [[ -f "${EROOT}"${srcfile} ]]; then
-		local md5=$(md5sum "${EROOT}"${srcfile})
-		if [[ ${md5%% *} != 615ae8f5b0090ff7f51d0edee7885d55 ]]; then
-			elog "Existing modified "${EPREFIX}"${srcfile} detected."
-			elog "Copying to "${EPREFIX}"${newfile}..."
-			cp -v "${EROOT}"${srcfile} "${T}"/ || die
-		fi
-	fi
-}
-
-src_prepare() {
-	ecm_src_prepare
-	if [[ ! -f "${T}"/05-ksshaskpass.sh ]]; then
-		cp "${FILESDIR}"/05-ksshaskpass.sh "${T}"/ || die
-	fi
-}
-
 src_install() {
 	ecm_src_install
 
@@ -69,10 +47,6 @@ pkg_postinst() {
 	elog "If that's not desired, select the one you want to use in"
 	elog "/etc/xdg/plasma-workspace/env/05-ksshaskpass.sh"
 
-	# Clean up pre-5.17.4 script
-	if [[ -e "${EROOT}"/etc/plasma/startup/05-ksshaskpass.sh ]]; then
-		rm "${EROOT}"/etc/plasma/startup/05-ksshaskpass.sh || die
-		elog "Removed obsolete ${EPREFIX}/etc/plasma/startup/05-ksshaskpass.sh"
-	fi
+	# Clean up pre-5.17.4 dirs
 	rmdir -v "${EROOT}"/etc/plasma{/startup,} 2> /dev/null
 }


             reply	other threads:[~2020-10-11 11:08 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-11 11:08 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-12-16 11:23 [gentoo-commits] proj/kde:master commit in: kde-plasma/ksshaskpass/ Andreas Sturmlechner
2023-12-16 11:23 Andreas Sturmlechner
2020-10-11 11:08 Andreas Sturmlechner
2020-10-04 16:25 Andreas Sturmlechner
2019-12-22 21:10 Andreas Sturmlechner
2019-12-22 20:34 Andreas Sturmlechner
2019-12-22 13:46 Andreas Sturmlechner
2019-10-23  9:27 Andreas Sturmlechner
2019-10-22 20:06 Andreas Sturmlechner
2016-07-24 11:58 Johannes Huber
2015-01-14  1:37 Johannes Huber
2015-01-14  1:37 Johannes Huber
2015-01-14  0:51 Manuel Rüger

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=1602405275.82a4b5b8b62c9dfa0bc50eb2ec5278a8223dddc1.asturm@gentoo \
    --to=asturm@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