commit: 0e847fab5e8721c94c62eb0bee0c11ab399dd62f Author: Tiziano Müller <dev-zero <AT> gentoo <DOT> org> AuthorDate: Fri Feb 26 07:32:58 2016 +0000 Commit: Tiziano Müller <dev-zero <AT> gentoo <DOT> org> CommitDate: Fri Feb 26 08:05:14 2016 +0000 URL: https://gitweb.gentoo.org/dev/dev-zero.git/commit/?id=0e847fab
dev-python/pyperclip: initial commit (required by app-misc/mpw) dev-python/pyperclip/Manifest | 1 + dev-python/pyperclip/pyperclip-1.5.26.ebuild | 37 ++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/dev-python/pyperclip/Manifest b/dev-python/pyperclip/Manifest new file mode 100644 index 0000000..a45f7e0 --- /dev/null +++ b/dev-python/pyperclip/Manifest @@ -0,0 +1 @@ +DIST pyperclip-1.5.26.zip 16915 SHA256 15929bdb305ca54ff090f066de985aa7b21f3d5f0b695edab880f0246559a88b SHA512 35caa2f73cd220efbe51d38070889dc4378624ec41d6071628304d98a22e7eb07a6f145ed977553a28c7747402c4cf0047d97430f4e0f4114e2d295b86d2a375 WHIRLPOOL 976ca17c238d530d25358c6f1103bec3d813bed383e2135ef1e12629e492198b343feabc22a5951036659d9756b25be4b71fd9689380f66ac9ef6fa16e324a46 diff --git a/dev-python/pyperclip/pyperclip-1.5.26.ebuild b/dev-python/pyperclip/pyperclip-1.5.26.ebuild new file mode 100644 index 0000000..bb70217 --- /dev/null +++ b/dev-python/pyperclip/pyperclip-1.5.26.ebuild @@ -0,0 +1,37 @@ +# 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_3,3_4,3_5} ) + +inherit distutils-r1 virtualx + +DESCRIPTION="Cross-platform clipboard module" +HOMEPAGE="https://github.com/asweigart/pyperclip https://pypi.python.org/pypi/pyperclip" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.zip" + +LICENSE="" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + app-arch/unzip" +RDEPEND="test? ( + || ( x11-misc/xsel + x11-misc/xclip + dev-python/PyQt4[${PYTHON_USEDEP}] ) + )" + +RESTRICT="test" +# tests are not part of the pypi tarball and there are no tags on github + +python_compile() { + unset DISPLAY + distutils-r1_python_compile +} + +python_test() { + virtx esetup.py test +}