blob: 4fa5b5e56a5f2a05b346477ed4827f3c5b0078c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# 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
}
|