commit: 99ae53f09a108e94277b16a3912aa384d429883e
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 17 15:40:06 2017 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Feb 17 16:23:07 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99ae53f0
media-sound/positron: distutils-r1, EAPI=6
...{positron-1.1.ebuild => positron-1.1-r1.ebuild} | 23 +++++++++-------------
1 file changed, 9 insertions(+), 14 deletions(-)
diff --git a/media-sound/positron/positron-1.1.ebuild
b/media-sound/positron/positron-1.1-r1.ebuild
similarity index 57%
rename from media-sound/positron/positron-1.1.ebuild
rename to media-sound/positron/positron-1.1-r1.ebuild
index 7f435ff1a4..fe307a9901 100644
--- a/media-sound/positron/positron-1.1.ebuild
+++ b/media-sound/positron/positron-1.1-r1.ebuild
@@ -1,31 +1,26 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="3"
-PYTHON_DEPEND="2"
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
-inherit distutils
+inherit distutils-r1
-DESCRIPTION="Synchronization manager for the Neuros Audio Computer
(www.neurosaudio.com) portable music player"
+DESCRIPTION="Synchronization manager for the Neuros Audio Computer"
HOMEPAGE="http://www.xiph.org/positron"
SRC_URI="http://www.xiph.org/positron/files/source/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
-KEYWORDS="x86 ppc sparc amd64"
+KEYWORDS="amd64 ppc sparc x86"
IUSE="vorbis"
-DEPEND="vorbis? ( dev-python/pyvorbis )"
+DEPEND="vorbis? ( dev-python/pyvorbis[${PYTHON_USEDEP}] )"
RDEPEND="${DEPEND}"
-pkg_setup() {
- python_set_active_version 2
- python_pkg_setup
-}
-
-src_prepare() {
- distutils_src_prepare
+python_prepare_all() {
# install docs in /usr/share/doc/${PF}, bug #241290
sed -i -e "s:share/doc/positron:share/doc/${PF}:" setup.py
+ distutils-r1_python_prepare_all
}