summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Zamarin <arthurzam@gentoo.org>2022-07-29 19:14:29 +0300
committerArthur Zamarin <arthurzam@gentoo.org>2022-07-29 19:36:58 +0300
commitfb54e78516d86eb1c6a80589f4e1fe8482297f61 (patch)
treea6480df8ffa677af2899fa5e31ed97d72ae625d0 /dev-python/sphinx-issues
parentdev-python/slixmpp: enable py3.11 (diff)
downloadgentoo-fb54e78516d86eb1c6a80589f4e1fe8482297f61.tar.gz
gentoo-fb54e78516d86eb1c6a80589f4e1fe8482297f61.tar.bz2
gentoo-fb54e78516d86eb1c6a80589f4e1fe8482297f61.zip
dev-python/sphinx-issues: Use PEP517
Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
Diffstat (limited to 'dev-python/sphinx-issues')
-rw-r--r--dev-python/sphinx-issues/sphinx-issues-3.0.1-r1.ebuild25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-python/sphinx-issues/sphinx-issues-3.0.1-r1.ebuild b/dev-python/sphinx-issues/sphinx-issues-3.0.1-r1.ebuild
new file mode 100644
index 000000000000..e7b1c277153c
--- /dev/null
+++ b/dev-python/sphinx-issues/sphinx-issues-3.0.1-r1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 2019-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+inherit distutils-r1
+
+DESCRIPTION="Sphinx extension for linking to your project's issue tracker"
+HOMEPAGE="https://github.com/sloria/sphinx-issues"
+SRC_URI="https://github.com/sloria/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris"
+
+RDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]"
+
+distutils_enable_tests pytest
+
+EPYTEST_DESELECT=(
+ # doesn't work in our pep517 install
+ tests/test_sphinx_issues.py::test_sphinx_build_integration
+)