public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Alessandro Barbieri" <lssndrbarbieri@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-python/autoflake/
Date: Sun, 29 Mar 2020 09:29:09 +0000 (UTC)	[thread overview]
Message-ID: <1585474143.6c6ff2e8415071b9f2ce776a5619e271f84e75a4.Alessandro-Barbieri@gentoo> (raw)

commit:     6c6ff2e8415071b9f2ce776a5619e271f84e75a4
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Mar 29 09:27:19 2020 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Mar 29 09:29:03 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6c6ff2e8

dev-python/autoflake: new package

Package-Manager: Portage-2.3.96, Repoman-2.3.22
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-python/autoflake/Manifest               |  1 +
 dev-python/autoflake/autoflake-1.3.1.ebuild | 31 +++++++++++++++++++++++++++++
 dev-python/autoflake/metadata.xml           | 20 +++++++++++++++++++
 3 files changed, 52 insertions(+)

diff --git a/dev-python/autoflake/Manifest b/dev-python/autoflake/Manifest
new file mode 100644
index 0000000..a55e724
--- /dev/null
+++ b/dev-python/autoflake/Manifest
@@ -0,0 +1 @@
+DIST autoflake-1.3.1.tar.gz 19756 BLAKE2B 8a172888a8c44483b8771b59bebda841e55455f544197e2f1bce08dfb7cb3dd54e8a616a15a3712609480bc484561ffa27aaa93d9b5e1a573bb1960df96ea9cf SHA512 763bcfc824412129901106ddcaf7104a2bfa5ee86b43d2822b51af5532ea0ac46466b64a004c099dc6fa2a96b23ae959e1ef1eb68c6be0c1e4c08ab9bf174e08

diff --git a/dev-python/autoflake/autoflake-1.3.1.ebuild b/dev-python/autoflake/autoflake-1.3.1.ebuild
new file mode 100644
index 0000000..752b394
--- /dev/null
+++ b/dev-python/autoflake/autoflake-1.3.1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+PYTHON_COMPAT=( python3_{6,7} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1
+
+DESCRIPTION="Removes unused imports and unused variables as reported by pyflakes"
+HOMEPAGE="
+	https://github.com/myint/autoflake
+	https://pypi.org/project/autoflake
+"
+SRC_URI="https://github.com/myint/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+	>=dev-python/pyflakes-1.1.0[${PYTHON_USEDEP}]
+"
+RDEPEND="${DEPEND}"
+
+python_test() {
+	"${EPYTHON}" test_autoflake.py || die
+}

diff --git a/dev-python/autoflake/metadata.xml b/dev-python/autoflake/metadata.xml
new file mode 100644
index 0000000..3fe5b4f
--- /dev/null
+++ b/dev-python/autoflake/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+
+<pkgmetadata>
+  <maintainer type="person">
+    <email>lssndrbarbieri@gmail.com</email>
+    <name>Alessandro Barbieri</name>
+  </maintainer>
+  <longdescription>
+autoflake removes unused imports and unused variables from Python code. It makes use of pyflakes to do this.
+
+By default, autoflake only removes unused imports for modules that are part of the standard library. (Other modules may have side effects that make them unsafe to remove automatically.) Removal of unused variables is also disabled by default.
+
+autoflake also removes useless pass statements.
+  </longdescription>
+  <upstream>
+    <remote-id type="github">myint/autoflake</remote-id>
+    <remote-id type="pypi">autoflake</remote-id>
+  </upstream>
+</pkgmetadata>


             reply	other threads:[~2020-03-29  9:29 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-29  9:29 Alessandro Barbieri [this message]
  -- strict thread matches above, loose matches on Subject: below --
2020-06-09 16:21 [gentoo-commits] repo/proj/guru:dev commit in: dev-python/autoflake/ Andrew Ammerlaan
2020-12-04  5:54 Theo Anderson
2021-06-14 23:09 Alessandro Barbieri
2021-10-03 22:16 Alessandro Barbieri
2022-07-11 19:22 Anna Vyalkova
2023-12-30 15:31 Tomás Carvalho
2023-12-30 15:31 Tomás Carvalho
2023-12-30 17:30 Tomás Carvalho
2024-05-14 22:50 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-05-14 22:45 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy
2024-05-14 22:50 [gentoo-commits] repo/proj/guru:master " Julien Roy
2024-05-14 22:45 ` [gentoo-commits] repo/proj/guru:dev " Julien Roy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1585474143.6c6ff2e8415071b9f2ce776a5619e271f84e75a4.Alessandro-Barbieri@gentoo \
    --to=lssndrbarbieri@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox