From e752023030c83884c794790b133afeee8f4a0664 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 8 Jun 2011 07:54:09 -0400 Subject: [PATCH] Add yolk dependency yolk-portage. --- dev-python/yolk-portage/Manifest | 2 ++ .../yolk-portage/yolk-portage-0.1.ebuild | 26 +++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 dev-python/yolk-portage/Manifest create mode 100644 dev-python/yolk-portage/yolk-portage-0.1.ebuild diff --git a/dev-python/yolk-portage/Manifest b/dev-python/yolk-portage/Manifest new file mode 100644 index 0000000..ed51ba1 --- /dev/null +++ b/dev-python/yolk-portage/Manifest @@ -0,0 +1,2 @@ +DIST yolk-portage-0.1.tar.gz 2497 RMD160 3c616bb61e4beed8dcd847d8f69179d92a57ca23 SHA1 6379cd794f7c9419524491a498039ece7ccae299 SHA256 32b25d2567c755d5aca2c3da3d0ce4d63b65b1d81ac1effa66444dd561134262 +EBUILD yolk-portage-0.1.ebuild 675 RMD160 3719c88b7797f3abc91f007b2a15128d2129e416 SHA1 57f543989ed8c8f365b119ab6f2cc01e2b072a78 SHA256 28a91fe51ba846a0e0dc1f69fa5ce4f64724d72ea34a440aa2a90a39beebde6b diff --git a/dev-python/yolk-portage/yolk-portage-0.1.ebuild b/dev-python/yolk-portage/yolk-portage-0.1.ebuild new file mode 100644 index 0000000..571f6bf --- /dev/null +++ b/dev-python/yolk-portage/yolk-portage-0.1.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="3" + +PYTHON_DEPEND="*:2.6" +SUPPORT_PYTHON_ABIS="1" +RESTRICT_PYTHON_ABIS="3.*" + +inherit distutils + +DESCRIPTION="Plugin to show which Python packages were installed via Gentoo's Portage system." +HOMEPAGE="http://tools.assembla.com/yolk/" +SRC_URI="http://pypi.python.org/packages/source/y/yolk-portage/${P}.tar.gz" +LICENSE="GPL-2" +KEYWORDS="~x86" +SLOT="0" +IUSE="test" +DEPEND="dev-python/setuptools + test? ( dev-python/nose )" + +src_test() { + PYTHONPATH=. "${python}" setup.py nosetests || die "tests failed" +} + -- 2.26.2