commit:     ac4b9b89498bc31517b554a813fc587438a7c9ba
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Fri Mar 27 16:54:40 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri Mar 27 17:03:26 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ac4b9b89

dev-python/pyspelling: new package

Package-Manager: Portage-2.3.96, Repoman-2.3.21
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/pyspelling/Manifest                |  1 +
 dev-python/pyspelling/metadata.xml            | 20 +++++++++++++++
 dev-python/pyspelling/pyspelling-2.6.0.ebuild | 35 +++++++++++++++++++++++++++
 3 files changed, 56 insertions(+)

diff --git a/dev-python/pyspelling/Manifest b/dev-python/pyspelling/Manifest
new file mode 100644
index 0000000..b851911
--- /dev/null
+++ b/dev-python/pyspelling/Manifest
@@ -0,0 +1 @@
+DIST pyspelling-2.6.0.tar.gz 147740 BLAKE2B 
277bd24f74fb670d44f027a9fce4fe0e4964318d8f3dccf796e3a6c09490f344fc2d2b9508a77c09aa6eecedf059b9e6bb27baa99bc0b938a8ad58c4fba14824
 SHA512 
41ca9265931b4c857c719cabbfbb79443a27d93b927941212ba1735eb2ab00643556bbc811fce26ca0b4d2d169d62c1d2ad2f86918daddd10c7636d8c664ca5e

diff --git a/dev-python/pyspelling/metadata.xml 
b/dev-python/pyspelling/metadata.xml
new file mode 100644
index 0000000..18b7268
--- /dev/null
+++ b/dev-python/pyspelling/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+
+<pkgmetadata>
+  <maintainer type="person">
+    <email>lssndrbarbi...@gmail.com</email>
+    <name>Alessandro Barbieri</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">facelessuser/pyspelling</remote-id>
+  </upstream>
+  <longdescription lang="en">
+PySpelling is a module to help with automating spell checking in a project 
with Aspell or 
+Hunspell. It is essentially a wrapper around the command line utility of these 
two spell 
+checking tools, and allows you to setup different spelling tasks for different 
file types. 
+You can apply specific and different filters and options to each task. 
PySpelling can also 
+be used in CI environments to fail the build if there are misspelled words.
+Aspell and Hunspell are very good spell checking tools. Aspell particularly 
comes with a couple of filters, but the filters are limited in types and aren't 
extremely flexible. PySpelling was created to work around Aspell's and 
Hunspell's filtering shortcomings by creating a wrapper around them that could 
be extended to handle more kinds of file formats and provide more advanced 
filtering. If you need to filter out specific HTML tags with specific IDs or 
class names, PySpelling can do it. If you want to scan Python files for 
docstrings, but also avoid specific content within the docstring, you can do 
that as well. If PySpelling doesn't have a filter you need, with access to so 
many available Python modules, you can easily write your own.
+  </longdescription> 
+</pkgmetadata>

diff --git a/dev-python/pyspelling/pyspelling-2.6.0.ebuild 
b/dev-python/pyspelling/pyspelling-2.6.0.ebuild
new file mode 100644
index 0000000..c5b3574
--- /dev/null
+++ b/dev-python/pyspelling/pyspelling-2.6.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_6 )
+
+inherit distutils-r1
+
+DESCRIPTION="Spell checker automation tool"
+HOMEPAGE="https://github.com/facelessuser/pyspelling";
+SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+       dev-python/beautifulsoup:4[${PYTHON_USEDEP}]
+       dev-python/lxml[${PYTHON_USEDEP}]
+       dev-python/html5lib[${PYTHON_USEDEP}]
+       dev-python/markdown[${PYTHON_USEDEP}]
+       dev-python/pyyaml[${PYTHON_USEDEP}]
+       >=dev-python/soupsieve-1.8[${PYTHON_USEDEP}]
+       >=dev-python/wcmatch-4.0[${PYTHON_USEDEP}]
+"
+DEPEND="
+       ${RDEPEND}
+       doc? (
+               
dev-python/mkdocs-git-revision-date-localized-plugin[${PYTHON_USEDEP}]
+               dev-python/mkdocs_pymdownx_material_extras[${PYTHON_USEDEP}]
+       )
+"
+
+distutils_enable_tests pytest
+distutils_enable_sphinx docs/src

Reply via email to