commit: 4368f8a48b0510ed97a34980229fdc2fe58fa938 Author: Louis Sautier <sautier.louis <AT> gmail <DOT> com> AuthorDate: Mon Apr 25 22:23:09 2016 +0000 Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org> CommitDate: Fri Apr 29 07:09:44 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4368f8a4
dev-python/visitor: new package, dependency of flask-bootstrap, vn. 0.1.2 Package-Manager: portage-2.2.28 Closes: https://github.com/gentoo/gentoo/pull/1353 Signed-off-by: Ian Delaney <idella4 <AT> gentoo.org> dev-python/visitor/Manifest | 1 + dev-python/visitor/metadata.xml | 17 +++++++++++++++++ dev-python/visitor/visitor-0.1.2.ebuild | 32 ++++++++++++++++++++++++++++++++ 3 files changed, 50 insertions(+) diff --git a/dev-python/visitor/Manifest b/dev-python/visitor/Manifest new file mode 100644 index 0000000..f3c6e79 --- /dev/null +++ b/dev-python/visitor/Manifest @@ -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 index 0000000..3896988 --- /dev/null +++ b/dev-python/visitor/metadata.xml @@ -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.lo...@gmail.com</email> + <name>Louis Sautier</name> + </maintainer> + <maintainer type="project"> + <email>proxy-ma...@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 index 0000000..0d1c1bf --- /dev/null +++ b/dev-python/visitor/visitor-0.1.2.ebuild @@ -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}" +}