Gentoo Archives: gentoo-commits

From: Brian Dolbec <dolsen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/buildbot/
Date: Sat, 10 Oct 2020 18:56:29
Message-Id: 1602356168.8aa011a8c1de830fe232c5df295db22c5934fda0.dolsen@gentoo
1 commit: 8aa011a8c1de830fe232c5df295db22c5934fda0
2 Author: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 10 17:21:21 2020 +0000
4 Commit: Brian Dolbec <dolsen <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 10 18:56:08 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8aa011a8
7
8 dev-util/buildbot: Version bump to 2.8.4
9
10 Update 9999 sphinx dep.
11 Docs build fails in 9999 due to sphinxcontrib.jinga error,
12 maintaining current package.use.mask.
13
14 Package-Manager: Portage-3.0.8, Repoman-3.0.1
15 Signed-off-by: Brian Dolbec <dolsen <AT> gentoo.org>
16
17 dev-util/buildbot/Manifest | 1 +
18 ...{buildbot-9999.ebuild => buildbot-2.8.4.ebuild} | 26 +++++++++++++---------
19 dev-util/buildbot/buildbot-9999.ebuild | 4 ++--
20 3 files changed, 18 insertions(+), 13 deletions(-)
21
22 diff --git a/dev-util/buildbot/Manifest b/dev-util/buildbot/Manifest
23 index 1ce0b508b66..459e87fc240 100644
24 --- a/dev-util/buildbot/Manifest
25 +++ b/dev-util/buildbot/Manifest
26 @@ -1,2 +1,3 @@
27 DIST buildbot-2.8.0-fakedb.tar.xz 16204 BLAKE2B 741676e2c9117b1ab174ce49747bdfcd07766ad3e471e308398dff476f167fd231b7772c2f02002cbafb27e2ef535242d84d5aa84f4bc8942d4d216b2d5bf1f6 SHA512 c2b00d8621b3a1e521f6c17e902ae331b606dda3d319187895f26629dbdaf50caefc5d49fb150fb780e682ae431515c7ded4950d62448e8a73b8efba821c0fa1
28 DIST buildbot-2.8.2.tar.gz 3181035 BLAKE2B 40a3e424cc03c982549f25993a4abd2fe04bdc089ad22288af4d25724972f9f3541ef32549d2761c808845df44a972b00cf631adfc564bf4852c4b6b6ab14404 SHA512 7d7f15becc7fc1803ae4e9f1906d547c89dfe1efaa51e8fda0674a3d9b060bafbaae4cb671ec844750313247edb73f17c9014c545bce58070df0ca322a0fd9a2
29 +DIST buildbot-2.8.4.tar.gz 3134447 BLAKE2B 67052a060c9951e584a5e94f36b92262b9a1956c22efbce7ac17d83f93edde3d9443b00a7bc3afc5918006d68cc023ea0ae913e7bbf0e7cede0d9345992f83ae SHA512 45a6e6116ab5fec18b9b3a6d54886bcf86d3a821a79fd151f9311c8c3646c61051a194250395e203f02b9aa0161e12a9ca54b623897c74eee6133df752f1742c
30
31 diff --git a/dev-util/buildbot/buildbot-9999.ebuild b/dev-util/buildbot/buildbot-2.8.4.ebuild
32 similarity index 92%
33 copy from dev-util/buildbot/buildbot-9999.ebuild
34 copy to dev-util/buildbot/buildbot-2.8.4.ebuild
35 index aab7babe0e9..1912aad93d9 100644
36 --- a/dev-util/buildbot/buildbot-9999.ebuild
37 +++ b/dev-util/buildbot/buildbot-2.8.4.ebuild
38 @@ -5,11 +5,8 @@ EAPI="7"
39 PYTHON_REQ_USE="sqlite"
40 PYTHON_COMPAT=( python3_{6,7,8} )
41
42 -EGIT_REPO_URI="https://github.com/buildbot/${PN}.git"
43 -
44 DISTUTILS_USE_SETUPTOOLS="rdepend"
45
46 -inherit git-r3
47 inherit readme.gentoo-r1 systemd distutils-r1
48
49 MY_PV="${PV/_p/.post}"
50 @@ -17,11 +14,13 @@ MY_P="${PN}-${MY_PV}"
51
52 DESCRIPTION="BuildBot build automation system"
53 HOMEPAGE="https://buildbot.net/ https://github.com/buildbot/buildbot https://pypi.org/project/buildbot/"
54 -[[ ${PV} == *9999 ]] || SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
55 +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz
56 + https://dev.gentoo.org/~dolsen/distfiles/buildbot-2.8.0-fakedb.tar.xz
57 +"
58
59 LICENSE="GPL-2"
60 SLOT="0"
61 -KEYWORDS=""
62 +KEYWORDS="~amd64 ~amd64-linux ~x86-linux"
63
64 IUSE="crypt doc docker examples irc test"
65 RESTRICT="!test? ( test )"
66 @@ -59,6 +58,7 @@ DEPEND="${RDEPEND}
67 <dev-python/sphinx-2.1.0[${PYTHON_USEDEP}]
68 dev-python/sphinxcontrib-blockdiag[${PYTHON_USEDEP}]
69 dev-python/sphinxcontrib-spelling[${PYTHON_USEDEP}]
70 + dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}]
71 dev-python/pyenchant[${PYTHON_USEDEP}]
72 dev-python/docutils[${PYTHON_USEDEP}]
73 dev-python/sphinx-jinja[${PYTHON_USEDEP}]
74 @@ -74,15 +74,19 @@ DEPEND="${RDEPEND}
75 dev-python/lz4[${PYTHON_USEDEP}]
76 dev-python/treq[${PYTHON_USEDEP}]
77 dev-python/setuptools_trial[${PYTHON_USEDEP}]
78 - dev-util/buildbot-pkg[${PYTHON_USEDEP}]
79 - dev-util/buildbot-worker[${PYTHON_USEDEP}]
80 - dev-util/buildbot-www[${PYTHON_USEDEP}]
81 + ~dev-util/buildbot-pkg-${PV}[${PYTHON_USEDEP}]
82 + ~dev-util/buildbot-worker-${PV}[${PYTHON_USEDEP}]
83 + ~dev-util/buildbot-www-${PV}[${PYTHON_USEDEP}]
84 )"
85
86 -S=${S}/master
87 +S=${WORKDIR}/${MY_P}
88
89 distutils_enable_tests setup.py
90
91 +PATCHES=(
92 + "${FILESDIR}/pypugjs-2.8.0.patch"
93 +)
94 +
95 pkg_setup() {
96 DOC_CONTENTS="The \"buildbot\" user and the \"buildmaster\" init script has been added
97 to support starting buildbot through Gentoo's init system. To use this,
98 @@ -93,11 +97,12 @@ pkg_setup() {
99 src_compile() {
100 distutils-r1_src_compile
101
102 + # missing files, so skip building
103 if use doc; then
104 einfo "Generation of documentation"
105 pushd docs > /dev/null
106 #'man' target is currently broken
107 - emake html
108 + emake html || die "Docs generation failed"
109 popd > /dev/null
110 fi
111 }
112 @@ -109,7 +114,6 @@ src_install() {
113
114 if use doc; then
115 HTML_DOCS=( docs/_build/html/ )
116 - # TODO: install man pages
117 fi
118
119 if use examples; then
120
121 diff --git a/dev-util/buildbot/buildbot-9999.ebuild b/dev-util/buildbot/buildbot-9999.ebuild
122 index aab7babe0e9..5929de5695c 100644
123 --- a/dev-util/buildbot/buildbot-9999.ebuild
124 +++ b/dev-util/buildbot/buildbot-9999.ebuild
125 @@ -55,10 +55,10 @@ RDEPEND="
126 "
127 DEPEND="${RDEPEND}
128 doc? (
129 - >=dev-python/sphinx-1.4.3[${PYTHON_USEDEP}]
130 - <dev-python/sphinx-2.1.0[${PYTHON_USEDEP}]
131 + >=dev-python/sphinx-3.2.0[${PYTHON_USEDEP}]
132 dev-python/sphinxcontrib-blockdiag[${PYTHON_USEDEP}]
133 dev-python/sphinxcontrib-spelling[${PYTHON_USEDEP}]
134 + dev-python/sphinxcontrib-websupport[${PYTHON_USEDEP}]
135 dev-python/pyenchant[${PYTHON_USEDEP}]
136 dev-python/docutils[${PYTHON_USEDEP}]
137 dev-python/sphinx-jinja[${PYTHON_USEDEP}]