forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cookiecutter-1.5.0.ebuild
42 lines (31 loc) · 1.11 KB
/
cookiecutter-1.5.0.ebuild
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
41
42
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
PYTHON_COMPAT=( python{2_7,3_4} )
inherit vcs-snapshot distutils-r1
DESCRIPTION="Command-line utility to create projects from cookiecutters (project templates)"
HOMEPAGE="https://github.com/audreyr/cookiecutter"
SRC_URI="https://github.com/audreyr/cookiecutter/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="test" # tests currently fail here
RDEPEND=">=dev-python/binaryornot-0.2.0[${PYTHON_USEDEP}]
>=dev-python/future-0.15.2[${PYTHON_USEDEP}]
>=dev-python/jinja-2.7[${PYTHON_USEDEP}]
>=dev-python/click-5.0[${PYTHON_USEDEP}]
>=dev-python/whichcraft-0.1.1[${PYTHON_USEDEP}]
>=dev-python/poyo-0.4.0[${PYTHON_USEDEP}]
>=dev-python/jinja2-time-0.1.0[${PYTHON_USEDEP}]
dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
test? (
dev-python/pytest[${PYTHON_USEDEP}]
>=dev-python/pytest-mock-1.1[${PYTHON_USEDEP}]
dev-python/freezegun[${PYTHON_USEDEP}] )"
DOCS=( README.rst HISTORY.rst CONTRIBUTING.rst )
python_test() {
py.test || die
}