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/autopep8 | |
| 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/autopep8')
| -rw-r--r-- | dev-python/autopep8/Manifest | 2 | ||||
| -rw-r--r-- | dev-python/autopep8/autopep8-1.5.2.ebuild | 43 | ||||
| -rw-r--r-- | dev-python/autopep8/autopep8-1.5.3.ebuild | 43 | ||||
| -rw-r--r-- | dev-python/autopep8/metadata.xml | 14 |
4 files changed, 102 insertions, 0 deletions
diff --git a/dev-python/autopep8/Manifest b/dev-python/autopep8/Manifest new file mode 100644 index 000000000000..2c062f200e29 --- /dev/null +++ b/dev-python/autopep8/Manifest @@ -0,0 +1,2 @@ +DIST autopep8-1.5.2.tar.gz 117909 BLAKE2B 814d61c14fec9a95511d8575fd12822e454066dd8b3533f483372dbe1d3410cd674faf3d91bdfd7fc28ee2baaf020966e31e8c5dd8d65811a0d9b6976a7e40eb SHA512 d7386de85d3390493b4f53cdf8c23ed6c8d5b2c7d783b7e215bc9c4bdc3b09dd098d3a0b8328480dbe9d10e5ca141849babd14865ef6e206f5088f00aca0804a +DIST autopep8-1.5.3.tar.gz 116297 BLAKE2B a7d47077507090a23adddf5aac8e8435ab145b2965e5ca00e588af37e95038e30250cad4ae3dfb51d0515d88232821f9135f297b4e106ade593f0ad78fe7f907 SHA512 e288b45da93b91d75b469bd6efb9d94fbd9abc00a6d2167655d9f80675aa2a5ce00d1256b6ef8b7a7e3e9d5dc9f11827fd91152b0a06246abfc8ed4cf510b0de diff --git a/dev-python/autopep8/autopep8-1.5.2.ebuild b/dev-python/autopep8/autopep8-1.5.2.ebuild new file mode 100644 index 000000000000..ef2decf4250d --- /dev/null +++ b/dev-python/autopep8/autopep8-1.5.2.ebuild @@ -0,0 +1,43 @@ +# 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} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Automatically formats Python code to conform to the PEP 8 style guide" +HOMEPAGE="https://github.com/hhatto/autopep8 https://pypi.org/project/autopep8/" +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="https://github.com/hhatto/${PN}.git" + inherit git-r3 +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="test" + +RDEPEND=" + >=dev-python/pep8-1.7.0[${PYTHON_USEDEP}] + >=dev-python/pycodestyle-2.5.0[${PYTHON_USEDEP}]" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + >=dev-python/pydiff-0.2.0[${PYTHON_USEDEP}] + )" + +python_prepare_all() { + # Prevent UnicodeDecodeError with LANG=C + sed -e "/é/d" -i MANIFEST.in || die + distutils-r1_python_prepare_all +} + +python_test() { + esetup.py test +} diff --git a/dev-python/autopep8/autopep8-1.5.3.ebuild b/dev-python/autopep8/autopep8-1.5.3.ebuild new file mode 100644 index 000000000000..ef2decf4250d --- /dev/null +++ b/dev-python/autopep8/autopep8-1.5.3.ebuild @@ -0,0 +1,43 @@ +# 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} ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="Automatically formats Python code to conform to the PEP 8 style guide" +HOMEPAGE="https://github.com/hhatto/autopep8 https://pypi.org/project/autopep8/" +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="https://github.com/hhatto/${PN}.git" + inherit git-r3 +else + SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux" +fi + +LICENSE="MIT" +SLOT="0" +IUSE="test" + +RDEPEND=" + >=dev-python/pep8-1.7.0[${PYTHON_USEDEP}] + >=dev-python/pycodestyle-2.5.0[${PYTHON_USEDEP}]" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + >=dev-python/pydiff-0.2.0[${PYTHON_USEDEP}] + )" + +python_prepare_all() { + # Prevent UnicodeDecodeError with LANG=C + sed -e "/é/d" -i MANIFEST.in || die + distutils-r1_python_prepare_all +} + +python_test() { + esetup.py test +} diff --git a/dev-python/autopep8/metadata.xml b/dev-python/autopep8/metadata.xml new file mode 100644 index 000000000000..8862320cacc9 --- /dev/null +++ b/dev-python/autopep8/metadata.xml @@ -0,0 +1,14 @@ +<?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> + <longdescription>autopep8 formats Python code based on the output of the pep8 utility</longdescription> + <upstream> + <remote-id type="pypi">autopep8</remote-id> + <remote-id type="github">hhatto/autopep8</remote-id> + </upstream> + <origin>kit-fixups</origin> +</pkgmetadata> |
