From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id EGXdEcuAVF8wFAAA0tVLHw (envelope-from ) for ; Sun, 06 Sep 2020 06:25:15 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id qIS7DcuAVF+xYQAA1q6Kng (envelope-from ) for ; Sun, 06 Sep 2020 06:25:15 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0326894028F for ; Sun, 6 Sep 2020 06:25:15 +0000 (UTC) Received: from localhost ([::1]:53284 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEnX4-00030j-VF for larch@yhetil.org; Sun, 06 Sep 2020 01:48:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59344) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEnX0-0002yj-Tf for guix-patches@gnu.org; Sun, 06 Sep 2020 01:48:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:33012) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kEnX0-0006r0-Ki for guix-patches@gnu.org; Sun, 06 Sep 2020 01:48:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kEnX0-0004dW-IY for guix-patches@gnu.org; Sun, 06 Sep 2020 01:48:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43233] [PATCH 04/10] gnu: Add python-watchgod. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 06 Sep 2020 05:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43233 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43233@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 43233-submit@debbugs.gnu.org id=B43233.159937125417713 (code B ref 43233); Sun, 06 Sep 2020 05:48:02 +0000 Received: (at 43233) by debbugs.gnu.org; 6 Sep 2020 05:47:34 +0000 Received: from localhost ([127.0.0.1]:44541 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEnWY-0004bd-AH for submit@debbugs.gnu.org; Sun, 06 Sep 2020 01:47:34 -0400 Received: from mout01.posteo.de ([185.67.36.65]:47385) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEnWW-0004bG-9l for 43233@debbugs.gnu.org; Sun, 06 Sep 2020 01:47:32 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 235E816005F for <43233@debbugs.gnu.org>; Sun, 6 Sep 2020 07:47:26 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1599371246; bh=7eK9ER2mr/fP7RL1sltN1P1FSa/7WijaIPMWp7QGe9k=; h=From:To:Cc:Subject:Date:From; b=nq2HT/nZMmL3vh6nT3z+Tngtv+L8zT4V/IKmKf3yc92j/Jykv2/fUEk0PcTx9a31X 60WISf0J/JMdvInm75LjZV/5C040tm5QX4CGYgCzvEyxfbzhMKU+XzLHZVeu2KrkKi cUwywzhv4abKc8wFtS6gWygdBwSjNSLODY1Eqab3OlCLRz2Q4OJpNtTBcCu/FNzERw ZSfshEOWMFfHvlkOguMlm6pKvUxBu690YUdWuUWTqAeZyL4H1NJLrtTiCA+VsOHl9Q oYr6BBgqmR3GfLmhSyiOpvdVkd93dStRulhuE6XcaR0WrWWjvM9BumGVJjk4d/xkhH emElHQCccB2Iw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4BkgRJ6FvGz9rxM; Sun, 6 Sep 2020 07:47:24 +0200 (CEST) From: Vinicius Monego Date: Sun, 6 Sep 2020 02:46:47 -0300 Message-Id: <20200906054653.467-3-monego@posteo.net> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200906054653.467-1-monego@posteo.net> References: <20200906054653.467-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=posteo.net header.s=2017 header.b=nq2HT/nZ; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 5.09 X-TUID: aCqwDQv0bOl8 * gnu/packages/python-xyz.scm (python-watchgod): New variable. --- gnu/packages/python-xyz.scm | 43 +++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm index a4c797cc08..dae1a6e2a8 100644 --- a/gnu/packages/python-xyz.scm +++ b/gnu/packages/python-xyz.scm @@ -20343,6 +20343,49 @@ such as a file modification and trigger an action. This is similar to inotify, but portable.") (license license:asl2.0))) +(define-public python-watchgod + (package + (name "python-watchgod") + (version "0.6") + (source + (origin + ;; There are no tests in the PyPI tarball. + (method git-fetch) + (uri (git-reference + (url "https://github.com/samuelcolvin/watchgod") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1lqx44wkryakgpyqj3m0hsz61bqr07vc7smgzh188374hwvscp66")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (replace 'check + (lambda _ + (invoke "pytest" "-vv")))))) + (native-inputs + `(("python-coverage" ,python-coverage) + ("python-docutils" ,python-docutils) + ("python-flake8" ,python-flake8) + ("python-isort" ,python-isort) + ("python-pycodestyle" ,python-pycodestyle) + ("python-pyflakes" ,python-pyflakes) + ("python-pygments" ,python-pygments) + ("python-pytest" ,python-pytest) + ("python-pytest-cov" ,python-pytest-cov) + ("python-pytest-aiohttp" ,python-pytest-aiohttp) + ("python-pytest-mock" ,python-pytest-mock) + ("python-pytest-sugar" ,python-pytest-sugar) + ("python-pytest-toolbox" ,python-pytest-toolbox))) + (home-page "https://github.com/samuelcolvin/watchgod") + (synopsis "Simple, modern file watching and code reload in Python") + (description + "Simple, modern file watching and code reload in Python inspired by +@code{watchdog}. Among the differences are a unified approach for each +operating systems and an elegant approach to concurrency using threading.") + (license license:expat))) + (define-public python-wget (package (name "python-wget") -- 2.20.1