summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2016-10-30 00:07:52 +0200
committerManuel Rüger <mrueg@gentoo.org>2016-10-30 00:07:52 +0200
commit796bc56efdfa81a0e762991920fb16c7735ed25e (patch)
tree4d3a9f9b421d3be22769218e1480bcb2d96409a8
parentdev-python/arrow: Initial version (diff)
downloadgentoo-796bc56efdfa81a0e762991920fb16c7735ed25e.tar.gz
gentoo-796bc56efdfa81a0e762991920fb16c7735ed25e.tar.bz2
gentoo-796bc56efdfa81a0e762991920fb16c7735ed25e.zip
dev-python/jinja2-time: Initial version
Package-Manager: portage-2.3.2
-rw-r--r--dev-python/jinja2-time/Manifest1
-rw-r--r--dev-python/jinja2-time/jinja2-time-0.2.0.ebuild27
-rw-r--r--dev-python/jinja2-time/metadata.xml8
3 files changed, 36 insertions, 0 deletions
diff --git a/dev-python/jinja2-time/Manifest b/dev-python/jinja2-time/Manifest
new file mode 100644
index 000000000000..993e6d6f96f0
--- /dev/null
+++ b/dev-python/jinja2-time/Manifest
@@ -0,0 +1 @@
+DIST jinja2-time-0.2.0.tar.gz 5701 SHA256 d14eaa4d315e7688daa4969f616f226614350c48730bfa1692d2caebd8c90d40 SHA512 8ac4686312cde689f7a431001833d5d477030c4f5e9470d949bd07a40fcb9521f6ddcde37a72468093121ff9451e352a0bb43d20a796d7a204cf94e8a7545f2c WHIRLPOOL c92da86a03bbbe44f2a0b98bd4895c18c99e2a05c91d129b4cb2e9810a79827a8cbd1bca656277dbd5c07597ebcba44746f541a327b408e8d348635ded63e3e2
diff --git a/dev-python/jinja2-time/jinja2-time-0.2.0.ebuild b/dev-python/jinja2-time/jinja2-time-0.2.0.ebuild
new file mode 100644
index 000000000000..b0a3dc6c27a2
--- /dev/null
+++ b/dev-python/jinja2-time/jinja2-time-0.2.0.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 python{3_4,3_5} )
+inherit distutils-r1
+
+DESCRIPTION="Jinja2 Extension for Dates and Times"
+HOMEPAGE="https://github.com/hackebrot/jinja2-time"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="dev-python/arrow[${PYTHON_USEDEP}]
+ dev-python/jinja[${PYTHON_USEDEP}]"
+DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}]
+ dev-python/freezegun[${PYTHON_USEDEP}]
+ ${RDEPEND} )"
+
+python_test() {
+ py.test || die
+}
diff --git a/dev-python/jinja2-time/metadata.xml b/dev-python/jinja2-time/metadata.xml
new file mode 100644
index 000000000000..7f4f33c6dbc9
--- /dev/null
+++ b/dev-python/jinja2-time/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>python@gentoo.org</email>
+ <name>Python</name>
+ </maintainer>
+</pkgmetadata>