diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-python/visitor | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-python/visitor')
-rw-r--r-- | dev-python/visitor/Manifest | 3 | ||||
-rw-r--r-- | dev-python/visitor/metadata.xml | 13 | ||||
-rw-r--r-- | dev-python/visitor/visitor-0.1.3.ebuild | 30 |
3 files changed, 46 insertions, 0 deletions
diff --git a/dev-python/visitor/Manifest b/dev-python/visitor/Manifest new file mode 100644 index 000000000000..789261bf94c9 --- /dev/null +++ b/dev-python/visitor/Manifest @@ -0,0 +1,3 @@ +DIST visitor-0.1.3.tar.gz 2985 BLAKE2B d645e3524ee5d072320e6feca39faef72b880ec7341053d078778765d9b279bd2ee3f892c0fcd5f21633e7851acd49ac23aef769eaf190147803ce711b717da6 SHA512 414c77df8efcc22df5ee8073e02b8c5c28563954ef9b9a869c4ea3f7f1268a97929c1fe29142ba41e3a5acafea52599f6bf073aacd654643d7d8380cd4f41fbc +EBUILD visitor-0.1.3.ebuild 672 BLAKE2B 45119d71ff258a2d1b9e1c834e2b61ce98e419a29a0c9606219ac0b93e48f989b98919fd90d83ddeb18d342f8b4a89762d52bf1f4915a1e5594a1f9b1faeb00a SHA512 8c6f858b36a38190be8b6c2ef90e08f487a9bdeb9ea269eae4f36a006190b40e8626b68c11c74caaa88746ae1c8fd817fc91064cdb2a0893a333e520dffa0746 +MISC metadata.xml 425 BLAKE2B cc0a5e61430649338d19a17059161dceb4e843aad01757da22faf77c327750b901abc8bbcfe0879909febb0f94d764c77494aed2ab9eb4b7b241412a9a993a79 SHA512 21c655b1feebe9dd77a24e8af3fed6c8f40a79c6696940b455da05ad61c0cada17dc99f8c34f3b05309fcaaa1f96261d6546dfa3e8ca21d26323985f713d6bfa diff --git a/dev-python/visitor/metadata.xml b/dev-python/visitor/metadata.xml new file mode 100644 index 000000000000..44de357a8eac --- /dev/null +++ b/dev-python/visitor/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>sbraz@gentoo.org</email> + <name>Louis Sautier</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.3.ebuild b/dev-python/visitor/visitor-0.1.3.ebuild new file mode 100644 index 000000000000..b6ff311f6c16 --- /dev/null +++ b/dev-python/visitor/visitor-0.1.3.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( pypy{,3} python{2_7,3_{4,5,6}} ) + +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[${PYTHON_USEDEP}] + ) +" +RDEPEND="" + +python_test() { + py.test || die "Tests failed with ${EPYTHON}" +} |