summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util/rpmdevtools/rpmdevtools-9.3.ebuild')
-rw-r--r--dev-util/rpmdevtools/rpmdevtools-9.3.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-util/rpmdevtools/rpmdevtools-9.3.ebuild b/dev-util/rpmdevtools/rpmdevtools-9.3.ebuild
new file mode 100644
index 00000000000..81d2411641d
--- /dev/null
+++ b/dev-util/rpmdevtools/rpmdevtools-9.3.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python{3_7,3_8,3_9} )
+inherit python-single-r1
+
+DESCRIPTION="Collection of rpm packaging related utilities"
+HOMEPAGE="https://pagure.io/rpmdevtools"
+SRC_URI="https://releases.pagure.org/${PN}/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="emacs"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="
+ ${PYTHON_DEPS}
+ app-arch/rpm[python,${PYTHON_SINGLE_USEDEP}]
+ dev-lang/perl:*
+ $(python_gen_cond_dep 'dev-python/progressbar2[${PYTHON_USEDEP}]')
+ $(python_gen_cond_dep 'dev-python/requests_download[${PYTHON_USEDEP}]')
+"
+RDEPEND="${DEPEND}
+ net-misc/curl
+ emacs? ( app-emacs/rpm-spec-mode )
+"
+BDEPEND="sys-apps/help2man"
+
+src_prepare() {
+ default
+ python_fix_shebang rpmdev-{bumpspec,checksig,rmdevelrpms.py,sort,spectool,vercmp}
+}