diff options
| author | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
|---|---|---|
| committer | Palica <palica+gitlab@liguros.net> | 2020-06-23 22:35:08 +0200 |
| commit | ecdac123787b96ce6649f0f91da12ea6458cc2b1 (patch) | |
| tree | b89c74d9e6fe6e8aebc4c77bcbeb4ab73214127d /dev-python/pycodestyle | |
| parent | 1be72aa41cf41dedadeecf59dca9f01de6381f5e (diff) | |
| download | baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.gz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.tar.xz baldeagleos-repo-ecdac123787b96ce6649f0f91da12ea6458cc2b1.zip | |
Updating liguros repo
Diffstat (limited to 'dev-python/pycodestyle')
| -rw-r--r-- | dev-python/pycodestyle/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/pycodestyle/metadata.xml | 13 | ||||
| -rw-r--r-- | dev-python/pycodestyle/pycodestyle-2.5.0.ebuild | 36 | ||||
| -rw-r--r-- | dev-python/pycodestyle/pycodestyle-2.6.0.ebuild | 36 |
4 files changed, 87 insertions, 0 deletions
diff --git a/dev-python/pycodestyle/Manifest b/dev-python/pycodestyle/Manifest new file mode 100644 index 000000000000..9a7fbb91ad73 --- /dev/null +++ b/dev-python/pycodestyle/Manifest @@ -0,0 +1,2 @@ +DIST 2.5.0.tar.gz 78266 BLAKE2B 27caeb5dfd2166b80e9c11bc10bc5957d7acb92cd1b0480704451ffedc85b6c6b44f205ab3b212524581cc223b1a37f44594d8e899f1eb682307398cfc109d83 SHA512 b40d2b4fd6673f4115cb0fa056056ef39f4705ba8826bb2a4b91c98e542132951471e1226d697daeb6fac9a5520df5f8dde0931462e540ee2eb8b5f275eb2288 +DIST 2.6.0.tar.gz 80253 BLAKE2B 01f17d677886dfce6d4973fab61609a51f1d6313234b011bc3a2ba4a3b063e1a92f2620385968c3666cda378deea01fb50f304602249536610e7fe29a044b788 SHA512 251b2526edc9759aa07b43c23c2785ebf2b7c4cca7e70444b8f79ff72cfb842ca49b929c01faba307534e4f213247597739ba777181fca6048d6cfae67cd25b6 diff --git a/dev-python/pycodestyle/metadata.xml b/dev-python/pycodestyle/metadata.xml new file mode 100644 index 000000000000..f87aa9a276ee --- /dev/null +++ b/dev-python/pycodestyle/metadata.xml @@ -0,0 +1,13 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>dev@liguros.net</email> + <name>Development</name> + </maintainer> + <upstream> + <remote-id type="pypi">pycodestyle</remote-id> + <remote-id type="github">PyCQA/pycodestyle</remote-id> + </upstream> + <origin>kit-fixups</origin> +</pkgmetadata> diff --git a/dev-python/pycodestyle/pycodestyle-2.5.0.ebuild b/dev-python/pycodestyle/pycodestyle-2.5.0.ebuild new file mode 100644 index 000000000000..09e191489d04 --- /dev/null +++ b/dev-python/pycodestyle/pycodestyle-2.5.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 2020 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} ) + +inherit distutils-r1 + +DESCRIPTION="Python style guide checker (fka pep8)" +HOMEPAGE="https://pypi.org/project/pycodestyle/" +SRC_URI="https://github.com/PyCQA/pycodestyle/archive/${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc" + +RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + PYTHONPATH="${S}" "${PYTHON}" pycodestyle.py -v --statistics pycodestyle.py || die + PYTHONPATH="${S}" "${PYTHON}" pycodestyle.py -v --testsuite=testsuite || die + PYTHONPATH="${S}" "${PYTHON}" pycodestyle.py --doctest -v || die + esetup.py test +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +} diff --git a/dev-python/pycodestyle/pycodestyle-2.6.0.ebuild b/dev-python/pycodestyle/pycodestyle-2.6.0.ebuild new file mode 100644 index 000000000000..09e191489d04 --- /dev/null +++ b/dev-python/pycodestyle/pycodestyle-2.6.0.ebuild @@ -0,0 +1,36 @@ +# Copyright 2020 Liguros Authors +# Distributed under the terms of the GNU General Public License v2 +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} pypy{,3} ) + +inherit distutils-r1 + +DESCRIPTION="Python style guide checker (fka pep8)" +HOMEPAGE="https://pypi.org/project/pycodestyle/" +SRC_URI="https://github.com/PyCQA/pycodestyle/archive/${PV}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="doc" + +RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + PYTHONPATH="${S}" "${PYTHON}" pycodestyle.py -v --statistics pycodestyle.py || die + PYTHONPATH="${S}" "${PYTHON}" pycodestyle.py -v --testsuite=testsuite || die + PYTHONPATH="${S}" "${PYTHON}" pycodestyle.py --doctest -v || die + esetup.py test +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +} |
