1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-04-20 08:33:31 +02:00

Added gscreenshot ebuild

This commit is contained in:
2016-12-15 22:09:32 +01:00
parent 6d75e3a0fd
commit 517e3bf5f2
3 changed files with 35 additions and 0 deletions
@@ -0,0 +1,33 @@
# 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_4,3_5} )
PYTHON_SINGLE_TARGET="python2_7"
inherit distutils-r1
DESCRIPTION="Python screenshot GTK program"
HOMEPAGE="https://github.com/thenaterhood/gscreenshot"
SRC_URI="https://github.com/thenaterhood/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE=""
DEPEND="dev-python/setuptools
dev-python/pillow
dev-python/pygobject"
RDEPEND="${DEPEND}
media-gfx/scrot"
DOCS=( README.md )
python_test() {
nosetests -w "${BUILD_DIR}"/lib \
|| die "Tests fail with ${EPYTHON}"
}