diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-02-17 16:40:06 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-02-17 17:23:07 +0100 |
commit | 99ae53f09a108e94277b16a3912aa384d429883e (patch) | |
tree | 0c5b75c17fe3c983059d70fc121761bf43e02674 /media-sound/positron | |
parent | package.mask: Mask media-sound/jack for removal, #298850 (diff) | |
download | gentoo-99ae53f09a108e94277b16a3912aa384d429883e.tar.gz gentoo-99ae53f09a108e94277b16a3912aa384d429883e.tar.bz2 gentoo-99ae53f09a108e94277b16a3912aa384d429883e.zip |
media-sound/positron: distutils-r1, EAPI=6
Diffstat (limited to 'media-sound/positron')
-rw-r--r-- | media-sound/positron/positron-1.1-r1.ebuild (renamed from media-sound/positron/positron-1.1.ebuild) | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/media-sound/positron/positron-1.1.ebuild b/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 } |