public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinxcontrib-websupport/
Date: Wed, 20 Apr 2022 12:18:34 +0000 (UTC)	[thread overview]
Message-ID: <1650457108.6538cb47a9db7d9fd5e8343e14405f32a50c3edc.mgorny@gentoo> (raw)

commit:     6538cb47a9db7d9fd5e8343e14405f32a50c3edc
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 20 10:25:43 2022 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Apr 20 12:18:28 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6538cb47

dev-python/sphinxcontrib-websupport: EAPI 8, PEP517, rm namespace dep

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 .../sphinxcontrib-websupport-1.2.4-r1.ebuild       | 60 ++++++++++++++++++++++
 1 file changed, 60 insertions(+)

diff --git a/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.2.4-r1.ebuild b/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.2.4-r1.ebuild
new file mode 100644
index 000000000000..47d812297ed2
--- /dev/null
+++ b/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.2.4-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-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} pypy3 )
+
+inherit distutils-r1
+
+DESCRIPTION="Sphinx websupport extension"
+HOMEPAGE="
+	https://www.sphinx-doc.org/
+	https://github.com/sphinx-doc/sphinxcontrib-websupport/
+	https://pypi.org/project/sphinxcontrib-websupport/
+"
+# pypi tarball is missing templates
+SRC_URI="
+	https://github.com/sphinx-doc/sphinxcontrib-websupport/archive/${PV}.tar.gz
+		-> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+
+RDEPEND="
+	>=dev-python/six-1.5[${PYTHON_USEDEP}]
+	dev-python/sphinxcontrib-serializinghtml[${PYTHON_USEDEP}]
+"
+# avoid circular dependency with sphinx
+PDEPEND="
+	>=dev-python/sphinx-1.5.3[${PYTHON_USEDEP}]
+"
+BDEPEND="
+	test? (
+		${PDEPEND}
+		>=dev-python/sqlalchemy-0.9[${PYTHON_USEDEP}]
+		>=dev-python/whoosh-2.0[${PYTHON_USEDEP}]
+	)"
+
+distutils_enable_tests pytest
+
+src_prepare() {
+	# breaks tests
+	sed -i -e '/pkg_resources/d' \
+		sphinxcontrib/websupport/__init__.py || die
+	distutils-r1_src_prepare
+}
+
+python_compile() {
+	distutils-r1_python_compile
+	find "${BUILD_DIR}" -name '*.pth' -delete || die
+}
+
+python_test() {
+	distutils_write_namespace sphinxcontrib
+	cd "${T}" || die
+	epytest "${S}"/tests
+}


             reply	other threads:[~2022-04-20 12:18 UTC|newest]

Thread overview: 73+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-20 12:18 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-01 19:51 [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinxcontrib-websupport/ Arthur Zamarin
2024-05-25  9:28 Michał Górny
2024-01-29  9:55 Michał Górny
2024-01-29  7:02 Arthur Zamarin
2024-01-13  8:20 Michał Górny
2023-09-11 14:08 Michał Górny
2023-09-11 12:00 Arthur Zamarin
2023-08-10  2:53 Michał Górny
2023-05-29 21:55 Sam James
2022-06-24 11:40 Michał Górny
2022-05-14 12:44 Arthur Zamarin
2022-04-26 17:02 Michał Górny
2022-04-26 16:56 Arthur Zamarin
2021-09-26  7:05 James Le Cuirot
2021-07-27 11:00 Marek Szuba
2021-06-04 12:00 Michał Górny
2020-12-04 12:38 Michał Górny
2020-12-03 17:31 Michał Górny
2020-09-18 15:53 Michał Górny
2020-09-17 17:39 Sam James
2020-08-10  2:38 Michał Górny
2020-08-01 22:29 Michał Górny
2020-07-27 10:02 Michał Górny
2020-07-11  9:16 Michał Górny
2020-07-09  8:41 Agostino Sarubbo
2020-07-09  8:27 Agostino Sarubbo
2020-07-09  8:16 Agostino Sarubbo
2020-07-09  8:04 Agostino Sarubbo
2020-05-31 17:17 Michał Górny
2020-05-05 21:04 Sergei Trofimovich
2020-05-02 18:43 Agostino Sarubbo
2020-05-02  9:35 Agostino Sarubbo
2020-05-02  9:01 Sergei Trofimovich
2020-05-01  8:40 Mart Raudsepp
2020-04-30 18:47 Michał Górny
2020-04-30 16:00 Agostino Sarubbo
2020-04-30 15:58 Agostino Sarubbo
2020-04-30 15:57 Agostino Sarubbo
2020-04-30 15:56 Agostino Sarubbo
2020-04-30  9:45 Michał Górny
2020-03-29  9:16 Michał Górny
2020-03-24  7:55 Michał Górny
2020-03-02 20:22 Michał Górny
2019-12-30 21:54 Piotr Karbowski
2019-03-19 23:44 Virgil Dupras
2018-12-29 16:29 Matt Turner
2018-12-28 20:37 Mikle Kolyada
2018-12-19 22:48 Sergei Trofimovich
2018-11-25 10:12 Mikle Kolyada
2018-10-12 19:08 Sergei Trofimovich
2018-10-02 14:37 Mikle Kolyada
2018-10-02 14:02 Tobias Klausmann
2018-10-01 21:31 Sergei Trofimovich
2018-10-01  0:07 Thomas Deutschmann
2018-08-17  1:38 Mikle Kolyada
2018-08-14  6:50 Mart Raudsepp
2018-07-16 19:57 Michał Górny
2018-07-16 11:48 Michał Górny
2018-07-13  9:07 Michał Górny
2018-07-13  9:07 Michał Górny
2018-07-13  9:07 Michał Górny
2018-03-27 23:15 Matt Turner
2018-02-22 18:06 Michał Górny
2018-01-01 10:08 Michał Górny
2018-01-01 10:08 Michał Górny
2017-12-16 21:49 Mike Gilbert
2017-12-16 21:22 Mike Gilbert
2017-09-12  9:13 Fabian Groffen
2017-07-29 20:38 Matt Thode
2017-07-29 20:38 Matt Thode
2017-07-11 20:33 Sebastien Fabbro
2017-07-11 20:33 Sebastien Fabbro

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1650457108.6538cb47a9db7d9fd5e8343e14405f32a50c3edc.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox