summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2020-02-10 22:52:46 +1100
committerMichael Palimaka <kensington@gentoo.org>2020-02-10 22:53:24 +1100
commit732994847c861f34b88b1badb9815a5db8acf121 (patch)
tree5aaafe9b0390fff514e3b375fcd1928a7761c3e6 /dev-util/rpmdevtools
parentdev-scheme/gauche-gtk: amd64 stable (diff)
downloadgentoo-732994847c861f34b88b1badb9815a5db8acf121.tar.gz
gentoo-732994847c861f34b88b1badb9815a5db8acf121.tar.bz2
gentoo-732994847c861f34b88b1badb9815a5db8acf121.zip
dev-util/rpmdevtools: port to EAPI 7 and python 3
Bug: https://bugs.gentoo.org/708960 Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Michael Palimaka <kensington@gentoo.org>
Diffstat (limited to 'dev-util/rpmdevtools')
-rw-r--r--dev-util/rpmdevtools/rpmdevtools-8.10-r2.ebuild36
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-util/rpmdevtools/rpmdevtools-8.10-r2.ebuild b/dev-util/rpmdevtools/rpmdevtools-8.10-r2.ebuild
new file mode 100644
index 000000000000..b2ec0bd71ef2
--- /dev/null
+++ b/dev-util/rpmdevtools/rpmdevtools-8.10-r2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_6 )
+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}"
+
+COMMON_DEPEND="
+ ${PYTHON_DEPS}
+ app-arch/rpm[python,${PYTHON_SINGLE_USEDEP}]
+ dev-lang/perl:*
+"
+RDEPEND="${COMMON_DEPEND}
+ net-misc/curl
+ emacs? ( app-emacs/rpm-spec-mode )
+"
+DEPEND="${COMMON_DEPEND}
+ sys-apps/help2man
+"
+
+src_prepare() {
+ default
+ python_fix_shebang rpmdev-{rmdevelrpms.py,checksig,sort,vercmp,bumpspec}
+}