mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-21 22:47:14 -08:00
dev-vcs/bzrtools: Drop old
Package-Manager: Portage-2.3.3, Repoman-2.3.1
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST bzrtools-2.4.1.tar.gz 77725 SHA256 f62771dd221ad820e0363386608985e282cb88b52b5a6f0ed7b7fb2e99804def SHA512 da403e8564857a8f0b2eee58d6e27d6e86ae7b2e67ec13c7ef93d8180f49164dbf274510fbea5b8426d397a3546b449b1fc950f487ff86f8b67658e2401044d5 WHIRLPOOL afb588fd98850edfd2f748f27bab51bf51d2dcc2117ec54f37da1156dae95baee41270500606595d41cb3912256c89f12bcb5ebc17ba19d5cd5934cf6905fe4d
|
||||
DIST bzrtools-2.5.tar.gz 74508 SHA256 bccff6fba6129013f92a7bf16e73efad159cabd7957f4de765068044f730f03f SHA512 5bc07715a3ed525a9bed5b789ea7a4079c9a56a8ce798b2eff56b27e6eae574fac23b8cc96529a5ea44b8d4ce02c512a7e22d21f046801461ba38a8d2050aa16 WHIRLPOOL 8e03d00f988617ce5dfb015cd6b19caf980d48023952b7329fafc157faa69657d9e40fa6d90864c1db3f707f2f3ca1579679f20faaf309b0d6aaf8833747f4bb
|
||||
|
||||
@@ -1,53 +0,0 @@
|
||||
# Copyright 1999-2014 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="3"
|
||||
PYTHON_DEPEND="2"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="3.*"
|
||||
|
||||
inherit distutils eutils versionator
|
||||
|
||||
DESCRIPTION="bzrtools is a useful collection of utilities for bzr"
|
||||
HOMEPAGE="http://bazaar-vcs.org/BzrTools"
|
||||
SRC_URI="https://launchpad.net/${PN}/stable/${PV}/+download/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 ~ia64 ppc ppc64 sparc x86 ~x86-interix ~amd64-linux ~x86-linux ~x86-macos"
|
||||
IUSE=""
|
||||
#IUSE="test"
|
||||
|
||||
RDEPEND="|| ( =dev-vcs/bzr-2.4*
|
||||
=dev-vcs/bzr-2.5* )"
|
||||
DEPEND="${RDEPEND}"
|
||||
# test? ( dev-python/testtools )"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
DOCS="AUTHORS CREDITS NEWS NEWS.Shelf README README.Shelf TODO TODO.heads TODO.Shelf"
|
||||
PYTHON_MODNAME="bzrlib/plugins/bzrtools"
|
||||
|
||||
src_test() {
|
||||
testing() {
|
||||
local return_status="0"
|
||||
|
||||
# put a linked copy of the bzr core into the build directory to properly
|
||||
# test the "built" version of bzrtools
|
||||
find "$(python_get_libdir)/site-packages/bzrlib/" \
|
||||
-mindepth 1 -maxdepth 1 \
|
||||
\( \( -type d -and -not -name "plugins" \) -or -name "*.py" \) \
|
||||
-exec ln -s '{}' "${S}/build-${PYTHON_ABI}/lib/bzrlib/" \;
|
||||
touch "${S}/build-${PYTHON_ABI}/lib/bzrlib/plugins/__init__.py"
|
||||
"${S}/test.py" "${S}/build-${PYTHON_ABI}/lib" || return_status="1"
|
||||
# remove the "shadow" copy so it doesn't get installed
|
||||
rm "${S}/build-${PYTHON_ABI}/lib/bzrlib/plugins/__init__.py"
|
||||
find "${S}/build-${PYTHON_ABI}/lib/bzrlib/" -mindepth 1 -maxdepth 1 -type l -exec rm '{}' \;
|
||||
|
||||
return "${return_status}"
|
||||
}
|
||||
python_execute_function testing
|
||||
}
|
||||
Reference in New Issue
Block a user