From 4ce78528031239524af920edfbacfca8a846e8e0 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 13 Oct 2018 15:14:08 -0700 Subject: dev-python/flake8-import-order: new package Signed-off-by: Zac Medico Package-Manager: Portage-2.3.51, Repoman-2.3.11 --- dev-python/flake8-import-order/Manifest | 1 + .../flake8-import-order-0.18.ebuild | 32 ++++++++++++++++++++++ dev-python/flake8-import-order/metadata.xml | 12 ++++++++ 3 files changed, 45 insertions(+) create mode 100644 dev-python/flake8-import-order/Manifest create mode 100644 dev-python/flake8-import-order/flake8-import-order-0.18.ebuild create mode 100644 dev-python/flake8-import-order/metadata.xml diff --git a/dev-python/flake8-import-order/Manifest b/dev-python/flake8-import-order/Manifest new file mode 100644 index 000000000000..2b8b5ab84375 --- /dev/null +++ b/dev-python/flake8-import-order/Manifest @@ -0,0 +1 @@ +DIST flake8-import-order-0.18.tar.gz 18507 BLAKE2B 01d9ea712dd5cc4177aec2c1ea2c2dfa72266edfa6b9143657076edab02548058a5bb4642a9a9b7c3dcad36cd76491114cc36a128d57076d09e4cd9e0f1568fe SHA512 8a897d42c81e99d9373fdf03e975b65309700fddf7c38294fe65562ce788e788c9d6c2ec8dd2c8d24e65b4360b3b3577a7a66eb279a5952f8b9d212b06047395 diff --git a/dev-python/flake8-import-order/flake8-import-order-0.18.ebuild b/dev-python/flake8-import-order/flake8-import-order-0.18.ebuild new file mode 100644 index 000000000000..ffb5da6d0c94 --- /dev/null +++ b/dev-python/flake8-import-order/flake8-import-order-0.18.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{4,5,6} ) + +inherit distutils-r1 + +DESCRIPTION="Flake8 plugin that checks import order against various Python Style Guides" +HOMEPAGE="https://github.com/PyCQA/flake8-import-order" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + dev-python/pycodestyle[${PYTHON_USEDEP}] + virtual/python-enum34[${PYTHON_USEDEP}]" +DEPEND="${RDEPEND} + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/flake8[${PYTHON_USEDEP}] + dev-python/pycodestyle[${PYTHON_USEDEP}] + )" + +python_test() { + py.test -v tests || die "tests failed with ${EPYTHON}" +} diff --git a/dev-python/flake8-import-order/metadata.xml b/dev-python/flake8-import-order/metadata.xml new file mode 100644 index 000000000000..2bcccd127d53 --- /dev/null +++ b/dev-python/flake8-import-order/metadata.xml @@ -0,0 +1,12 @@ + + + + + zmedico@gentoo.org + Zac Medico + + + flake8-import-order + PyCQA/flake8-import-order + + -- cgit v1.2.3-65-gdbad