diff options
author | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-04-06 17:37:44 +0000 |
---|---|---|
committer | Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> | 2011-04-06 17:37:44 +0000 |
commit | a0b7922026d0fc0457ff494bfcd27d85ebb8b0e3 (patch) | |
tree | f73d14ec9b96f8365ce50d9aac1dee535bb08d6d /app-cdr/sync2cd | |
parent | Use the new ffmpeg virtual, bug 362093. (diff) | |
download | gentoo-2-a0b7922026d0fc0457ff494bfcd27d85ebb8b0e3.tar.gz gentoo-2-a0b7922026d0fc0457ff494bfcd27d85ebb8b0e3.tar.bz2 gentoo-2-a0b7922026d0fc0457ff494bfcd27d85ebb8b0e3.zip |
Use Python 2 (bug #308331).
(Portage version: 2.2.0_alpha29_p10/cvs/Linux x86_64)
Diffstat (limited to 'app-cdr/sync2cd')
-rw-r--r-- | app-cdr/sync2cd/ChangeLog | 6 | ||||
-rw-r--r-- | app-cdr/sync2cd/sync2cd-1.3.ebuild | 17 |
2 files changed, 19 insertions, 4 deletions
diff --git a/app-cdr/sync2cd/ChangeLog b/app-cdr/sync2cd/ChangeLog index 964c10cc5954..2a03fe098c4c 100644 --- a/app-cdr/sync2cd/ChangeLog +++ b/app-cdr/sync2cd/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-cdr/sync2cd # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-cdr/sync2cd/ChangeLog,v 1.16 2011/03/31 15:28:18 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-cdr/sync2cd/ChangeLog,v 1.17 2011/04/06 17:37:44 arfrever Exp $ + + 06 Apr 2011; Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> + sync2cd-1.3.ebuild: + Use Python 2 (bug #308331). 31 Mar 2011; Samuli Suominen <ssuominen@gentoo.org> sync2cd-1.3.ebuild: Use virtual/eject instead of sys-apps/eject. diff --git a/app-cdr/sync2cd/sync2cd-1.3.ebuild b/app-cdr/sync2cd/sync2cd-1.3.ebuild index e7f1521223c0..4deb4232c617 100644 --- a/app-cdr/sync2cd/sync2cd-1.3.ebuild +++ b/app-cdr/sync2cd/sync2cd-1.3.ebuild @@ -1,12 +1,16 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-cdr/sync2cd/sync2cd-1.3.ebuild,v 1.5 2011/03/31 15:28:18 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-cdr/sync2cd/sync2cd-1.3.ebuild,v 1.6 2011/04/06 17:37:44 arfrever Exp $ + +EAPI="3" +PYTHON_DEPEND="2" inherit distutils DESCRIPTION="An incremental archiving tool to CD/DVD." HOMEPAGE="http://www.calins.ch/software/sync2cd.html" SRC_URI="http://www.calins.ch/download/${PN}/${P}.tar.gz" + LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 ppc x86" @@ -17,7 +21,14 @@ RDEPEND="virtual/eject dvdr? ( app-cdr/dvd+rw-tools )" DEPEND="" +PYTHON_MODNAME="sync2cd.py" + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + src_test() { - cd "${S}"/tests - ./run.py || die "Unit tests failed" + cd tests + "$(PYTHON)" run.py || die "Unit tests failed" } |