mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
dev-vcs/svn2git: Drop old
Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
committed by
Sebastian Pipping
parent
67cdc514c0
commit
d3ad380623
@@ -1,2 +1 @@
|
||||
DIST svn2git-1.0.10.tar.gz 26667 BLAKE2B 50b8817cbdbee72622a1bf3d3f654d292366fbf8018346a4277b435769e71c94f990aae5d7bb1ec9860b3758d5daecf3b2bcd61c9d6a68a78de67d57d11f24d1 SHA512 7148721a5470be2537494349a63e02abf2a0a115c1cea51dae7c407c4480b4576ed3f572b4d1cfa2d5af6df37d3941dda3b174d298b6bf5530de68b5b504ed49
|
||||
DIST svn2git-1.0.11.tar.gz 30986 BLAKE2B 76300c05e070364b4bec8340534dd494fb93bc6b3965c938918821c3321eb59d2e691163b418e2ab7ece131776d9fd550a05345fb56d449d68c530c3f90d3f95 SHA512 8fa082d8da2dfc9687ebb4269b3861a053f83afb71a5c0666155bdb179d7799de3f37f3d58cabe02069bda8e8fd306bb729ba04709c0654ba8a5c24952142de9
|
||||
|
||||
@@ -1,47 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="2"
|
||||
|
||||
inherit eutils qt4-r2
|
||||
[ "$PV" == "9999" ] && inherit git
|
||||
|
||||
DESCRIPTION="Tool for one-time conversion from svn to git"
|
||||
HOMEPAGE="https://github.com/svn-all-fast-export/svn2git"
|
||||
if [ "$PV" == "9999" ]; then
|
||||
EGIT_REPO_URI="https://github.com/svn-all-fast-export/svn2git.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://www.hartwork.org/public/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
# KEYWORDS way up
|
||||
|
||||
DEPEND="dev-vcs/subversion
|
||||
dev-qt/qtcore:4"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-vcs/git"
|
||||
|
||||
S=${WORKDIR}/${PN}-${PN}
|
||||
|
||||
src_prepare() {
|
||||
# Note: patching order matters
|
||||
epatch "${FILESDIR}"/${PN}-1.0.2.1-include-path.patch
|
||||
if [[ "$PV" != "9999" ]]; then
|
||||
epatch "${FILESDIR}"/${PN}-1.0.10-version.patch
|
||||
export SVN_ALL_FAST_EXPORT_VERSION=${PVR} # for src_compile
|
||||
fi
|
||||
|
||||
qt4-r2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
insinto /usr/share/${PN}/samples
|
||||
doins samples/*.rules || die 'doins failed'
|
||||
dobin svn-all-fast-export || die 'dobin failed'
|
||||
dosym svn-all-fast-export /usr/bin/svn2git || die 'dosym failed'
|
||||
}
|
||||
@@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
inherit eutils qt4-r2
|
||||
[ "$PV" == "9999" ] && inherit git-r3
|
||||
|
||||
DESCRIPTION="Tool for one-time conversion from svn to git"
|
||||
HOMEPAGE="https://github.com/svn-all-fast-export/svn2git"
|
||||
if [ "$PV" == "9999" ]; then
|
||||
EGIT_REPO_URI="https://github.com/svn-all-fast-export/svn2git.git"
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/svn-all-fast-export/svn2git/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
# KEYWORDS way up
|
||||
|
||||
DEPEND="dev-vcs/subversion
|
||||
dev-qt/qtcore:4"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-vcs/git"
|
||||
|
||||
src_prepare() {
|
||||
# Note: patching order matters
|
||||
epatch "${FILESDIR}"/${PN}-1.0.2.1-include-path.patch
|
||||
if [[ "$PV" != "9999" ]]; then
|
||||
epatch "${FILESDIR}"/${PN}-1.0.10-version.patch
|
||||
export SVN_ALL_FAST_EXPORT_VERSION=${PVR} # for src_compile
|
||||
fi
|
||||
|
||||
qt4-r2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodoc README.md
|
||||
insinto /usr/share/${PN}/samples
|
||||
doins samples/*.rules || die 'doins failed'
|
||||
dobin svn-all-fast-export || die 'dobin failed'
|
||||
dosym svn-all-fast-export /usr/bin/svn2git || die 'dosym failed'
|
||||
}
|
||||
Reference in New Issue
Block a user