mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-04-27 03:47:32 -07:00
Package-Manager: Portage-2.3.83, Repoman-2.3.20 Signed-off-by: David Seifert <soap@gentoo.org>
31 lines
636 B
Bash
31 lines
636 B
Bash
# Copyright 1999-2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
PYTHON_COMPAT=( python3_{5,6} )
|
|
|
|
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="~amd64 ~x86"
|
|
IUSE=""
|
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
|
|
RDEPEND="${PYTHON_DEPS}"
|
|
DEPEND="${RDEPEND}"
|
|
|
|
src_unpack() {
|
|
mkdir "${S}" || die
|
|
cp "${DISTDIR}/${A}" "${S}/${PN}.py" || die
|
|
}
|
|
|
|
src_install() {
|
|
python_foreach_impl python_domodule ${PN}.py
|
|
}
|