summaryrefslogtreecommitdiff
path: root/dev-python/autopep8
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-python/autopep8
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-python/autopep8')
-rw-r--r--dev-python/autopep8/Manifest6
-rw-r--r--dev-python/autopep8/autopep8-1.3.2.ebuild38
-rw-r--r--dev-python/autopep8/autopep8-9999.ebuild28
-rw-r--r--dev-python/autopep8/metadata.xml13
4 files changed, 85 insertions, 0 deletions
diff --git a/dev-python/autopep8/Manifest b/dev-python/autopep8/Manifest
new file mode 100644
index 000000000000..8cbe9968204d
--- /dev/null
+++ b/dev-python/autopep8/Manifest
@@ -0,0 +1,6 @@
+DIST autopep8-1.3.2.tar.gz 107915 SHA256 7e82590bf366b4d891ac5c1535554c46a5f79e4400a190a8493e92e75c5037dd SHA512 cb9a5e297ce705722d5e65472dbe749e57fa12fe8dee0d4c3dc20d9e885e0d885339627667110318c89c6bf7e337203a7831c0e2217e5a5d7951edcb98d3df4f WHIRLPOOL 8e1d4a9a71e4cc790060a393f5512913d567855d886776b4e32db4ffcef0bb82c793b3af833ddec1dc0f08e585f2d9163ec1c8ee67f118f4b982740ffec89f6e
+EBUILD autopep8-1.3.2.ebuild 924 SHA256 ab42ac26d026e7cbc6244c6a936a3a94db33d44324694f8cfc877baccb52589b SHA512 f6fdc70395872297a118867f6a0aad98882ac51e1808d04a144dd5b30e8684bf50b1ba7924b5b8fa3c6cf866831d831c67fe84065163b2460242291dc8ece49f WHIRLPOOL 159af13d25877085b4f7b2d15d50564baf92160b9218904d05b3df632e57f6da95fd7c5d5c05620f76b1526d9d25c14f9a72f25c2b9253c5b49fbe8e5cd8a24d
+EBUILD autopep8-9999.ebuild 727 SHA256 f18c504af9e88bc23a45d1e0024fd08180e11e2ce109b2d1be667c41d36a1733 SHA512 21692eee175575acf3521fd83331b81c522c3523458658c3409ab7ee71c9620333ff82ce3c0264ce7ccf2fb91222a88c2984972d8b997848e1bdf700cde4b2ed WHIRLPOOL d8e6297b22e058826e0081ce2755848819feca9046e1f8446b7dc1aaa8c360db9cf63d4fbd31af316d4110775e6674cc8c89331ab0818256dc756125fdae529c
+MISC ChangeLog 4459 SHA256 98afaceb89cbcbc6dede9095e716fe7e23e611b677f1262bda38b4fa98d165c7 SHA512 2c954c08bf4cc1a29fba5eb86e300e0d905301b155421f5ee65824091821b4135ad7ec5725fd6b06e2b70554d24b540963beb3400e19308ae0d5855b4240c271 WHIRLPOOL 120dbe3e2ae820716c8f58f339c4ee6976c3bf3248dd9698b0e967a793439409294ea7a9fb9a9bbafbf385572b054e3c5d6884e8f032b6627d576bebd88e3ba0
+MISC ChangeLog-2015 9146 SHA256 92ef0f58b77add17031041d66fa9e40bb6928d071d27cd010b2b3e2b46214e0f SHA512 519587c599ee2d7a4877e99d15a76ad6782bb6ce6bef8b3f115805d92eadfa7f4cf139e510156662ca4569169b3f306e69d2cf5fd310b55fd8553f1bca27d3b1 WHIRLPOOL 2005b64a1cfe7c80742a04f94cad103fc29093980d0c8e4855c0c651261c7c5570fe3919cb46a822f5be2dee9f426cb164864b6fe04f69a8c3684cf05e5e66f1
+MISC metadata.xml 484 SHA256 23d8457d4caaa75f92808c96c2e19901a124ecc9619100b0b5f647f1b8cccd9b SHA512 7542d6e1738ad7d333fc2ef8d6072e6963dfbc07f731f3e9137e49936165ef26145185a34cdfb6dfa5df16ac4a73bff3c8e6fde8c9f0477e1545ee5e2c6b605c WHIRLPOOL 9612f8ef789b5ab5aea16a090b65b7459d51001c48eb2c2e9036d3f57cf75a1d54834f6b372cb676646b919013425ecdc54b94b1409173de46416815626d68d6
diff --git a/dev-python/autopep8/autopep8-1.3.2.ebuild b/dev-python/autopep8/autopep8-1.3.2.ebuild
new file mode 100644
index 000000000000..feb7d88b55a6
--- /dev/null
+++ b/dev-python/autopep8/autopep8-1.3.2.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2017 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.python.org/pypi/autopep8"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
+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
+}
diff --git a/dev-python/autopep8/autopep8-9999.ebuild b/dev-python/autopep8/autopep8-9999.ebuild
new file mode 100644
index 000000000000..82b8a5ea9078
--- /dev/null
+++ b/dev-python/autopep8/autopep8-9999.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy pypy3 )
+PYTHON_REQ_USE="threads(+)"
+
+inherit distutils-r1 git-2
+
+DESCRIPTION="Automatically formats Python code to conform to the PEP 8 style guide"
+HOMEPAGE="https://github.com/hhatto/autopep8 https://pypi.python.org/pypi/autopep8"
+SRC_URI=""
+EGIT_REPO_URI="https://github.com/hhatto/${PN}.git"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE="test"
+
+RDEPEND="
+ >=dev-python/pep8-1.5.7[${PYTHON_USEDEP}]
+ dev-python/setuptools[${PYTHON_USEDEP}]"
+DEPEND="${DEPEND}
+ test? ( >=dev-python/pydiff-0.1.2[${PYTHON_USEDEP}] )"
+
+python_test() {
+ "${PYTHON}" setup.py test || die
+}
diff --git a/dev-python/autopep8/metadata.xml b/dev-python/autopep8/metadata.xml
new file mode 100644
index 000000000000..ab844e107fb5
--- /dev/null
+++ b/dev-python/autopep8/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>python@gentoo.org</email>
+ <name>Python</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>
+</pkgmetadata>