You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-misc/asciinema/asciinema-1.3.0.ebuild

41 lines
865 B

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
PYTHON_COMPAT=( python3_4)
inherit distutils-r1
DESCRIPTION="Command line recorder for asciinema.org service"
HOMEPAGE="https://asciinema.org/ https://pypi.python.org/pypi/asciinema"
SRC_URI="https://github.com/asciinema/asciinema/archive/v1.3.0.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="amd64"
IUSE="test"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/nose[${PYTHON_USEDEP}] )
"
DOCS=( CHANGELOG.md CONTRIBUTING.md README.md doc/asciicast-v1.md )
python_prepare_all() {
distutils-r1_python_prepare_all
# obsolete, already removed in upstream git
rm asciinema/requests_http_adapter.py
}
python_test() {
nosetests || die
}
src_install() {
distutils-r1_src_install
doman man/asciinema.1
}