From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A175613835A for ; Sat, 26 Dec 2020 09:10:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5B0EEE0C04; Sat, 26 Dec 2020 09:10:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 412A1E0C04 for ; Sat, 26 Dec 2020 09:09:59 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 44BC5341531 for ; Sat, 26 Dec 2020 09:09:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7FE0E42F for ; Sat, 26 Dec 2020 09:09:56 +0000 (UTC) From: "Theo Anderson" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Theo Anderson" Message-ID: <1608973771.d625a0f1f5a68da2cf1a222aba1854c6112cd76c.telans@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-util/codespell/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-util/codespell/Manifest dev-util/codespell/codespell-2.0.0.ebuild X-VCS-Directories: dev-util/codespell/ X-VCS-Committer: telans X-VCS-Committer-Name: Theo Anderson X-VCS-Revision: d625a0f1f5a68da2cf1a222aba1854c6112cd76c X-VCS-Branch: dev Date: Sat, 26 Dec 2020 09:09:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 382c7b62-cdf0-4d34-8162-ed4871cdc26a X-Archives-Hash: 2af66dacb5e80ee2c6813b13e79b5312 commit: d625a0f1f5a68da2cf1a222aba1854c6112cd76c Author: Theo Anderson posteo de> AuthorDate: Sat Dec 26 01:08:36 2020 +0000 Commit: Theo Anderson posteo de> CommitDate: Sat Dec 26 09:09:31 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d625a0f1 dev-util/codespell: bump to 2.0.0; bump PYTHON_COMPAT Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Theo Anderson posteo.de> dev-util/codespell/Manifest | 1 + dev-util/codespell/codespell-2.0.0.ebuild | 33 +++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/dev-util/codespell/Manifest b/dev-util/codespell/Manifest index ad33b144..711939d4 100644 --- a/dev-util/codespell/Manifest +++ b/dev-util/codespell/Manifest @@ -1 +1,2 @@ DIST codespell-1.17.1.tar.gz 164357 BLAKE2B 75ed98c694498b5445b8083c8c8a98f39b552b379111721b4a99d2b497804f47c3e06f97acb4115820459122391a75f47d4a97c1253b29136308712fb57cb5ff SHA512 5c8be2c11d44a85bc2f1eac980b6ba875f99ffefbdcf6387c798b77d030f9c6ada68e80de8192fd4bab0fe8038b1b5769c72a8ee7f9da9521b9798e6527347d3 +DIST codespell-2.0.0.tar.gz 180131 BLAKE2B 9f7cf7b28f0c6981ec4c88909bee4d77dd4a35c9669a2f6aba368519ede85019b69bbbee2a83b17b5c8ca9cd197463ce13e5198a36c6e0f371b352453a82580f SHA512 ca9fc6661be77eddca1a5b3b15a72abc0506c61826487e8f50c546b923c065c6cbfb2b4c4bbace136d811e2e8cf2fe00106efcc3eb8805181ca6bd04fd4bf638 diff --git a/dev-util/codespell/codespell-2.0.0.ebuild b/dev-util/codespell/codespell-2.0.0.ebuild new file mode 100644 index 00000000..d58a6ad6 --- /dev/null +++ b/dev-util/codespell/codespell-2.0.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{7..9} ) +DISTUTILS_USE_SETUPTOOLS=rdepend + +inherit distutils-r1 + +DESCRIPTION="Check text files for common misspellings" +HOMEPAGE="https://github.com/codespell-project/codespell" +SRC_URI="https://github.com/${PN}-project/${PN}/archive/v${PVR}.tar.gz -> ${P}.tar.gz" + +# Code licensed under GPL-2 +# Dictionary licensed under CC-BY-SA-3.0 +LICENSE="GPL-2 CC-BY-SA-3.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +python_prepare_all() { + # do not depend on pytest-cov + sed -i -e '/addopts/d' setup.cfg || die + + # This will fail if the package itself + # is not yet installed + sed -i -e 's:test_command:_&:' \ + codespell_lib/tests/test_basic.py + + distutils-r1_python_prepare_all +} + +distutils_enable_tests pytest