dev-python/pep257: new package.
authorPatrice Clement <monsieurp@gentoo.org>
Mon, 8 Oct 2018 20:10:05 +0000 (22:10 +0200)
committerPatrice Clement <monsieurp@gentoo.org>
Wed, 10 Oct 2018 06:39:55 +0000 (08:39 +0200)
pydocstyle is a static analysis tool for checking compliance with Python
docstring conventions and enforcing PEP257.

Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Closes: https://bugs.gentoo.org/556358

dev-python/pep257/Manifest [new file with mode: 0644]
dev-python/pep257/metadata.xml [new file with mode: 0644]
dev-python/pep257/pep257-2.1.1.ebuild [new file with mode: 0644]

diff --git a/dev-python/pep257/Manifest b/dev-python/pep257/Manifest
new file mode 100644 (file)
index 0000000..a0a68b5
--- /dev/null
@@ -0,0 +1 @@
+DIST pep257-2.1.1.tar.gz 55760 BLAKE2B e470b006b5db04c4bed5c3145b14b949980c71d1dd91dbe34d49599063aaf1cb1d0842dfb992e5d471436446455bde2d309ee573826c039540fa99adba3f828b SHA512 f23939e0350094c67565613bab4ddf285dda5a7379e6ac2493953d6e60ab75588143fd374715765d2aa0728e7117d02e91312dbbe5a9cad28aa8e8e7f68e3bc4
diff --git a/dev-python/pep257/metadata.xml b/dev-python/pep257/metadata.xml
new file mode 100644 (file)
index 0000000..303bad4
--- /dev/null
@@ -0,0 +1,15 @@
+<?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>Gentoo Python Project</name>
+  </maintainer>
+  <maintainer type="person">
+    <email>monsieurp@gentoo.org</email>
+    <name>Patrice Clement</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">PyCQA/pydocstyle</remote-id>
+  </upstream>
+</pkgmetadata>
diff --git a/dev-python/pep257/pep257-2.1.1.ebuild b/dev-python/pep257/pep257-2.1.1.ebuild
new file mode 100644 (file)
index 0000000..38e682f
--- /dev/null
@@ -0,0 +1,38 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
+
+inherit distutils-r1
+
+MY_PN="pydocstyle"
+MY_P="${MY_PN}-${PV}"
+
+DESCRIPTION="Python docstring style checker"
+HOMEPAGE="https://pypi.python.org/pypi/pep257"
+SRC_URI="https://github.com/PyCQA/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND=""
+DEPEND="
+       dev-python/setuptools[${PYTHON_USEDEP}]
+       test? (
+               dev-python/pytest[${PYTHON_USEDEP}]
+               dev-python/mock[${PYTHON_USEDEP}]
+       )"
+
+S="${WORKDIR}/${MY_P}"
+
+python_install_all() {
+       distutils-r1_python_install_all
+}
+
+python_test() {
+       esetup.py test
+}