diff --git a/dev-python/promise/Manifest b/dev-python/promise/Manifest new file mode 100644 index 0000000..e5feb8b --- /dev/null +++ b/dev-python/promise/Manifest @@ -0,0 +1 @@ +DIST promise-2.3.0.tar.gz 28147 BLAKE2B d7ea153e320cbba4fa074355b48ed25fcd5d80679cb7386f7d7c1fd09fe0559c7c970bae9c3121cde99e2cf8b98d6c496e6382b0e2ca14ad35ae9f82425cf376 SHA512 5b0b6879b2a3abe244d85ec4667ea3c594cb5051887af275226d0f05a50e9735b0fbf4c8890bba55d24d0daf45629db2506c53a784025e706a56705600199958 diff --git a/dev-python/promise/metadata.xml b/dev-python/promise/metadata.xml new file mode 100644 index 0000000..c0fa917 --- /dev/null +++ b/dev-python/promise/metadata.xml @@ -0,0 +1,14 @@ + + + + + + dev@mtbk.me + Matthew Bakhtiari + + + syrusakbary/promise + promise + https://github.com/syrusakbary/promise/issues + + diff --git a/dev-python/promise/promise-2.3.0.ebuild b/dev-python/promise/promise-2.3.0.ebuild new file mode 100644 index 0000000..786a9bf --- /dev/null +++ b/dev-python/promise/promise-2.3.0.ebuild @@ -0,0 +1,23 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..11} ) +inherit distutils-r1 + +DESCRIPTION="Promises/A+ implementation for Python" +HOMEPAGE="https://github.com/syrusakbary/promise" +SRC_URI="https://github.com/syrusakbary/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="dev-python/six[${PYTHON_USEDEP}]" +BDEPEND="test? ( + dev-python/pytest-asyncio[${PYTHON_USEDEP}] + dev-python/pytest-benchmark[${PYTHON_USEDEP}] +)" + +distutils_enable_tests pytest