Gentoo Archives: gentoo-commits

From: Arthur Zamarin <arthurzam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/watchgod/
Date: Wed, 15 Sep 2021 07:14:00
Message-Id: 1631690017.786f52cb8eef895dbd5d29d6992ca060b396de89.arthurzam@gentoo
1 commit: 786f52cb8eef895dbd5d29d6992ca060b396de89
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sat Aug 14 07:25:43 2021 +0000
4 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
5 CommitDate: Wed Sep 15 07:13:37 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=786f52cb
7
8 dev-python/watchgod: New NIH dep for dev-python/uvicorn
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
12
13 dev-python/watchgod/Manifest | 1 +
14 dev-python/watchgod/metadata.xml | 11 +++++++++++
15 dev-python/watchgod/watchgod-0.7.ebuild | 29 +++++++++++++++++++++++++++++
16 3 files changed, 41 insertions(+)
17
18 diff --git a/dev-python/watchgod/Manifest b/dev-python/watchgod/Manifest
19 new file mode 100644
20 index 00000000000..d90469d433c
21 --- /dev/null
22 +++ b/dev-python/watchgod/Manifest
23 @@ -0,0 +1 @@
24 +DIST watchgod-0.7.gh.tar.gz 14362 BLAKE2B 0c16b7ef2a7e1d0ca2c9d27b1503a9710662364318d5021e916aabf90c8f917b0bf69559a545658f839953832edc579b0014a0736b3b155f097d1d29c2e4b4f7 SHA512 afa225b30cf796ce95861c61fbe8eb22ed72011522de53d53c41148311793db10e41b66e9eb1237c4372f142edaec992de79715c568e435ddb1695666be1cdd8
25
26 diff --git a/dev-python/watchgod/metadata.xml b/dev-python/watchgod/metadata.xml
27 new file mode 100644
28 index 00000000000..37627d68f75
29 --- /dev/null
30 +++ b/dev-python/watchgod/metadata.xml
31 @@ -0,0 +1,11 @@
32 +<?xml version="1.0" encoding="UTF-8"?>
33 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
34 +<pkgmetadata>
35 + <maintainer type="project">
36 + <email>python@g.o</email>
37 + </maintainer>
38 + <upstream>
39 + <remote-id type="github">samuelcolvin/watchgod</remote-id>
40 + <remote-id type="pypi">watchgod</remote-id>
41 + </upstream>
42 +</pkgmetadata>
43
44 diff --git a/dev-python/watchgod/watchgod-0.7.ebuild b/dev-python/watchgod/watchgod-0.7.ebuild
45 new file mode 100644
46 index 00000000000..66b254733fc
47 --- /dev/null
48 +++ b/dev-python/watchgod/watchgod-0.7.ebuild
49 @@ -0,0 +1,29 @@
50 +# Copyright 2021 Gentoo Authors
51 +# Distributed under the terms of the GNU General Public License v2
52 +
53 +EAPI=8
54 +
55 +PYTHON_COMPAT=( python3_{8..10} )
56 +inherit distutils-r1
57 +
58 +DESCRIPTION="Simple, modern file watching and code reload in Python"
59 +HOMEPAGE="
60 + https://pypi.org/project/watchgod/
61 + https://github.com/samuelcolvin/watchgod/"
62 +SRC_URI="
63 + https://github.com/samuelcolvin/watchgod/archive/v${PV}.tar.gz
64 + -> ${P}.gh.tar.gz"
65 +
66 +LICENSE="MIT"
67 +SLOT="0"
68 +KEYWORDS="~amd64 ~x86"
69 +
70 +BDEPEND="
71 + test? (
72 + dev-python/pytest-asyncio[${PYTHON_USEDEP}]
73 + dev-python/pytest-mock[${PYTHON_USEDEP}]
74 + dev-python/pytest-toolbox[${PYTHON_USEDEP}]
75 + )
76 +"
77 +
78 +distutils_enable_tests pytest