dev-python/doit-py: add python3_7 to PYTHON_COMPAT
authorAzamat H. Hackimov <azamat.hackimov@gmail.com>
Wed, 22 Apr 2020 11:28:55 +0000 (14:28 +0300)
committerJoonas Niilola <juippis@gentoo.org>
Sat, 16 May 2020 12:59:40 +0000 (15:59 +0300)
Rewrite doc and test phases to use distutils_enable_sphinx and
distutils_enable_tests.

Closes: https://bugs.gentoo.org/718636
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Azamat H. Hackimov <azamat.hackimov@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
dev-python/doit-py/doit-py-0.4.0-r2.ebuild [new file with mode: 0644]
dev-python/doit-py/metadata.xml

diff --git a/dev-python/doit-py/doit-py-0.4.0-r2.ebuild b/dev-python/doit-py/doit-py-0.4.0-r2.ebuild
new file mode 100644 (file)
index 0000000..94b95b4
--- /dev/null
@@ -0,0 +1,27 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6,7} )
+
+inherit distutils-r1
+
+DESCRIPTION="doit tasks for python stuff"
+HOMEPAGE="https://pythonhosted.org/doit-py/"
+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="
+       test? (
+               dev-python/pyflakes[${PYTHON_USEDEP}]
+               dev-python/coverage[${PYTHON_USEDEP}]
+               app-text/hunspell
+       )"
+RDEPEND="
+       dev-python/configclass[${PYTHON_USEDEP}]"
+
+distutils_enable_sphinx doc
+distutils_enable_tests pytest
index db54c8a506f1158790c161fd8df23b00416fe752..80c77d8b86a068d3fdeffb90112ce6d7ad21c145 100644 (file)
@@ -1,8 +1,16 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-       <!-- maintainer-needed -->
-       <upstream>
-               <remote-id type="pypi">doit-py</remote-id>
-       </upstream>
+  <maintainer type="person">
+    <email>azamat.hackimov@gmail.com</email>
+    <name>Azamat H. Hackimov</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>proxy-maint@gentoo.org</email>
+    <name>Proxy Maintainers</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">pydoit/doit-py</remote-id>
+    <remote-id type="pypi">doit-py</remote-id>
+  </upstream>
 </pkgmetadata>