commit:     329945a1cf9a7505a8d79d2035b7f35f5d5a983f
Author:     Justin Lecher <jlec <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 22 10:17:01 2015 +0000
Commit:     Justin Lecher <jlec <AT> gentoo <DOT> org>
CommitDate: Tue Sep 22 10:17:01 2015 +0000
URL:        https://gitweb.gentoo.org/proj/betagarden.git/commit/?id=329945a1

app-crypt/onetime: Clean old and move to new python eclass

Package-Manager: portage-2.2.21
Signed-off-by: Justin Lecher <jlec <AT> gentoo.org>

 app-crypt/onetime/onetime-1.111.ebuild             | 29 ----------------------
 app-crypt/onetime/onetime-1.115.ebuild             | 29 ----------------------
 .../{onetime-1.110.ebuild => onetime-1.81.ebuild}  | 19 ++++++++------
 3 files changed, 11 insertions(+), 66 deletions(-)

diff --git a/app-crypt/onetime/onetime-1.111.ebuild 
b/app-crypt/onetime/onetime-1.111.ebuild
deleted file mode 100644
index 9f2631f..0000000
--- a/app-crypt/onetime/onetime-1.111.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="3"
-PYTHON_DEPEND="2"
-
-inherit python
-
-DESCRIPTION="An Encoder/Decoder Using The 'One-Time Pad' Method"
-HOMEPAGE="http://www.red-bean.com/onetime/";
-SRC_URI="http://www.red-bean.com/${PN}/${P}.tar.gz";
-
-LICENSE="CC-PD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND=""
-
-src_compile() {
-       :
-}
-
-src_install() {
-       dobin onetime || die
-       dodoc README || die
-}

diff --git a/app-crypt/onetime/onetime-1.115.ebuild 
b/app-crypt/onetime/onetime-1.115.ebuild
deleted file mode 100644
index 9f2631f..0000000
--- a/app-crypt/onetime/onetime-1.115.ebuild
+++ /dev/null
@@ -1,29 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="3"
-PYTHON_DEPEND="2"
-
-inherit python
-
-DESCRIPTION="An Encoder/Decoder Using The 'One-Time Pad' Method"
-HOMEPAGE="http://www.red-bean.com/onetime/";
-SRC_URI="http://www.red-bean.com/${PN}/${P}.tar.gz";
-
-LICENSE="CC-PD"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-
-DEPEND=""
-RDEPEND=""
-
-src_compile() {
-       :
-}
-
-src_install() {
-       dobin onetime || die
-       dodoc README || die
-}

diff --git a/app-crypt/onetime/onetime-1.110.ebuild 
b/app-crypt/onetime/onetime-1.81.ebuild
similarity index 59%
rename from app-crypt/onetime/onetime-1.110.ebuild
rename to app-crypt/onetime/onetime-1.81.ebuild
index 9f2631f..ce33ba7 100644
--- a/app-crypt/onetime/onetime-1.110.ebuild
+++ b/app-crypt/onetime/onetime-1.81.ebuild
@@ -1,11 +1,12 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
-EAPI="3"
-PYTHON_DEPEND="2"
+EAPI=5
 
-inherit python
+PYTHON_COMPAT=( python2_7 )
+
+inherit python-r1
 
 DESCRIPTION="An Encoder/Decoder Using The 'One-Time Pad' Method"
 HOMEPAGE="http://www.red-bean.com/onetime/";
@@ -16,14 +17,16 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-DEPEND=""
-RDEPEND=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="${DEPEND}"
 
 src_compile() {
        :
 }
 
 src_install() {
-       dobin onetime || die
-       dodoc README || die
+       python_foreach_impl python_doscript ${PN}
+       dodoc README
 }

Reply via email to