mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-vcs/stgit: drop old
Package-Manager: Portage-2.3.16, Repoman-2.3.6
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
DIST stgit-0.16-missing-patches.tar.gz 1667 SHA256 f105bb417592be3c68d830ad1cf2e212e6e5cb809bf64cdffb516a0f7badd4f4 SHA512 29d4c3e68121654153b4e5142dd70d818737b09bbc8371d644a36dd9d18afaf78fdda91bc16f953c330bcbae19084384d8bcd216cdfe674df784e33165186db1 WHIRLPOOL c7628853e6c1eff498a95ff22ec3eb3bb69b60dfb0c6dcd5895a650b8d3aba966166dfd426a0c728e3d292f0a2ed197325b0af5ccd63fc99011b5b2e841e7194
|
||||
DIST stgit-0.16.tar.gz 362687 SHA256 02f1a19350ccf4a26abac1421df8c2d021e78f995c913f9562718a1700318a42 SHA512 782de3d5855aad4f5d040478745990517ebe2b26dc315a3ed41db95399bb46e075d63a70baa0e3aa2ab1012b59e6ad1f5940a904f296ef09d6bca60f66e417dd WHIRLPOOL e2334c041cb260455d549d33b6628fd4f6e1e7da850f2987ba86922504e07aed8177d092550348b52cad8894b0335d20ee1608b855fa1cb6545bdd301a9d38f1
|
||||
DIST stgit-0.17.1-upstream-patches-1.tar.xz 15324 BLAKE2B c312121484bd0c309a7dc6d9bd7e99e9cc99672bee2d84c03ba2c1add04a62f972a6ca7802ab1488bed1237c35e85360a10adcc1eff6bc212719997d251ac7a4 SHA512 2d756d960b5bd803258afe0bb89cb29a960bc2745adf37f2b574fd114579a867ec51628f2267744ec2eec70090376274bfd720a612093a36f4bb8e4ecb8f6d30
|
||||
DIST stgit-0.17.1.tar.gz 398466 BLAKE2B 8ecd7a6a74df85219fb5ded03b3a8f956ec0978dce4a921998688d01a35e38410dda3f59b9f6fa1ebbba22438e77b630a281af311acafc1b7455e308b45a86f9 SHA512 3efdfb9bc024c3a7c0d74d49e85f157d5d5209c9a2ad0ce63a07138c02fb1580e92ac4a91796e79bbd221e6884317e975f9f44e35db0b484fd916bc67cd61abe
|
||||
DIST stgit-0.18.tar.gz 235852 BLAKE2B ff35856c1f20a6a611a2faa22ba573b1c33636c9e913322456011c4c5a73c3207ddbd8bfe41cb81b11dffe8db8b89594c1598989ae9fb896cd686594a21d96b2 SHA512 5820cc1a8cdd5183fbe309b4b80568098844ff57934c75a43263b5cfcdac4b64e015abc9ed6a53dd856236d76bd0ebeec31e87561bca0d0d82a6e5ec7a10745f
|
||||
|
||||
@@ -1,86 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1
|
||||
|
||||
DESCRIPTION="Manage a stack of patches using GIT as a backend"
|
||||
HOMEPAGE="https://stgit.org https://gna.org/projects/stgit"
|
||||
UPSTREAM_VER=1
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
|
||||
SRC_URI="http://download.gna.org/${PN}/${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
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-0.16-man-linkfix.patch"
|
||||
)
|
||||
|
||||
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
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
epatch "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# this will be a noop, as we are working with a tarball,
|
||||
# but throws git errors --> just get rid of it
|
||||
sed -i -e 's/version\.write_builtin_version()//' setup.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
distutils-r1_src_compile
|
||||
|
||||
# bug 526468
|
||||
if use doc; then
|
||||
emake DESTDIR="${D}" \
|
||||
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 stgit-completion.bash 'stg'
|
||||
}
|
||||
Reference in New Issue
Block a user