public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Johannes Huber" <johu@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-misc/veromix/
Date: Sat, 29 Jun 2013 10:44:23 +0000 (UTC)	[thread overview]
Message-ID: <1372502660.0c53c824689927f401f210ba32c9d1dee53189d7.johu@gentoo> (raw)

commit:     0c53c824689927f401f210ba32c9d1dee53189d7
Author:     Johannes Huber <johu <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 29 10:44:20 2013 +0000
Commit:     Johannes Huber <johu <AT> gentoo <DOT> org>
CommitDate: Sat Jun 29 10:44:20 2013 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=0c53c824

[kde-misc/veromix] Port to non-deprecated python eclass. EAPI 5.

Package-Manager: portage-2.2.0_alpha186

---
 kde-misc/veromix/veromix-0.17.0.ebuild | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/kde-misc/veromix/veromix-0.17.0.ebuild b/kde-misc/veromix/veromix-0.17.0.ebuild
index aba42cf..2f6f068 100644
--- a/kde-misc/veromix/veromix-0.17.0.ebuild
+++ b/kde-misc/veromix/veromix-0.17.0.ebuild
@@ -2,10 +2,11 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=4
-PYTHON_DEPEND="2"
+EAPI=5
+
+PYTHON_COMPAT=( python{2_5,2_6,2_7} )
 CMAKE_REQUIRED="never"
-inherit python kde4-base
+inherit python-single-r1 kde4-base
 
 DESCRIPTION="Plasmoid mixer for the Pulseaudio sound server"
 HOMEPAGE="http://kde-look.org/content/show.php?content=116676"
@@ -16,7 +17,12 @@ SLOT="4"
 KEYWORDS="~amd64"
 IUSE="debug"
 
-DEPEND="app-arch/unzip"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+	${PYTHON_DEPS}
+	app-arch/unzip
+"
 RDEPEND="
 	$(add_kdebase_dep plasma-workspace python)
 	dev-python/PyQt4[dbus]
@@ -31,12 +37,12 @@ S=${WORKDIR}
 DOCS=( Changelog )
 
 pkg_setup() {
-	python_pkg_setup
+	python-single-r1_pkg_setup
 	kde4-base_pkg_setup
 }
 
 src_prepare() {
-	python_convert_shebangs -r 2 "${S}"
+	python_fix_shebang "${S}"
 	sed -e '/^all:/s/build//' -i Makefile || die
 	sed -e 's|/usr/share/kde4/apps/|/usr/share/apps/|' -i Makefile \
 		-i org.veromix.pulseaudio.service || die


             reply	other threads:[~2013-06-29 10:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-29 10:44 Johannes Huber [this message]
  -- strict thread matches above, loose matches on Subject: below --
2016-04-27 15:34 [gentoo-commits] proj/kde:master commit in: kde-misc/veromix/ Johannes Huber
2016-03-26 16:19 Johannes Huber
2014-05-01 22:46 Johannes Huber
2013-08-08 11:00 Michael Palimaka
2012-06-05 14:06 Michael Palimaka

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=1372502660.0c53c824689927f401f210ba32c9d1dee53189d7.johu@gentoo \
    --to=johu@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