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 EF95613933E for ; Fri, 23 Jul 2021 07:03:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E8602E0C56; Fri, 23 Jul 2021 07:03:57 +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 C15D7E0BC0 for ; Fri, 23 Jul 2021 07:03:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 B3E44340BB4 for ; Fri, 23 Jul 2021 07:03:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 5B2177F3 for ; Fri, 23 Jul 2021 07:03:54 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1627023825.969ff155addc46a252ad2e5a6dc4abecab45b97e.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/codespell/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/codespell/Manifest dev-util/codespell/codespell-2.1.0.ebuild dev-util/codespell/metadata.xml X-VCS-Directories: dev-util/codespell/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 969ff155addc46a252ad2e5a6dc4abecab45b97e X-VCS-Branch: master Date: Fri, 23 Jul 2021 07:03:54 +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: 875ca884-1689-4395-b1c7-194ad905435b X-Archives-Hash: 8638c263849dbb41dae270e6702c1386 commit: 969ff155addc46a252ad2e5a6dc4abecab45b97e Author: Bernd Waibel posteo net> AuthorDate: Tue Jul 20 14:36:55 2021 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Fri Jul 23 07:03:45 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=969ff155 dev-util/codespell: new package v2.1.0 A tool to fix common misspellings in text files. It's designed primarily checking misspelled words in source code, but can be used with other text files as well. Upon request from juippis, move the package from ::guru to ::gentoo. Closes: https://bugs.gentoo.org/667830 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Bernd Waibel posteo.net> Closes: https://github.com/gentoo/gentoo/pull/21728 Signed-off-by: Joonas Niilola gentoo.org> dev-util/codespell/Manifest | 1 + dev-util/codespell/codespell-2.1.0.ebuild | 43 +++++++++++++++++++++++++++++++ dev-util/codespell/metadata.xml | 21 +++++++++++++++ 3 files changed, 65 insertions(+) diff --git a/dev-util/codespell/Manifest b/dev-util/codespell/Manifest new file mode 100644 index 00000000000..c0fb3621378 --- /dev/null +++ b/dev-util/codespell/Manifest @@ -0,0 +1 @@ +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 00000000000..f2f620ef41d --- /dev/null +++ b/dev-util/codespell/codespell-2.1.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-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="Check text files for common misspellings" +HOMEPAGE="https://github.com/codespell-project/codespell" +SRC_URI="https://github.com/codespell-project/codespell/archive/v${PV}.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" + +BDEPEND=" + sys-apps/help2man + test? ( dev-python/chardet[${PYTHON_USEDEP}] ) +" + +distutils_enable_tests --install pytest + +python_prepare_all() { + distutils-r1_python_prepare_all + + # do not depend on pytest-cov + sed -e '/addopts/d' -i setup.cfg || die +} + +python_compile_all() { + # generate included man page + emake ${PN}.1 +} + +python_install_all() { + distutils-r1_python_install_all + + doman ${PN}.1 +} diff --git a/dev-util/codespell/metadata.xml b/dev-util/codespell/metadata.xml new file mode 100644 index 00000000000..93753e36460 --- /dev/null +++ b/dev-util/codespell/metadata.xml @@ -0,0 +1,21 @@ + + + + + waebbl-gentoo@posteo.net + Bernd Waibel + + + proxy-maint@gentoo.org + Gentoo Proxy Maintainers + + + A tool to fix common misspellings in text files. It's designed primarily + checking misspelled words in source code, but can be used with other + text files as well. + + + https://github.com/codespell-project/codespell/issues + codespell-project/codespell + +