dev-python/visitor: new package, dependency of flask-bootstrap, vn. 0.1.2
authorLouis Sautier <sautier.louis@gmail.com>
Mon, 25 Apr 2016 22:23:09 +0000 (00:23 +0200)
committerIan Delaney <idella4@gentoo.org>
Fri, 29 Apr 2016 07:09:44 +0000 (15:09 +0800)
Package-Manager: portage-2.2.28
Closes: https://github.com/gentoo/gentoo/pull/1353

Signed-off-by: Ian Delaney <idella4@gentoo.org>
dev-python/visitor/Manifest [new file with mode: 0644]
dev-python/visitor/metadata.xml [new file with mode: 0644]
dev-python/visitor/visitor-0.1.2.ebuild [new file with mode: 0644]

diff --git a/dev-python/visitor/Manifest b/dev-python/visitor/Manifest
new file mode 100644 (file)
index 0000000..f3c6e79
--- /dev/null
@@ -0,0 +1 @@
+DIST visitor-0.1.2.tar.gz 2957 SHA256 ff8c6231aa4a63c9f52f0d7eeedeb8561f847c4514753a9db33906296375c046 SHA512 3251e8c81673a7ded8eecd68bdc6294e4b386bfe6118280db0bac908b835aa1823cc0b470a6d69432f89821c6275afbe8c295da21edd1d10db3b8757727c43dd WHIRLPOOL 69f4d0344f3ca8ccd848bcf8ed848887c8845210dd8b9e09efa138ada5789b8c38f4a0e46e028be4b643e745d539f3a1cdf51d6b51688a97bc91146525c91a55
diff --git a/dev-python/visitor/metadata.xml b/dev-python/visitor/metadata.xml
new file mode 100644 (file)
index 0000000..3896988
--- /dev/null
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>sautier.louis@gmail.com</email>
+               <name>Louis Sautier</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>proxy-maint@gentoo.org</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="pypi">visitor</remote-id>
+               <remote-id type="github">mbr/visitor</remote-id>
+               <bugs-to>https://github.com/mbr/visitor/issues</bugs-to>
+       </upstream>
+</pkgmetadata>
diff --git a/dev-python/visitor/visitor-0.1.2.ebuild b/dev-python/visitor/visitor-0.1.2.ebuild
new file mode 100644 (file)
index 0000000..0d1c1bf
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python{2_7,3_4,3_5} )
+
+inherit distutils-r1
+
+DESCRIPTION="A tiny pythonic visitor implementation"
+HOMEPAGE="https://github.com/mbr/visitor"
+# PyPI tarballs don't include tests
+# https://github.com/mbr/visitor/pull/2
+SRC_URI="https://github.com/mbr/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+DEPEND="
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       test? (
+               dev-python/pytest-runner[${PYTHON_USEDEP}]
+               dev-python/pytest[${PYTHON_USEDEP}]
+       )
+"
+RDEPEND=""
+
+python_test() {
+       py.test || die "Tests failed with ${EPYTHON}"
+}