Gentoo Archives: gentoo-commits

From: Steve Arnold <nerdboy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/gitchangelog/
Date: Sun, 06 Nov 2022 21:39:16
Message-Id: 1667770700.6ee71e373489854fc89ae1a19ba709f36ef278cb.nerdboy@gentoo
1 commit: 6ee71e373489854fc89ae1a19ba709f36ef278cb
2 Author: Steve Arnold <nerdboy <AT> gentoo <DOT> org>
3 AuthorDate: Sun Nov 6 21:38:20 2022 +0000
4 Commit: Steve Arnold <nerdboy <AT> gentoo <DOT> org>
5 CommitDate: Sun Nov 6 21:38:20 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ee71e37
7
8 dev-util/gitchangelog: version bump to latest
9
10 Signed-off-by: Steve Arnold <nerdboy <AT> gentoo.org>
11
12 dev-util/gitchangelog/Manifest | 2 +-
13 dev-util/gitchangelog/gitchangelog-3.0.9.ebuild | 41 ------------------
14 dev-util/gitchangelog/gitchangelog-3.1.2.ebuild | 57 +++++++++++++++++++++++++
15 dev-util/gitchangelog/metadata.xml | 5 ++-
16 4 files changed, 61 insertions(+), 44 deletions(-)
17
18 diff --git a/dev-util/gitchangelog/Manifest b/dev-util/gitchangelog/Manifest
19 index cd663768e53e..a2da9e87f7b9 100644
20 --- a/dev-util/gitchangelog/Manifest
21 +++ b/dev-util/gitchangelog/Manifest
22 @@ -1 +1 @@
23 -DIST gitchangelog-3.0.9.tar.gz 52483 BLAKE2B 8e7fc61dee6cba6e630cb2006d5bec988ea3d7a7c1e09789b430e11d4c3d8f5e7ff7ee1231dbbcb56185c84fa9c2bbf6a353980f5a70c8a0cce51b2dce83fb5d SHA512 4e290d75455ddddb7d12d831dce973771f861d23d6b6548b8a9e24e838b0931255dfc8c9ef25765fb4f269d5cdad6bd207fbaa3626a3b24681efdbb56ad9e1b1
24 +DIST gitchangelog-3.1.2.tar.gz 93679 BLAKE2B ffd5a9bd25c8bc647c7414e0864a008bafa09b6d5452fa0241408fa324821d4d4faa3e05ac1157521dec5508240383064fb9baca112218d5555e12cc05807400 SHA512 390d90fe62799350044b0009cc05a9889b1d4cd2a1e10dcdc42c71202afcb2c6bb1cc49125b3f69b03c0bd6a5bc8a7c29da0d9feeb54ac6ce2e396c489e69384
25
26 diff --git a/dev-util/gitchangelog/gitchangelog-3.0.9.ebuild b/dev-util/gitchangelog/gitchangelog-3.0.9.ebuild
27 deleted file mode 100644
28 index d2e9d691c1bb..000000000000
29 --- a/dev-util/gitchangelog/gitchangelog-3.0.9.ebuild
30 +++ /dev/null
31 @@ -1,41 +0,0 @@
32 -# Copyright 1999-2022 Gentoo Authors
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI=7
36 -PYTHON_COMPAT=( python3_{7..10} )
37 -DISTUTULS_USE_SETUPTOOLS="pyproject.toml"
38 -
39 -inherit distutils-r1
40 -
41 -DESCRIPTION="Creates a changelog from git log history"
42 -HOMEPAGE="https://github.com/sarnold/gitchangelog"
43 -
44 -if [[ ${PV} = 9999* ]]; then
45 - EGIT_REPO_URI="https://github.com/sarnold/gitchangelog.git"
46 - EGIT_BRANCH="master"
47 - inherit git-r3
48 -else
49 - SRC_URI="https://github.com/sarnold/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
50 - KEYWORDS="~amd64 ~arm ~arm64 ~x86"
51 -fi
52 -
53 -LICENSE="BSD"
54 -SLOT="0"
55 -IUSE="test"
56 -
57 -BDEPEND="${DEPEND}
58 - dev-python/setuptools[${PYTHON_USEDEP}]
59 - test? ( dev-python/nose[${PYTHON_USEDEP}]
60 - dev-python/minimock[${PYTHON_USEDEP}] )
61 -"
62 -
63 -DEPEND="${PYTHON_DEPS}
64 - dev-python/pystache[${PYTHON_USEDEP}]
65 - dev-python/mako[${PYTHON_USEDEP}]
66 -"
67 -
68 -RESTRICT="!test? ( test )"
69 -
70 -python_test() {
71 - "${EPYTHON}" -m nose -sx . || die "Testing failed with ${EPYTHON}"
72 -}
73
74 diff --git a/dev-util/gitchangelog/gitchangelog-3.1.2.ebuild b/dev-util/gitchangelog/gitchangelog-3.1.2.ebuild
75 new file mode 100644
76 index 000000000000..85d99c6cb0ce
77 --- /dev/null
78 +++ b/dev-util/gitchangelog/gitchangelog-3.1.2.ebuild
79 @@ -0,0 +1,57 @@
80 +# Copyright 1999-2022 Gentoo Authors
81 +# Distributed under the terms of the GNU General Public License v2
82 +
83 +EAPI=8
84 +
85 +DISTUTILS_USE_PEP517=setuptools
86 +PYTHON_COMPAT=( python3_{8..11} )
87 +
88 +inherit distutils-r1
89 +
90 +DESCRIPTION="Creates a nicely formatted changelog from git log history"
91 +HOMEPAGE="https://github.com/sarnold/gitchangelog"
92 +
93 +if [[ ${PV} = 9999* ]]; then
94 + EGIT_REPO_URI="https://github.com/sarnold/gitchangelog.git"
95 + EGIT_BRANCH="master"
96 + inherit git-r3
97 +else
98 + SRC_URI="https://github.com/sarnold/${PN}/releases/download/${PV}/${P}.tar.gz"
99 + KEYWORDS="~amd64 ~arm ~arm64 ~x86"
100 +fi
101 +
102 +LICENSE="BSD"
103 +SLOT="0"
104 +IUSE="doc"
105 +RESTRICT="!test? ( test )"
106 +
107 +BDEPEND="
108 + test? ( dev-python/minimock[${PYTHON_USEDEP}] )
109 +"
110 +
111 +RDEPEND="
112 + dev-python/pystache[${PYTHON_USEDEP}]
113 + dev-python/mako[${PYTHON_USEDEP}]
114 +"
115 +
116 +# needs versioningit if building from git repo source
117 +if [[ ${PV} = 9999* ]]; then
118 + BDEPEND="
119 + $(python_gen_any_dep '
120 + >=dev-python/versioningit-2.0.0[${PYTHON_USEDEP}]
121 + ')"
122 +fi
123 +
124 +DOCS=( README.rst )
125 +
126 +distutils_enable_sphinx \
127 + docs/source \
128 + dev-python/sphinx_rtd_theme \
129 + dev-python/recommonmark \
130 + dev-python/sphinxcontrib-apidoc
131 +
132 +distutils_enable_tests pytest
133 +
134 +python_test() {
135 + epytest --doctest-modules .
136 +}
137
138 diff --git a/dev-util/gitchangelog/metadata.xml b/dev-util/gitchangelog/metadata.xml
139 index 14d417cfceb2..35fc060a9777 100644
140 --- a/dev-util/gitchangelog/metadata.xml
141 +++ b/dev-util/gitchangelog/metadata.xml
142 @@ -6,8 +6,9 @@
143 <name>Steve Arnold</name>
144 </maintainer>
145 <longdescription lang="en">
146 - Create a fancy changelog from git log history (in rst or md) and
147 - customize your config with Python callables and regex.
148 + Create a fancy changelog from git log history (in rst or md). You can
149 + customize your config with Python callables and custom regex, as well
150 + as built-in or custom template files.
151 </longdescription>
152 <upstream>
153 <remote-id type="github">sarnold/gitchangelog</remote-id>