commit: 6dd357a4d5fa8afbb8ec56b19a3669dc63cfa55e Author: Tiziano Müller <dev-zero <AT> gentoo <DOT> org> AuthorDate: Fri Feb 26 10:11:34 2016 +0000 Commit: Tiziano Müller <dev-zero <AT> gentoo <DOT> org> CommitDate: Fri Feb 26 10:11:34 2016 +0000 URL: https://gitweb.gentoo.org/dev/dev-zero.git/commit/?id=6dd357a4
app-misc/mpw: initial commit app-misc/mpw/Manifest | 1 + app-misc/mpw/mpw-0.4.ebuild | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/app-misc/mpw/Manifest b/app-misc/mpw/Manifest new file mode 100644 index 0000000..d6bae1c --- /dev/null +++ b/app-misc/mpw/Manifest @@ -0,0 +1 @@ +DIST mpw-0.4.tar.gz 16211 SHA256 6d019c5d2a61837ad9df5389a5d9d4dc66044064561e19fc0f7d35489dab61b9 SHA512 fdde2aa074bf0670d140a7a21ea204f0bada2ab18814a6301684f4db13b7d4fe13c69007241ea7ea978245516a4c9aa380d245dc1897597e185c8c571501baad WHIRLPOOL 9f3f44ebb0fd357aa6c4345654d3bca465ca2a9bc87c0197d06fe62c96cf4205e2a245b645f74a1d37c95d2111121c0437094c8f13cbbb33e66f5884e47f4f65 diff --git a/app-misc/mpw/mpw-0.4.ebuild b/app-misc/mpw/mpw-0.4.ebuild new file mode 100644 index 0000000..345383b --- /dev/null +++ b/app-misc/mpw/mpw-0.4.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python3_5 ) + +inherit distutils-r1 vcs-snapshot virtualx + +DESCRIPTION="Python implementation of the Master Password algorithm" +HOMEPAGE="https://pypi.python.org/pypi/mpw" +SRC_URI="https://bitbucket.org/ssc/mpw/get/0.4.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +RDEPEND="dev-python/click[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/pyperclip[${PYTHON_USEDEP}] + dev-python/scrypt[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + || ( x11-misc/xsel + x11-misc/xclip + dev-python/PyQt4[${PYTHON_USEDEP}] ) + )" + +python_test() { + virtx py.test -vv tests || die "Tests failed under ${EPYTHON}" +}