dev-python/pycipher: Modernize to python-r1 suite
authorDavid Seifert <soap@gentoo.org>
Sat, 2 Jul 2016 12:42:11 +0000 (14:42 +0200)
committerDavid Seifert <soap@gentoo.org>
Sat, 2 Jul 2016 13:09:43 +0000 (15:09 +0200)
* EAPI=6

Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/1814

Signed-off-by: David Seifert <soap@gentoo.org>
dev-python/pycipher/pycipher-0.2-r1.ebuild [new file with mode: 0644]

diff --git a/dev-python/pycipher/pycipher-0.2-r1.ebuild b/dev-python/pycipher/pycipher-0.2-r1.ebuild
new file mode 100644 (file)
index 0000000..40d801d
--- /dev/null
@@ -0,0 +1,30 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit python-r1
+
+DESCRIPTION="A Python module that implements several well-known classical cipher algorithms"
+HOMEPAGE="http://pycipher.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.py"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_unpack() {
+       mkdir "${S}" || die
+       cp "${DISTDIR}/${A}" "${S}/${PN}.py" || die
+}
+
+src_install() {
+       python_foreach_impl python_domodule ${PN}.py
+}