dev-python/sphinxcontrib-websupport: treeclean

This commit is contained in:
Alarig Le Lay 2023-01-13 10:14:26 +01:00
parent 24e166f5cf
commit 8099b891ae
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
3 changed files with 0 additions and 65 deletions

View file

@ -1 +0,0 @@
DIST sphinxcontrib-websupport-1.2.0.tar.gz 601365 BLAKE2B eadac8c8895cedd8c38d2fe489b5804a1d2451578cdb8fa0471ae2cf888eb9b36ce0f3f0cfab544b93057f19f088ac0ddea215827b6df7fd9e65b3c3147586fe SHA512 d68cc6415aba88f4c7cd44f04fd45988eefb2a6321311e10b428d487ba84a50c68d6190ad6c560272dc99d386358b756c51f1d87615db068042c6e32eb701b67

View file

@ -1,16 +0,0 @@
<?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>Python</name>
</maintainer>
<longdescription lang="en">
sphinxcontrib-webuspport provides a Python API to easily integrate
Sphinx documentation into your Web application.
</longdescription>
<upstream>
<remote-id type="pypi">sphinxcontrib-websupport</remote-id>
<remote-id type="github">sphinx-doc/sphinxcontrib-websupport</remote-id>
</upstream>
</pkgmetadata>

View file

@ -1,48 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
inherit distutils-r1
DESCRIPTION="Sphinx websupport extension"
HOMEPAGE="http://www.sphinx-doc.org"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/sqlalchemy-0.9[${PYTHON_USEDEP}]
>=dev-python/whoosh-2.0[${PYTHON_USEDEP}]
>=dev-python/six-1.5[${PYTHON_USEDEP}]
dev-python/namespace-sphinxcontrib[${PYTHON_USEDEP}]"
# avoid circular dependency with sphinx
PDEPEND="
>=dev-python/sphinx-2.0[${PYTHON_USEDEP}]"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
${RDEPEND}
${PDEPEND}
dev-python/pytest[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
)"
python_install_all() {
distutils-r1_python_install_all
find "${ED}" -name '*.pth' -delete || die
}
src_test() {
cd tests || die
distutils-r1_src_test
}
python_test() {
pytest -vv || die "Tests fail with ${EPYTHON}"
}