From: Michał Górny Date: Fri, 17 Feb 2017 15:40:06 +0000 (+0100) Subject: media-sound/positron: distutils-r1, EAPI=6 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=99ae53f09a108e94277b16a3912aa384d429883e;p=gentoo.git media-sound/positron: distutils-r1, EAPI=6 --- 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 7f435ff1a444..fe307a9901cc 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 }