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 34E621382C5 for ; Thu, 10 Jun 2021 21:21:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 60209E0849; Thu, 10 Jun 2021 21:21:02 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 433EAE083D for ; Thu, 10 Jun 2021 21:21:02 +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 C5162335D7F for ; Thu, 10 Jun 2021 21:21:00 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1C6A1796 for ; Thu, 10 Jun 2021 21:20:59 +0000 (UTC) From: "Bernd Waibel" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Bernd Waibel" Message-ID: <1623360057.4063202698f758f37288ac0b2c5a8908307da875.waebbl@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.1.0.ebuild X-VCS-Directories: dev-util/codespell/ X-VCS-Committer: waebbl X-VCS-Committer-Name: Bernd Waibel X-VCS-Revision: 4063202698f758f37288ac0b2c5a8908307da875 X-VCS-Branch: dev Date: Thu, 10 Jun 2021 21:20:59 +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: 0c19c496-9bdb-4dad-9b07-0c2ba2b1bc71 X-Archives-Hash: 9bdd26afd49c8498567520a5adea433b commit: 4063202698f758f37288ac0b2c5a8908307da875 Author: Bernd Waibel posteo net> AuthorDate: Thu Jun 10 21:18:49 2021 +0000 Commit: Bernd Waibel gmail com> CommitDate: Thu Jun 10 21:20:57 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=40632026 dev-util/codespell: bump to 2.1.0 Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Bernd Waibel posteo.net> dev-util/codespell/Manifest | 1 + dev-util/codespell/codespell-2.1.0.ebuild | 33 +++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+) diff --git a/dev-util/codespell/Manifest b/dev-util/codespell/Manifest index 711939d4b..5bce26013 100644 --- a/dev-util/codespell/Manifest +++ b/dev-util/codespell/Manifest @@ -1,2 +1,3 @@ DIST codespell-1.17.1.tar.gz 164357 BLAKE2B 75ed98c694498b5445b8083c8c8a98f39b552b379111721b4a99d2b497804f47c3e06f97acb4115820459122391a75f47d4a97c1253b29136308712fb57cb5ff SHA512 5c8be2c11d44a85bc2f1eac980b6ba875f99ffefbdcf6387c798b77d030f9c6ada68e80de8192fd4bab0fe8038b1b5769c72a8ee7f9da9521b9798e6527347d3 DIST codespell-2.0.0.tar.gz 180131 BLAKE2B 9f7cf7b28f0c6981ec4c88909bee4d77dd4a35c9669a2f6aba368519ede85019b69bbbee2a83b17b5c8ca9cd197463ce13e5198a36c6e0f371b352453a82580f SHA512 ca9fc6661be77eddca1a5b3b15a72abc0506c61826487e8f50c546b923c065c6cbfb2b4c4bbace136d811e2e8cf2fe00106efcc3eb8805181ca6bd04fd4bf638 +DIST codespell-2.1.0.tar.gz 187490 BLAKE2B 6114aa3a7ad8cd37ab868a3f27f641501dd0cc5bfe80bef0aa5cad0a86f8e2bba6e1f1030d5ac6fb06f78f9e01e37359d0fc17d17eb54608060300f676d3d56c SHA512 16d9a4239ae18fad6a06825a2afae6adc903d50eb90b759cdc61b1e1d145458bbfb1385837c4465b0a9858da100be074c597343c4816ca0260bbf6710d9c84e8 diff --git a/dev-util/codespell/codespell-2.1.0.ebuild b/dev-util/codespell/codespell-2.1.0.ebuild new file mode 100644 index 000000000..03eb1e9e8 --- /dev/null +++ b/dev-util/codespell/codespell-2.1.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2021 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