dev-python/watchgod: New NIH dep for dev-python/uvicorn

Signed-off-by: Michał Górny <mgorny@gentoo.org>
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
This commit is contained in:
Michał Górny
2021-08-14 09:25:43 +02:00
committed by Arthur Zamarin
parent 0af0d5b670
commit 786f52cb8e
3 changed files with 41 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST watchgod-0.7.gh.tar.gz 14362 BLAKE2B 0c16b7ef2a7e1d0ca2c9d27b1503a9710662364318d5021e916aabf90c8f917b0bf69559a545658f839953832edc579b0014a0736b3b155f097d1d29c2e4b4f7 SHA512 afa225b30cf796ce95861c61fbe8eb22ed72011522de53d53c41148311793db10e41b66e9eb1237c4372f142edaec992de79715c568e435ddb1695666be1cdd8

View File

@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>python@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">samuelcolvin/watchgod</remote-id>
<remote-id type="pypi">watchgod</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -0,0 +1,29 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{8..10} )
inherit distutils-r1
DESCRIPTION="Simple, modern file watching and code reload in Python"
HOMEPAGE="
https://pypi.org/project/watchgod/
https://github.com/samuelcolvin/watchgod/"
SRC_URI="
https://github.com/samuelcolvin/watchgod/archive/v${PV}.tar.gz
-> ${P}.gh.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
BDEPEND="
test? (
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
dev-python/pytest-mock[${PYTHON_USEDEP}]
dev-python/pytest-toolbox[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest