commit:     db837fb1a7d023cbdcc21284a97ccef37155da70
Author:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 24 07:45:05 2024 +0000
Commit:     Petr Vaněk <arkamar <AT> gentoo <DOT> org>
CommitDate: Wed Jul 24 07:47:23 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db837fb1

dev-util/gitchangelog: add 3.2.0

Closes: https://bugs.gentoo.org/852221
Closes: https://bugs.gentoo.org/912418
Closes: https://bugs.gentoo.org/929540
Signed-off-by: Petr Vaněk <arkamar <AT> gentoo.org>

 dev-util/gitchangelog/Manifest                  |  1 +
 dev-util/gitchangelog/gitchangelog-3.2.0.ebuild | 57 +++++++++++++++++++++++++
 2 files changed, 58 insertions(+)

diff --git a/dev-util/gitchangelog/Manifest b/dev-util/gitchangelog/Manifest
index a2da9e87f7b9..964438720c72 100644
--- a/dev-util/gitchangelog/Manifest
+++ b/dev-util/gitchangelog/Manifest
@@ -1 +1,2 @@
 DIST gitchangelog-3.1.2.tar.gz 93679 BLAKE2B 
ffd5a9bd25c8bc647c7414e0864a008bafa09b6d5452fa0241408fa324821d4d4faa3e05ac1157521dec5508240383064fb9baca112218d5555e12cc05807400
 SHA512 
390d90fe62799350044b0009cc05a9889b1d4cd2a1e10dcdc42c71202afcb2c6bb1cc49125b3f69b03c0bd6a5bc8a7c29da0d9feeb54ac6ce2e396c489e69384
+DIST gitchangelog-3.2.0.gh.tar.gz 98777 BLAKE2B 
227b87b4c1da86eb509fcc15211dfd1f22731b20db60a1aea7108c0743a54a151e52f5f44cb5c4c279da53aa2db01f8ae8a466fe1e756322087f6e0ef6c67283
 SHA512 
1d5cfaec1725ec62b76639856253d1a3e1be3ca377a5ba3a1459bd48ace4c04b477aa88b2deb108b002d4dd13e284028834bfe539bfb59a30f7531d5fa773479

diff --git a/dev-util/gitchangelog/gitchangelog-3.2.0.ebuild 
b/dev-util/gitchangelog/gitchangelog-3.2.0.ebuild
new file mode 100644
index 000000000000..7761f32baf36
--- /dev/null
+++ b/dev-util/gitchangelog/gitchangelog-3.2.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{10..13} )
+
+inherit distutils-r1
+
+DESCRIPTION="Creates a nicely formatted changelog from git log history"
+HOMEPAGE="https://github.com/sarnold/gitchangelog";
+
+if [[ ${PV} = 9999* ]]; then
+       EGIT_REPO_URI="https://github.com/sarnold/gitchangelog.git";
+       EGIT_BRANCH="master"
+       inherit git-r3
+else
+       SRC_URI="
+               
https://github.com/sarnold/${PN}/releases/download/${PV}/${P}.tar.gz
+                       -> ${P}.gh.tar.gz
+       "
+       KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+
+RDEPEND="
+       dev-python/pystache[${PYTHON_USEDEP}]
+       dev-python/mako[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       test? ( dev-python/minimock[${PYTHON_USEDEP}] )
+"
+
+# needs versioningit if building from git repo source
+if [[ ${PV} = 9999* ]]; then
+       BDEPEND="
+               $(python_gen_any_dep '
+                       >=dev-python/versioningit-2.0.0[${PYTHON_USEDEP}]
+               ')"
+fi
+
+DOCS=( README.rst )
+
+distutils_enable_sphinx \
+       docs/source \
+       dev-python/sphinx-rtd-theme \
+       dev-python/recommonmark \
+       dev-python/sphinxcontrib-apidoc
+
+distutils_enable_tests pytest
+
+python_test() {
+       epytest --doctest-modules .
+}

Reply via email to