sphinx-autodoc-annotation-1.0-r1 added

This commit is contained in:
Andreas Billmeier 2019-01-30 18:30:44 +01:00
parent 7c48b79138
commit b1a5956474
2 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,2 @@
DIST sphinx-autodoc-annotation-1.0-r1.tar.gz 4049 BLAKE2B 20aec41d15bb51c43f8f0e0890c395a47fbf9fdd45c7f8072946ed4f5ee8edd169048a95e136b1fc617d8eb2f9ccc9e6da8f2027ad3b1487453abb4508def64f SHA512 a40ca505b6c7e9f738b570064ce5aade77ea1444150a67f01cc1c5a78aaef9c019da315923d56aebfca9a6c4150b43d1f5181f3fc362a6f1e45918be09231a7a
EBUILD sphinx-autodoc-annotation-1.0-r1.ebuild 976 BLAKE2B 1dbf4af180dc6e45e5fa311f226a98cde56eba9ec29eef071d5175309bb1d9e474011c12dfd3183d36aae03c140270cfda2e863ed9ecfab27f3278de0402251b SHA512 a026217e007d06d6e8095a9f9a9def88177de969de066b06bed8f07edda895004792be0407bbc6c9926b0c30853489ffb7faac1bbe4b3be189037c00402574d0

View File

@ -0,0 +1,36 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{5,6,7} )
inherit distutils-r1
MY_PVR=${PVR/-r/-}
DESCRIPTION="Use Python 3 annotations in sphinx-enabled docstrings"
HOMEPAGE="https://github.com/hsoft/sphinx-autodoc-annotation https://pypi.org/project/sphinx-autodoc-annotation/"
# https://files.pythonhosted.org/packages/c9/2b/81f620d831cd0632ba7583723ab42e840ba766b86868307ee0877c40a2e2/sphinx-autodoc-annotation-1.0-1.tar.gz
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${PN}-${MY_PVR}.tar.gz -> ${PF}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
# sphinx-autodoc-annotation-1.0-1
S="${WORKDIR}/${PN}-${MY_PVR}"
RDEPEND=""
DEPEND="${REDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
python_test() {
nosetests --verbose || die
py.test -v -v || die
}