dev-util/cookiecutter: Initial version
authorManuel Rüger <mrueg@gentoo.org>
Sun, 30 Oct 2016 15:38:13 +0000 (16:38 +0100)
committerManuel Rüger <mrueg@gentoo.org>
Sun, 30 Oct 2016 15:38:13 +0000 (16:38 +0100)
Package-Manager: portage-2.3.2

dev-util/cookiecutter/Manifest [new file with mode: 0644]
dev-util/cookiecutter/cookiecutter-1.4.0.ebuild [new file with mode: 0644]
dev-util/cookiecutter/metadata.xml [new file with mode: 0644]

diff --git a/dev-util/cookiecutter/Manifest b/dev-util/cookiecutter/Manifest
new file mode 100644 (file)
index 0000000..ef7f38e
--- /dev/null
@@ -0,0 +1 @@
+DIST cookiecutter-1.4.0.tar.gz 226136 SHA256 7697b1d64cd9b8eb5abd9e7594e318a80f1382f45d879c425944175697b29db2 SHA512 21cc9293b81c21f9256a73728310bd7898b2132bc007ef650ba94394e872aa97dfba83b93018923e773b908f8822f5f9d992e5cc078936e2f9ba032f3cc83f9d WHIRLPOOL d1b01766fa42eaa46b6fefe2b82ebe7712c83327e08704ddc938c8dc8f5fb0167e2d1cfe47373274f2ef387c4a253d9f88b46ac57804ed7557b8585da94b7590
diff --git a/dev-util/cookiecutter/cookiecutter-1.4.0.ebuild b/dev-util/cookiecutter/cookiecutter-1.4.0.ebuild
new file mode 100644 (file)
index 0000000..e56a33a
--- /dev/null
@@ -0,0 +1,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
+}
diff --git a/dev-util/cookiecutter/metadata.xml b/dev-util/cookiecutter/metadata.xml
new file mode 100644 (file)
index 0000000..97df2a0
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>mrueg@gentoo.org</email>
+               <name>Manuel Rüger</name>
+       </maintainer>
+</pkgmetadata>