1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-01-06 13:54:23 +01:00
Files
gryf-overlay/media-gfx/gscreenshot/gscreenshot-2.10.1.ebuild

34 lines
692 B
Bash

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=7
PYTHON_COMPAT=( python{2_7,3_5,3_6} )
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-2"
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}"
}