diff options
| author | Julien Roy <julien@jroy.ca> | 2024-01-08 19:12:02 -0500 | 
|---|---|---|
| committer | Julien Roy <julien@jroy.ca> | 2024-01-08 19:12:02 -0500 | 
| commit | a25047ded23016d50333b8c9f85a38b49fa133b0 (patch) | |
| tree | 5aa06d0c89c5e1b2cac2bef29a194b4edc43b3e9 | |
| parent | 6315c3646484ec274ed63bdb02aa249a4d5a7a85 (diff) | |
| download | MrRoy-Overlay-a25047ded23016d50333b8c9f85a38b49fa133b0.tar.gz MrRoy-Overlay-a25047ded23016d50333b8c9f85a38b49fa133b0.tar.bz2 MrRoy-Overlay-a25047ded23016d50333b8c9f85a38b49fa133b0.zip  | |
moved from guru
4 files changed, 84 insertions, 0 deletions
diff --git a/dev-python/sphinxcontrib-zopeext/Manifest b/dev-python/sphinxcontrib-zopeext/Manifest new file mode 100644 index 0000000..d4ae803 --- /dev/null +++ b/dev-python/sphinxcontrib-zopeext/Manifest @@ -0,0 +1 @@ +DIST sphinxcontrib_zopeext-0.4.2.tar.gz 13887 BLAKE2B ce77989ff34fa76bf1263f0764a872a840cea2cf7817ab1697a8176b1bf4444f4791430b2aab8cd72026a5e56248c9dc43d1052e0e1a891456388f86bb8551d3 SHA512 acf78a943ff6842184b347251398df3e20f045601bbba755152f891ee8a5d08e137dea5dbbc38f8a82ea5f045681dce6ac83a2329d74d378d56758031111c317 diff --git a/dev-python/sphinxcontrib-zopeext/files/pyproject.patch b/dev-python/sphinxcontrib-zopeext/files/pyproject.patch new file mode 100644 index 0000000..04ef8a9 --- /dev/null +++ b/dev-python/sphinxcontrib-zopeext/files/pyproject.patch @@ -0,0 +1,28 @@ +diff --git a/pyproject.toml b/pyproject.toml +index b204a4d..5633f69 100644 +--- a/pyproject.toml ++++ b/pyproject.toml +@@ -16,14 +16,6 @@ dev = [ + testpaths = [ +     "tests", + ] +-addopts = [ +-    "--doctest-modules", +-    "--cov=sphinxcontrib.zopeext", +-    "--cov-report=html", +-    "--cov-fail-under=85", +-    "--no-cov-on-fail", +-    "--pdb", +-] + doctest_optionflags = [ +     "ELLIPSIS", +     "NORMALIZE_WHITESPACE", +@@ -87,6 +79,6 @@ doc = [ +  + [build-system] + requires = [ +-    "pdm-backend", ++    "pdm-pep517", + ] +-build-backend = "pdm.backend" ++build-backend = "pdm.pep517.api" diff --git a/dev-python/sphinxcontrib-zopeext/metadata.xml b/dev-python/sphinxcontrib-zopeext/metadata.xml new file mode 100644 index 0000000..8236b29 --- /dev/null +++ b/dev-python/sphinxcontrib-zopeext/metadata.xml @@ -0,0 +1,19 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +	<maintainer type="person"> +		<name>Julien Roy</name> +		<email>julien@jroy.ca</email> +	</maintainer> +	<upstream> +		<bugs-to>https://github.com/sphinx-contrib/zopeext/issues</bugs-to> +		<changelog>https://github.com/sphinx-contrib/zopeext/blob/main/CHANGES</changelog> +		<remote-id type="github">sphinx-contrib/zopeext</remote-id> +		<remote-id type="pypi">sphinxcontrib-zopeext</remote-id> +		<maintainer> +			<name>Michael McNeil Forbes</name> +			<email>mforbes@alum.mit.edu</email> +		</maintainer> +		<doc>https://zopeext.readthedocs.io/en/latest/</doc> +	</upstream> +</pkgmetadata> diff --git a/dev-python/sphinxcontrib-zopeext/sphinxcontrib-zopeext-0.4.2-r1.ebuild b/dev-python/sphinxcontrib-zopeext/sphinxcontrib-zopeext-0.4.2-r1.ebuild new file mode 100644 index 0000000..f65ba17 --- /dev/null +++ b/dev-python/sphinxcontrib-zopeext/sphinxcontrib-zopeext-0.4.2-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm +PYTHON_COMPAT=( python3_{10,11,12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Sphinx extension for using Zope interfaces" +HOMEPAGE="https://github.com/sphinx-contrib/zopeext" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" +	dev-python/importlib-metadata[${PYTHON_USEDEP}] +	dev-python/zope-interface[${PYTHON_USEDEP}] +	dev-python/sphinx[${PYTHON_USEDEP}] +" +BDEPEND=" +	test? ( +		dev-python/pytest-cov[${PYTHON_USEDEP}] +	) +" + +PATCHES=( +	"${FILESDIR}/pyproject.patch" +) + +distutils_enable_tests pytest + +# Tests requires sphinx-testing which has been removed from ::gentoo +RESTRICT="test"  | 
