diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2018-03-02 15:22:59 -0500 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2018-03-02 15:33:43 -0500 |
commit | db33e083153abe046afce40f52984c2b93bdb6bc (patch) | |
tree | ba2bbdd81b25c3a5bd4ea36f49182adfe699b926 /dev-python/promises | |
parent | app-shells/gentoo-bashcomp: 20180302 bump (diff) | |
download | gentoo-db33e083153abe046afce40f52984c2b93bdb6bc.tar.gz gentoo-db33e083153abe046afce40f52984c2b93bdb6bc.tar.bz2 gentoo-db33e083153abe046afce40f52984c2b93bdb6bc.zip |
dev-python/promises: initial commit
An implementation of Promises in Python. See https://github.com/syrusakbary/promise.
Diffstat (limited to 'dev-python/promises')
-rw-r--r-- | dev-python/promises/Manifest | 1 | ||||
-rw-r--r-- | dev-python/promises/metadata.xml | 11 | ||||
-rw-r--r-- | dev-python/promises/promises-2.0.1.ebuild | 41 |
3 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/promises/Manifest b/dev-python/promises/Manifest new file mode 100644 index 000000000000..51617d178c88 --- /dev/null +++ b/dev-python/promises/Manifest @@ -0,0 +1 @@ +DIST promise-2.0.1.tar.gz 26274 BLAKE2B 528d938ab93790dc57545eb0064a014ea293d782ff6a7e6eeb2287f23c79c9cf9b2427ad57df524a888193c5aa9d62b21bd1e533d49ca4c8f2615d5719be58f9 SHA512 2bd9ad83a3b21dd4e3ae3052dfe6705790fb6ec925e9607960d43d9329fea606c82f6806599f09e6255ff5639c936369f88601668cf4ec8944747b1b6676693c diff --git a/dev-python/promises/metadata.xml b/dev-python/promises/metadata.xml new file mode 100644 index 000000000000..cb3129483c61 --- /dev/null +++ b/dev-python/promises/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>blueness@gentoo.org</email> + <name>Anthony G. Basile</name> + </maintainer> + <upstream> + <remote-id type="github">syrusakbary/promise</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-python/promises/promises-2.0.1.ebuild b/dev-python/promises/promises-2.0.1.ebuild new file mode 100644 index 000000000000..9e7b96f9b846 --- /dev/null +++ b/dev-python/promises/promises-2.0.1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{5,6} ) + +inherit distutils-r1 + +MY_P=${PN%s}-${PV} + +DESCRIPTION="An implementation of Promises in Python" +HOMEPAGE="https://github.com/syrusakbary/promise" +SRC_URI="https://github.com/syrusakbary/${PN%s}/archive/v${PV}.tar.gz -> ${MY_P}.tar.gz" + +S=${WORKDIR}/${MY_P} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=" + dev-python/typing[${PYTHON_USEDEP}] + dev-python/six[${PYTHON_USEDEP}] +" + +RESTRICT=test +# TODO: When we get all the dependencies in, we can add test +# test? ( +# >=dev-python/pytest-2.7.3[${PYTHON_USEDEP}] +# dev-python/pytest-cov[${PYTHON_USEDEP}] +# dev-python/coveralls[${PYTHON_USEDEP}] +# dev-python/futures[${PYTHON_USEDEP}] +# dev-python/pytest-benchmark[${PYTHON_USEDEP}] +# dev-python/mock[${PYTHON_USEDEP}] +# ) + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] +" |