diff options
author | Nils Freydank <holgersson@posteo.de> | 2020-03-23 22:52:56 +0100 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2020-03-23 22:37:03 -0700 |
commit | 40be63f961b87a2a4c79d060c5e5b77106242a15 (patch) | |
tree | 8723024f9c0a7558025a2086d41dfffe046e1c48 /dev-python/mando | |
parent | sys-apps/portage: Remove old versions (diff) | |
download | gentoo-40be63f961b87a2a4c79d060c5e5b77106242a15.tar.gz gentoo-40be63f961b87a2a4c79d060c5e5b77106242a15.tar.bz2 gentoo-40be63f961b87a2a4c79d060c5e5b77106242a15.zip |
dev-python/mando: Bump to 0.6.4
Package-Manager: Portage-2.3.94, Repoman-2.3.21
Signed-off-by: Nils Freydank <holgersson@posteo.de>
Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'dev-python/mando')
-rw-r--r-- | dev-python/mando/Manifest | 1 | ||||
-rw-r--r-- | dev-python/mando/mando-0.6.4.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/dev-python/mando/Manifest b/dev-python/mando/Manifest index 5194c32ad6ba..2db64f337997 100644 --- a/dev-python/mando/Manifest +++ b/dev-python/mando/Manifest @@ -1 +1,2 @@ DIST mando-0.3.2.tar.gz 22393 BLAKE2B bf6a7df4a6e2e8270d0b8fa278cde7d520bf5c9d490dec748927d8f7c024381094f946e5feb4b5334b0d7255df002aeb1b42b8545b7514194425e37f739d2da9 SHA512 57f5041ad175c4eca4c158d9d917dcb1f9c25978c60aa0e76322d0395b0edbc3fb7b062da7b9af871a97bbd46cfe7f81e634287f813baf15ef134be53150bd11 +DIST mando-0.6.4.tar.gz 36560 BLAKE2B 9878746485d4b896c3e32512b77ac02739940a1398eee12056fd6719cc3c99f8c526c8e573d2556b6a9d0d8d26e20fb45c97119e626b1d44f0a5b5f4655adba1 SHA512 457fa0db4e8e5dbfac6146d254181213814ef1975c919b4573007face27749ec3a50eda850558ebdc0fdff94a5e9819fd825b10cb3023078b2b426c2825fdbf0 diff --git a/dev-python/mando/mando-0.6.4.ebuild b/dev-python/mando/mando-0.6.4.ebuild new file mode 100644 index 000000000000..6beb7fda2860 --- /dev/null +++ b/dev-python/mando/mando-0.6.4.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6,7,8} ) + +inherit distutils-r1 + +DESCRIPTION="Create Python CLI apps with little to no effort at all!" +HOMEPAGE="https://mando.readthedocs.org/ https://github.com/rubik/mando" +SRC_URI="https://github.com/rubik/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc examples test" +RESTRICT="!test? ( test )" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] ) + test? ( + dev-python/pytest[${PYTHON_USEDEP}] + dev-python/coverage[${PYTHON_USEDEP}] + dev-python/tox[${PYTHON_USEDEP}] + ) +" +RDEPEND="" + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + "${PYTHON}" mando/tests/run.py || die "tests failed under ${EPYTHON}" +} + +python_install_all() { + use doc && local HTML_DOCS=( docs/_build/html/. ) + if use examples; then + dodoc -r examples + docompress -x /usr/share/doc/${PF}/examples + fi + + distutils-r1_python_install_all +} |