[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyspelling/
commit: 1ae78248f78feb4fbdf8baf0d21c63c294d1def2 Author: Andrew Ammerlaan riseup net> AuthorDate: Mon Dec 7 11:49:37 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Mon Dec 7 11:49:37 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1ae78248 dev-python/pyspelling: version bump Package-Manager: Portage-3.0.11, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/pyspelling/Manifest | 2 +- ...elling-2.6.0.ebuild => pyspelling-2.7.0.ebuild} | 22 +- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/dev-python/pyspelling/Manifest b/dev-python/pyspelling/Manifest index b8519118..b85ac18e 100644 --- a/dev-python/pyspelling/Manifest +++ b/dev-python/pyspelling/Manifest @@ -1 +1 @@ -DIST pyspelling-2.6.0.tar.gz 147740 BLAKE2B 277bd24f74fb670d44f027a9fce4fe0e4964318d8f3dccf796e3a6c09490f344fc2d2b9508a77c09aa6eecedf059b9e6bb27baa99bc0b938a8ad58c4fba14824 SHA512 41ca9265931b4c857c719cabbfbb79443a27d93b927941212ba1735eb2ab00643556bbc811fce26ca0b4d2d169d62c1d2ad2f86918daddd10c7636d8c664ca5e +DIST pyspelling-2.7.0.tar.gz 149425 BLAKE2B f8e600a41ebd4ec290562307306e7fd5c67d384b9186de037b98d50d58016ded19c426caa892497ca44e309fb3db04292b890612afbe25a34f9f6b06985d3740 SHA512 2fcd225a66cb02fff10d5ca652e523a01bd0488a005dafa32ba1151fba9afe73809781501c957d6df00927baa9fb6779872973b32e2d3fe8a09306fdc4191995 diff --git a/dev-python/pyspelling/pyspelling-2.6.0.ebuild b/dev-python/pyspelling/pyspelling-2.7.0.ebuild similarity index 67% rename from dev-python/pyspelling/pyspelling-2.6.0.ebuild rename to dev-python/pyspelling/pyspelling-2.7.0.ebuild index dbc1eaa1..f350d6f3 100644 --- a/dev-python/pyspelling/pyspelling-2.6.0.ebuild +++ b/dev-python/pyspelling/pyspelling-2.7.0.ebuild @@ -9,8 +9,10 @@ DISTUTILS_USE_SETUPTOOLS=rdepend DOCS_BUILDER="mkdocs" DOCS_DEPEND=" - dev-python/mkdocs_pymdownx_material_extras - ~dev-python/mkdocs-material-5.0.0_rc2" + ~dev-python/mkdocs_pymdownx_material_extras-1.1.3 + dev-python/mkdocs-git-revision-date-localized-plugin + dev-python/mkdocs-minify-plugin +" inherit distutils-r1 docs @@ -31,18 +33,20 @@ RDEPEND=" dev-python/markdown[${PYTHON_USEDEP}] dev-python/pyyaml[${PYTHON_USEDEP}] >=dev-python/soupsieve-1.8[${PYTHON_USEDEP}] - >=dev-python/wcmatch-4.0[${PYTHON_USEDEP}] + >=dev-python/wcmatch-6.0.3[${PYTHON_USEDEP}] " -PATCHES="${FILESDIR}/${P}-do-not-install-tests.patch" - distutils_enable_tests pytest python_prepare_all() { - # git revision data plugin needs git repo to build - # do not depend on this - sed -i -e '/git-revision-date-localized/d' \ - mkdocs.yml || die + # mkdocs-git-revision-date-localized-plugin needs git repo + if use doc; then + git init + git config --global user.email "y...@example.com" || die + git config --global user.name "Your Name" || die + git add . + git commit -m 'init' + fi distutils-r1_python_prepare_all }
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyspelling/
commit: 843a8a38aae8d007b7d0f6567a41e6f8b0f3d37f Author: Andrew Ammerlaan riseup net> AuthorDate: Fri Apr 10 07:20:18 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Fri Apr 10 07:20:18 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=843a8a38 dev-python/pyspelling: fix doc, needs git repo Package-Manager: Portage-2.3.98, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/pyspelling/pyspelling-2.6.0.ebuild | 25 - 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/dev-python/pyspelling/pyspelling-2.6.0.ebuild b/dev-python/pyspelling/pyspelling-2.6.0.ebuild index a3ed42c..c9b21a2 100644 --- a/dev-python/pyspelling/pyspelling-2.6.0.ebuild +++ b/dev-python/pyspelling/pyspelling-2.6.0.ebuild @@ -7,16 +7,13 @@ PYTHON_COMPAT=( python3_{6,7,8} ) DISTUTILS_USE_SETUPTOOLS=rdepend -#ERROR - Unable to read git logs of '/tmp/mozilla_andrew0/pyspelling-2.6.0/docs/src/markdown/index.md'. To ignore this error, set option 'ignoring_missing_git: true' -#ERROR - Error reading page 'index.md': Cmd('git') failed due to: exit code(128) -# How does one set this option though??? -#DOCBUILDER="mkdocs" -#DOCDEPEND=" -# dev-python/mkdocs-git-revision-date-localized-plugin -# dev-python/mkdocs_pymdownx_material_extras -# ~dev-python/mkdocs-material-5.0.0_rc2" +DOCBUILDER="mkdocs" +DOCDEPEND=" + dev-python/mkdocs-git-revision-date-localized-plugin + dev-python/mkdocs_pymdownx_material_extras + ~dev-python/mkdocs-material-5.0.0_rc2" -inherit distutils-r1 #docs +inherit distutils-r1 docs DESCRIPTION="Spell checker automation tool" HOMEPAGE="https://github.com/facelessuser/pyspelling; @@ -41,3 +38,13 @@ RDEPEND=" PATCHES="${FILESDIR}/${P}-do-not-install-tests.patch" distutils_enable_tests pytest + +python_prepare_all() { + # git revision data plugin needs git repo to build + if use doc; then + git init || die + git add -A || die + git commit -q -m ".." || die + fi + distutils-r1_python_prepare_all +}
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyspelling/
commit: 648159f9dfce606ec60c1871d1f9475091d3a7a6 Author: Andrew Ammerlaan riseup net> AuthorDate: Thu Apr 9 14:22:10 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Thu Apr 9 14:22:10 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=648159f9 dev-python/pyspelling: tried to allow do building gave me an error, suggest to use a option to ignore this but can't find where this option should go probably mkdocs.yml but it told me unrecognized option when I tried Package-Manager: Portage-2.3.98, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan riseup.net> dev-python/pyspelling/pyspelling-2.6.0.ebuild | 30 +-- 1 file changed, 10 insertions(+), 20 deletions(-) diff --git a/dev-python/pyspelling/pyspelling-2.6.0.ebuild b/dev-python/pyspelling/pyspelling-2.6.0.ebuild index 8c3f642..a3ed42c 100644 --- a/dev-python/pyspelling/pyspelling-2.6.0.ebuild +++ b/dev-python/pyspelling/pyspelling-2.6.0.ebuild @@ -7,7 +7,16 @@ PYTHON_COMPAT=( python3_{6,7,8} ) DISTUTILS_USE_SETUPTOOLS=rdepend -inherit distutils-r1 +#ERROR - Unable to read git logs of '/tmp/mozilla_andrew0/pyspelling-2.6.0/docs/src/markdown/index.md'. To ignore this error, set option 'ignoring_missing_git: true' +#ERROR - Error reading page 'index.md': Cmd('git') failed due to: exit code(128) +# How does one set this option though??? +#DOCBUILDER="mkdocs" +#DOCDEPEND=" +# dev-python/mkdocs-git-revision-date-localized-plugin +# dev-python/mkdocs_pymdownx_material_extras +# ~dev-python/mkdocs-material-5.0.0_rc2" + +inherit distutils-r1 #docs DESCRIPTION="Spell checker automation tool" HOMEPAGE="https://github.com/facelessuser/pyspelling; @@ -16,17 +25,6 @@ SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar. LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" -#not sure about adding aspell and hunspell useflags -#IUSE="doc" - -# Need mkdocs-1.1 for this -#BDEPEND=" -# doc? ( -# dev-python/mkdocs-git-revision-date-localized-plugin -# dev-python/mkdocs_pymdownx_material_extras -# ~dev-python/mkdocs-material-5.0.0_rc2 -# ) -#" RDEPEND=" || ( app-text/aspell app-text/hunspell ) @@ -43,11 +41,3 @@ RDEPEND=" PATCHES="${FILESDIR}/${P}-do-not-install-tests.patch" distutils_enable_tests pytest - -#python_compile_all() { -# default -# if use doc; then -# mkdocs build || die "failed to make docs" -# HTML_DOCS="site" -# fi -#}
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyspelling/
commit: 7257cde94923be3e126e0dae79de43e7ca85be77 Author: Alessandro Barbieri gmail com> AuthorDate: Mon Mar 30 19:46:17 2020 + Commit: Alessandro Barbieri gmail com> CommitDate: Mon Mar 30 19:46:17 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7257cde9 dev-python/pyspelling: it requires {a,hun}spell Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Alessandro Barbieri gmail.com> dev-python/pyspelling/pyspelling-2.6.0.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-python/pyspelling/pyspelling-2.6.0.ebuild b/dev-python/pyspelling/pyspelling-2.6.0.ebuild index 02fcf91..8c3f642 100644 --- a/dev-python/pyspelling/pyspelling-2.6.0.ebuild +++ b/dev-python/pyspelling/pyspelling-2.6.0.ebuild @@ -16,7 +16,7 @@ SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar. LICENSE="MIT" SLOT="0" KEYWORDS="~amd64 ~x86" - +#not sure about adding aspell and hunspell useflags #IUSE="doc" # Need mkdocs-1.1 for this @@ -29,6 +29,8 @@ KEYWORDS="~amd64 ~x86" #" RDEPEND=" + || ( app-text/aspell app-text/hunspell ) + dev-python/beautifulsoup:4[${PYTHON_USEDEP}] dev-python/lxml[${PYTHON_USEDEP}] dev-python/html5lib[${PYTHON_USEDEP}]
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyspelling/files/, dev-python/pyspelling/
commit: 2f54ca54d25be97128bbc63446a5e93ee0b1f5c9 Author: Andrew Ammerlaan riseup net> AuthorDate: Sat Mar 28 10:22:49 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Sat Mar 28 11:00:12 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2f54ca54 dev-python/pyspelling: workaround installing test issue https://github.com/facelessuser/pyspelling/issues/104 Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan riseup.net> .../pyspelling-2.6.0-do-not-install-tests.patch| 11 dev-python/pyspelling/pyspelling-2.6.0.ebuild | 30 ++ 2 files changed, 36 insertions(+), 5 deletions(-) diff --git a/dev-python/pyspelling/files/pyspelling-2.6.0-do-not-install-tests.patch b/dev-python/pyspelling/files/pyspelling-2.6.0-do-not-install-tests.patch new file mode 100644 index 000..ac8cc6d --- /dev/null +++ b/dev-python/pyspelling/files/pyspelling-2.6.0-do-not-install-tests.patch @@ -0,0 +1,11 @@ +--- a/setup.py 2020-03-28 09:44:36.634469819 +0100 b/setup.py_fix 2020-03-28 09:48:38.754477130 +0100 +@@ -59,7 +59,7 @@ + author='Isaac Muse', + author_email='isaac.m...@gmail.com', + url='https://github.com/facelessuser/pyspelling', +-packages=find_packages(exclude=['tests', 'tools']), ++packages=find_packages(exclude=('tests*', 'tools*')), + entry_points=entry_points, + install_requires=get_requirements(), + license='MIT License', diff --git a/dev-python/pyspelling/pyspelling-2.6.0.ebuild b/dev-python/pyspelling/pyspelling-2.6.0.ebuild index 43ae951..02fcf91 100644 --- a/dev-python/pyspelling/pyspelling-2.6.0.ebuild +++ b/dev-python/pyspelling/pyspelling-2.6.0.ebuild @@ -3,17 +3,31 @@ EAPI=7 -PYTHON_COMPAT=( python3_6 ) +PYTHON_COMPAT=( python3_{6,7,8} ) + +DISTUTILS_USE_SETUPTOOLS=rdepend 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" +#IUSE="doc" + +# Need mkdocs-1.1 for this +#BDEPEND=" +# doc? ( +# dev-python/mkdocs-git-revision-date-localized-plugin +# dev-python/mkdocs_pymdownx_material_extras +# ~dev-python/mkdocs-material-5.0.0_rc2 +# ) +#" + RDEPEND=" dev-python/beautifulsoup:4[${PYTHON_USEDEP}] dev-python/lxml[${PYTHON_USEDEP}] @@ -23,9 +37,15 @@ RDEPEND=" >=dev-python/soupsieve-1.8[${PYTHON_USEDEP}] >=dev-python/wcmatch-4.0[${PYTHON_USEDEP}] " -DEPEND="${RDEPEND}" + +PATCHES="${FILESDIR}/${P}-do-not-install-tests.patch" distutils_enable_tests pytest -distutils_enable_sphinx docs/src \ - dev-python/mkdocs-git-revision-date-localized-plugin \ - dev-python/mkdocs_pymdownx_material_extras + +#python_compile_all() { +# default +# if use doc; then +# mkdocs build || die "failed to make docs" +# HTML_DOCS="site" +# fi +#}
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyspelling/
commit: e6c7d304ae295b5c3fb779013e3efcfd45764a27 Author: Alessandro Barbieri gmail com> AuthorDate: Fri Mar 27 17:16:00 2020 + Commit: Alessandro Barbieri gmail com> CommitDate: Fri Mar 27 17:16:00 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e6c7d304 dev-python/pyspelling: docdep style change Package-Manager: Portage-2.3.96, Repoman-2.3.21 Signed-off-by: Alessandro Barbieri gmail.com> dev-python/pyspelling/pyspelling-2.6.0.ebuild | 12 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/dev-python/pyspelling/pyspelling-2.6.0.ebuild b/dev-python/pyspelling/pyspelling-2.6.0.ebuild index c5b3574..43ae951 100644 --- a/dev-python/pyspelling/pyspelling-2.6.0.ebuild +++ b/dev-python/pyspelling/pyspelling-2.6.0.ebuild @@ -23,13 +23,9 @@ RDEPEND=" >=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}] - ) -" +DEPEND="${RDEPEND}" distutils_enable_tests pytest -distutils_enable_sphinx docs/src +distutils_enable_sphinx docs/src \ + dev-python/mkdocs-git-revision-date-localized-plugin \ + dev-python/mkdocs_pymdownx_material_extras
[gentoo-commits] repo/proj/guru:dev commit in: dev-python/pyspelling/
commit: ac4b9b89498bc31517b554a813fc587438a7c9ba Author: Alessandro Barbieri gmail com> AuthorDate: Fri Mar 27 16:54:40 2020 + Commit: Alessandro Barbieri gmail com> CommitDate: Fri Mar 27 17:03:26 2020 + 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 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 000..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 000..18b7268 --- /dev/null +++ b/dev-python/pyspelling/metadata.xml @@ -0,0 +1,20 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + +lssndrbarbi...@gmail.com +Alessandro Barbieri + + +facelessuser/pyspelling + + +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. + + 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 000..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