From 6c30cc2d5bd48ddbdbe8d75544899cd5dbfcaba4 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 20:18:26 +0100 Subject: gentoo resync : 14.07.2018 --- dev-python/autopep8/Manifest | 2 ++ dev-python/autopep8/autopep8-1.3.5.ebuild | 44 +++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 dev-python/autopep8/autopep8-1.3.5.ebuild (limited to 'dev-python/autopep8') diff --git a/dev-python/autopep8/Manifest b/dev-python/autopep8/Manifest index 5eacad54ccc4..eed2ff197440 100644 --- a/dev-python/autopep8/Manifest +++ b/dev-python/autopep8/Manifest @@ -1,6 +1,8 @@ DIST autopep8-1.3.2.tar.gz 107915 BLAKE2B 3148f12616babc26415fc138d5d9e2d2a83cc735449cea54870662dabdfebfd298d96ca716ee62c9143049a2abf05e6a597b0ec6bab90c557dae63999794ea25 SHA512 cb9a5e297ce705722d5e65472dbe749e57fa12fe8dee0d4c3dc20d9e885e0d885339627667110318c89c6bf7e337203a7831c0e2217e5a5d7951edcb98d3df4f DIST autopep8-1.3.3.tar.gz 108639 BLAKE2B d2e6f6f334dfeb5e8ae33f4460c9344ec6b1e234e7f714c7602fae72f1ca5608e12145c40a39b14d28e1d79b0dd91855493d87947407428ba4c1d87834156626 SHA512 e327d58311f74c8bb9f18b99f8d866c071166e94f43912b35eedc6062267d4cdb5842bde7c54426c751b1bb76103ec11eb8daa682772a1f71c50962811dbc694 +DIST autopep8-1.3.5.tar.gz 109415 BLAKE2B e30a9719dcb2ce5463adc967ea76daa1c919c4b26e879ad69416e06bdff873e288b43a86f2cd797e67428c969e60dfb1f63508bbd8eec8f818f2abd4f68409e9 SHA512 3f7b441ede0efe01b3123e9349eeddc1eb62e6198c79e95e7eee532a3c9eca0cedfd4fdb50a872da9be93ad79db68fb13972eb984539f9ca4ebc37b05411cf70 EBUILD autopep8-1.3.2.ebuild 1031 BLAKE2B 45f8abac294c798aa3af2244b4c1d9ced11a40bd3ded323f424badf45a9ed52dbd4187277998b53e23b61510506589bd54eb2fc3f015d06b39e1ccb6174cc7c1 SHA512 641e25255424065af785f502479a321c8fb3cac6bbecb853c866a5cdaa0daec0b0a003f6deebff01da85cdd962ae2894cd2ba93513f87980582f50e86850fdba EBUILD autopep8-1.3.3.ebuild 1033 BLAKE2B 3f2cac60bfacc5a98e76f155b241cdf25db25fa3f37f3a95fe2825af6ee8bd08aba33def7074efc5a8820a2fdb9c5b27d74eaf4f885e34afb8a545ddaa402de9 SHA512 24f73201649c098b1ff19eac425b644fb49aa812c355f984179821cf0c566d1998aed2d5a1af34cfab9e59cabad10f6d165828695de98771a0ae44dbd336de20 +EBUILD autopep8-1.3.5.ebuild 1034 BLAKE2B 2c848438acc290c732ac04bcfe2c08dbcc18fd050b6760122ab4994e1ab6cd640a6f83c66e87cfa0cdaf32455cdd57ac3ed66bf5d91115e161e33f2b4ac47991 SHA512 2a620eaabacad942edf60282dcffb624d28609546f5fc92405605b81a054db9b8c8320e6a9d1432f9c168a3949c0619a7d346218b96a007bc72428bfe242e727 EBUILD autopep8-9999.ebuild 856 BLAKE2B 3c16cdf8636d56a0009fe326ceb6c05a89f1461b3d03ac8ff5ee1e55fee00101ffba1168e6959b6d0433133bdb31919f0c30bf625b23ccfb71ba89af795eec2c SHA512 7f4233fbe157efbfb9eca28ddba4d6641ffdbe71125605a04d03b3d734242f3f79398452a2642c6c2eb24378526d5b537da77663d1e8199ae5702ed90e5757e1 MISC metadata.xml 484 BLAKE2B e99d8c92cf8d692e645db02a59bf083c14d12ae177a5acf1248961329e79fe5f1a56af05d2a942e3d644918c9f2d6e4a24d698e18441f5a65efac87ad880bed9 SHA512 7542d6e1738ad7d333fc2ef8d6072e6963dfbc07f731f3e9137e49936165ef26145185a34cdfb6dfa5df16ac4a73bff3c8e6fde8c9f0477e1545ee5e2c6b605c diff --git a/dev-python/autopep8/autopep8-1.3.5.ebuild b/dev-python/autopep8/autopep8-1.3.5.ebuild new file mode 100644 index 000000000000..9dbeed092902 --- /dev/null +++ b/dev-python/autopep8/autopep8-1.3.5.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_{4,5,6}} pypy{,3} ) +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.5.7[${PYTHON_USEDEP}] + >=dev-python/pycodestyle-2.3[${PYTHON_USEDEP}]" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + test? ( + ${RDEPEND} + >=dev-python/pydiff-0.1.2[${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 +} -- cgit v1.2.3