dev-python/sphinxcontrib-github-alt: Use PEP517 build

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2022-09-18 15:52:28 +02:00
parent 1e1c4ce544
commit ae2f9e5e47
2 changed files with 15 additions and 8 deletions

View File

@@ -1 +1 @@
DIST sphinxcontrib-github-alt-1.2.tar.gz 3680 BLAKE2B afd5a20d073e58bcb657fbf100b28fab9d8cda2e1ae7e488dab42e8d4b12e4668185657673a56e9c410aa81cb65dbf4b706740511a8ed9d6c49482ea014c2fc0 SHA512 08f6738206232a5f37446ecac7b804178a57173efee58886623c7d2b43678c8acfd5a7527bacfe7c8f004fd531be9606f24a99c5665b78f97a5676398d2d2857
DIST sphinxcontrib_github_alt-1.2.gh.tar.gz 3680 BLAKE2B afd5a20d073e58bcb657fbf100b28fab9d8cda2e1ae7e488dab42e8d4b12e4668185657673a56e9c410aa81cb65dbf4b706740511a8ed9d6c49482ea014c2fc0 SHA512 08f6738206232a5f37446ecac7b804178a57173efee58886623c7d2b43678c8acfd5a7527bacfe7c8f004fd531be9606f24a99c5665b78f97a5676398d2d2857

View File

@@ -3,17 +3,22 @@
EAPI=7
DISTUTILS_USE_SETUPTOOLS=pyproject.toml
DISTUTILS_USE_PEP517=flit
PYTHON_COMPAT=( python3_{8..11} )
inherit distutils-r1
MY_PN="sphinxcontrib_github_alt"
MY_P=sphinxcontrib_github_alt-${PV}
DESCRIPTION="Link to GitHub issues, pull requests, commits and users from Sphinx docs"
HOMEPAGE="https://github.com/jupyter/sphinxcontrib_github_alt"
SRC_URI="https://github.com/jupyter/${MY_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
HOMEPAGE="
https://github.com/jupyter/sphinxcontrib_github_alt/
https://pypi.org/project/sphinxcontrib_github_alt/
"
SRC_URI="
https://github.com/jupyter/sphinxcontrib_github_alt/archive/${PV}.tar.gz
-> ${MY_P}.gh.tar.gz
"
S=${WORKDIR}/${MY_P}
LICENSE="BSD-2"
SLOT="0"
@@ -23,4 +28,6 @@ RDEPEND="
dev-python/sphinx[${PYTHON_USEDEP}]
!dev-python/sphinxcontrib_github_alt
"
BDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/sphinx[${PYTHON_USEDEP}]
"