From f29eb0598f62fc3b5f09f2de5a89c0437c6164d9 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 21 Jan 2020 18:52:40 +0000 Subject: gentoo resync : 21.01.2020 --- dev-python/doit-py/Manifest | 1 + dev-python/doit-py/doit-py-0.4.0-r1.ebuild | 39 ++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) create mode 100644 dev-python/doit-py/doit-py-0.4.0-r1.ebuild (limited to 'dev-python/doit-py') diff --git a/dev-python/doit-py/Manifest b/dev-python/doit-py/Manifest index 7bd589749305..b5a21eab54f2 100644 --- a/dev-python/doit-py/Manifest +++ b/dev-python/doit-py/Manifest @@ -1,3 +1,4 @@ DIST doit-py-0.4.0.tar.gz 16534 BLAKE2B 390a7ac17efc1938176ff6aad8fd404b8a0155e82dd2f346cd416d0357cc888e1b3e84dd9ddb19260bc9ee463e013ae544032199967a6ace7d63840a178e0933 SHA512 72aa850928c99bf43eefd827334b361243da3b26283fa358ed3f7fba72d1916b1cbe50e581d3d62ed3b4f0efb9b5d1e7f59c3dc913b2ee27e6503bf4e47def33 +EBUILD doit-py-0.4.0-r1.ebuild 940 BLAKE2B d29549a097ea9d3da347845f69e7a0f16c3ba326aa854a02c0e493e8751df44067dbf3dc6c6ad0b34bf4eca35db0ccb0db7ca4c3bc6fa01abe9033bb2fc0e17f SHA512 489f7bb2834bcf04be39b6695de4a468f8b2bfb45ce481dc4e22420700ef34cbfcd6a9dd4e3c0fd7446a4e628eba4e2ab95f31ef7b31d4db28ce31ed6f3936fd EBUILD doit-py-0.4.0.ebuild 1054 BLAKE2B 9cb229c574cb508ddc59dfc9f2f492116b8c3d5754a48cb607fd77694386fbcb780609ed9fd7ad0baae6f0e617a62a29ceab2b7866f8aa68b8406e9d431f30bf SHA512 a78d98143feb4ff4782eb139d0735868ac93229b0378bf8f283406e2b860ff4529f724285325b36f108e065f6113c70ead0025c3f39fb5b8fe315f87b1e06410 MISC metadata.xml 237 BLAKE2B a4b0f86fd4f5d56e2c8cb4ed5cf0671ad2faa61567572fe1173d07d34fc8fd08790f53306e88c3f5135a5b099e10991358c8af0930c2207708c5a11f71e82c6a SHA512 f87674e3eea3a9ea242100ba88aabe10df84aada9aa7e6e2b4b89f0103b20dc5b4d52fa43bbbb0fd2c5356bc0e544e1955a8fa0cbfd06503b51752d571bfae1c diff --git a/dev-python/doit-py/doit-py-0.4.0-r1.ebuild b/dev-python/doit-py/doit-py-0.4.0-r1.ebuild new file mode 100644 index 000000000000..9fe25b87fc93 --- /dev/null +++ b/dev-python/doit-py/doit-py-0.4.0-r1.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python{2_7,3_6} ) + +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" +IUSE="doc test" +RESTRICT="!test? ( test )" + +DEPEND="test? ( + dev-python/pyflakes[${PYTHON_USEDEP}] + dev-python/coverage[${PYTHON_USEDEP}] + virtual/python-singledispatch[${PYTHON_USEDEP}] + app-text/hunspell ) + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" +RDEPEND=" + virtual/python-pathlib[${PYTHON_USEDEP}] + dev-python/doit[${PYTHON_USEDEP}] + dev-python/configclass[${PYTHON_USEDEP}]" + +distutils_enable_tests pytest + +python_compile_all() { + use doc && emake -C doc html +} + +python_install_all() { + use doc && local HTML_DOCS=( doc/_build/html/. ) + distutils-r1_python_install_all +} -- cgit v1.2.3