dev-python/promise: new package, add 2.3.0

This commit is contained in:
Alarig Le Lay 2023-01-31 00:24:06 +01:00
parent 2dbe08804b
commit b08c007566
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
3 changed files with 38 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST promise-2.3.0.tar.gz 28147 BLAKE2B d7ea153e320cbba4fa074355b48ed25fcd5d80679cb7386f7d7c1fd09fe0559c7c970bae9c3121cde99e2cf8b98d6c496e6382b0e2ca14ad35ae9f82425cf376 SHA512 5b0b6879b2a3abe244d85ec4667ea3c594cb5051887af275226d0f05a50e9735b0fbf4c8890bba55d24d0daf45629db2506c53a784025e706a56705600199958

View file

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>dev@mtbk.me</email>
<name>Matthew Bakhtiari</name>
</maintainer>
<upstream>
<remote-id type="github">syrusakbary/promise</remote-id>
<remote-id type="pypi">promise</remote-id>
<bugs-to>https://github.com/syrusakbary/promise/issues</bugs-to>
</upstream>
</pkgmetadata>

View file

@ -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