From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinxcontrib-blockdiag/
Date: Wed, 20 Apr 2022 12:18:33 +0000 (UTC) [thread overview]
Message-ID: <1650457097.88909473375dbc12ffb845102f0c96e3b19071bd.mgorny@gentoo> (raw)
commit: 88909473375dbc12ffb845102f0c96e3b19071bd
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Apr 20 09:28:13 2022 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Apr 20 12:18:17 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88909473
dev-python/sphinxcontrib-blockdiag: EAPI 8, PEP517, rm namespace dep
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/sphinxcontrib-blockdiag/Manifest | 1 +
.../sphinxcontrib-blockdiag-2.0.0-r1.ebuild | 53 ++++++++++++++++++++++
2 files changed, 54 insertions(+)
diff --git a/dev-python/sphinxcontrib-blockdiag/Manifest b/dev-python/sphinxcontrib-blockdiag/Manifest
index 3db82002af8e..37574458ef74 100644
--- a/dev-python/sphinxcontrib-blockdiag/Manifest
+++ b/dev-python/sphinxcontrib-blockdiag/Manifest
@@ -1 +1,2 @@
+DIST sphinxcontrib-blockdiag-2.0.0.gh.tar.gz 11903 BLAKE2B 9301fe05ff936836e8e648a507b7e2e5fd8cada58252fd46b274a4bb3e6b51b00b7696ceee712d12bd590c40c5ae1235e0b532ef55ffc2e78b2986cdae64a0f2 SHA512 305ad9b27bbb44480c69139cc0ae9cd8e47c6ad95da5b14a964c703a17e62ab9b342ff567e8312e403549a794f6381fe4c4d444ccb7a8e41410d1a3754ffb3f1
DIST sphinxcontrib-blockdiag-2.0.0.tar.gz 11903 BLAKE2B 9301fe05ff936836e8e648a507b7e2e5fd8cada58252fd46b274a4bb3e6b51b00b7696ceee712d12bd590c40c5ae1235e0b532ef55ffc2e78b2986cdae64a0f2 SHA512 305ad9b27bbb44480c69139cc0ae9cd8e47c6ad95da5b14a964c703a17e62ab9b342ff567e8312e403549a794f6381fe4c4d444ccb7a8e41410d1a3754ffb3f1
diff --git a/dev-python/sphinxcontrib-blockdiag/sphinxcontrib-blockdiag-2.0.0-r1.ebuild b/dev-python/sphinxcontrib-blockdiag/sphinxcontrib-blockdiag-2.0.0-r1.ebuild
new file mode 100644
index 000000000000..083db9196590
--- /dev/null
+++ b/dev-python/sphinxcontrib-blockdiag/sphinxcontrib-blockdiag-2.0.0-r1.ebuild
@@ -0,0 +1,53 @@
+# 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} )
+
+inherit distutils-r1
+
+DESCRIPTION="A sphinx extension for embedding block diagrams using blockdiag"
+HOMEPAGE="
+ https://github.com/blockdiag/sphinxcontrib-blockdiag/
+ https://pypi.org/project/sphinxcontrib-blockdiag/
+"
+SRC_URI="
+ https://github.com/blockdiag/${PN}/archive/${PV}.tar.gz
+ -> ${P}.gh.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+RDEPEND="
+ >=dev-python/sphinx-2.0[${PYTHON_USEDEP}]
+ >=dev-python/blockdiag-1.5.0[${PYTHON_USEDEP}]
+"
+BDEPEND="
+ test? (
+ dev-python/mock[${PYTHON_USEDEP}]
+ dev-python/reportlab[${PYTHON_USEDEP}]
+ dev-python/sphinx-testing[${PYTHON_USEDEP}]
+ )
+"
+
+distutils_enable_tests nose
+
+python_prepare_all() {
+ sed -i -e "/build-base/d" setup.cfg || die
+ distutils-r1_python_prepare_all
+}
+
+python_compile() {
+ distutils-r1_python_compile
+ find "${BUILD_DIR}" -name '*.pth' -delete || die
+}
+
+python_test() {
+ rm -rf sphinxcontrib || die
+ distutils_write_namespace sphinxcontrib
+ "${EPYTHON}" -m nose -v || die "Tests failed with ${EPYTHON}"
+}
next reply other threads:[~2022-04-20 12:18 UTC|newest]
Thread overview: 42+ 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 --
2022-07-10 18:50 [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinxcontrib-blockdiag/ Michał Górny
2022-07-10 16:56 Sam James
2022-06-05 18:22 Michał Górny
2022-04-26 20:28 Michał Górny
2022-04-26 19:11 Arthur Zamarin
2022-04-26 17:01 Michał Górny
2022-04-26 3:07 Sam James
2021-07-27 23:11 Marek Szuba
2021-06-22 21:28 Michał Górny
2021-03-28 22:16 Brian Dolbec
2020-12-04 12:38 Michał Górny
2020-12-03 17:31 Michał Górny
2020-11-26 19:08 Sam James
2020-11-26 13:21 Sam James
2020-10-07 1:02 Sam James
2020-10-04 19:49 Sergei Trofimovich
2020-10-01 17:29 Sergei Trofimovich
2020-09-30 20:26 Sam James
2020-09-27 6:42 Matt Turner
2020-09-13 4:55 Sam James
2020-09-13 3:31 Sam James
2020-08-25 10:23 Sam James
2020-08-18 21:53 Sergei Trofimovich
2020-03-29 9:16 Michał Górny
2020-02-05 13:24 Michał Górny
2019-12-30 21:54 Piotr Karbowski
2019-12-09 8:39 Michał Górny
2019-07-31 14:32 Mikle Kolyada
2019-07-29 10:48 Mikle Kolyada
2019-07-22 14:12 Aaron Bauman
2019-07-14 12:27 Michał Górny
2019-07-14 12:27 Michał Górny
2019-07-14 12:27 Michał Górny
2019-04-27 11:49 Anthony G. Basile
2019-03-16 23:17 Anthony G. Basile
2017-10-08 11:00 Michał Górny
2017-08-02 4:06 Sebastien Fabbro
2017-06-02 17:31 David Seifert
2017-05-16 2:10 Brian Dolbec
2017-04-07 14:14 Michał Górny
2017-02-10 21:52 Brian Dolbec
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=1650457097.88909473375dbc12ffb845102f0c96e3b19071bd.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