2015-04-08 16:23:29 +03:00
|
|
|
# Copyright 1999-2015 Gentoo Foundation
|
2013-03-29 13:06:35 +04:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
2015-08-11 00:17:55 +03:00
|
|
|
# $Id$
|
2013-03-29 13:06:35 +04:00
|
|
|
|
|
|
|
EAPI=5
|
|
|
|
|
2015-04-08 16:23:29 +03:00
|
|
|
PYTHON_COMPAT=(python{2_7,3_3})
|
2014-02-09 01:40:24 +04:00
|
|
|
|
2013-03-29 13:06:35 +04:00
|
|
|
inherit distutils-r1
|
|
|
|
|
|
|
|
DESCRIPTION="Python subprocess interface"
|
|
|
|
HOMEPAGE="https://github.com/amoffat/sh"
|
|
|
|
SRC_URI="https://github.com/amoffat/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="MIT"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~amd64-linux ~x86-linux"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
DEPEND=""
|
|
|
|
RDEPEND="${DEPEND}
|
|
|
|
dev-python/setuptools[${PYTHON_USEDEP}]"
|
2014-02-09 01:40:24 +04:00
|
|
|
python_test() {
|
|
|
|
${PYTHON} test.py || die
|
|
|
|
}
|