From 435239094e151b2618b6c5efc92de2851bb15887 Mon Sep 17 00:00:00 2001 From: Yixun Lan Date: Fri, 16 Jul 2021 04:59:11 +0800 Subject: [PATCH] dev-vcs/stgit: drop old Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Yixun Lan --- dev-vcs/stgit/Manifest | 1 - dev-vcs/stgit/stgit-1.0.ebuild | 79 ---------------------------------- 2 files changed, 80 deletions(-) delete mode 100644 dev-vcs/stgit/stgit-1.0.ebuild diff --git a/dev-vcs/stgit/Manifest b/dev-vcs/stgit/Manifest index eabda0e351f4d..d12b8d07cc113 100644 --- a/dev-vcs/stgit/Manifest +++ b/dev-vcs/stgit/Manifest @@ -1,2 +1 @@ -DIST stgit-1.0.tar.gz 302201 BLAKE2B 2be1eb648edbefed6270e8f52039afd5d6d4140e8e16656a9f28f6b168eb5ce02c814a3e2b91bc628a80de1e15f0491b82af18fc2cad4e556bcd23ef247fe082 SHA512 e33db953d810f024ee2159ea5bb1b1367a5c673d78d789e8b20ad1d773dccaaf0fe4ccb713b8de082d4a79a3f51d421a2d3d88be24f2e0e770e070e640744894 DIST stgit-1.1.tar.gz 313862 BLAKE2B 2d15ba7c2f55ff1211f0d9a3002878102f5023e897d0830daa688a2af8c6a386ec0cf076c728b6f45650ee3382379a32fb4efb25d0da3b28302f158dfca6ef62 SHA512 917c645f219b2725d1e88186674a6184c96f1457d5c7722b4da17931d963f0fe0c675cdaaca435ba7405ba498d6db9a01c9f554d1aa3093cc3205d224d9d9759 diff --git a/dev-vcs/stgit/stgit-1.0.ebuild b/dev-vcs/stgit/stgit-1.0.ebuild deleted file mode 100644 index 0daa07cbdef75..0000000000000 --- a/dev-vcs/stgit/stgit-1.0.ebuild +++ /dev/null @@ -1,79 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..9} ) -DISTUTILS_USE_SETUPTOOLS=no - -inherit bash-completion-r1 distutils-r1 - -DESCRIPTION="Manage a stack of patches using GIT as a backend" -HOMEPAGE="https://stacked-git.github.io" -UPSTREAM_VER= -[[ -n ${UPSTREAM_VER} ]] && \ - UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz" - -SRC_URI="https://github.com/ctmarinas/stgit/archive/v${PV}.tar.gz -> ${P}.tar.gz - ${UPSTREAM_PATCHSET_URI}" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 arm arm64 ppc ppc64 x86 ~amd64-linux ~x86-linux" -IUSE="doc" - -RDEPEND=">=dev-vcs/git-1.6.3.3" - -# NOTE: It seems to be quite important which asciidoc version to use. -# So keep an eye on it for the future. -DEPEND="${RDEPEND} - doc? ( - app-text/asciidoc - app-text/xmlto - dev-lang/perl - )" - -pkg_setup() { - if ! use doc; then - echo - ewarn "Manpages will not be built and installed." - ewarn "Enable the 'doc' useflag, if you want them." - echo - fi -} - -python_prepare_all() { - # Upstream's patchset - [[ -n ${UPSTREAM_VER} ]] && \ - eapply "${WORKDIR}"/patches-upstream - - # this will be a noop, as we are working with a tarball, - # but throws git errors --> just get rid of it - echo "version=\"${PV}\"" > "${S}"/stgit/builtin_version.py - - distutils-r1_python_prepare_all -} - -src_compile() { - distutils-r1_src_compile - - # bug 526468 - if use doc; then - emake htmldir="${EPREFIX}/usr/share/doc/${PF}/html/" \ - mandir="${EPREFIX}/usr/share/man/" \ - doc - fi -} - -src_install() { - if use doc; then - emake DESTDIR="${D}" \ - htmldir="${EPREFIX}/usr/share/doc/${PF}/html/" \ - mandir="${EPREFIX}/usr/share/man/" \ - install-doc install-html - fi - - distutils-r1_src_install - - newbashcomp completion/stgit.bash 'stg' -}