mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-util/diffuse: Drop old
Package-Manager: portage-2.3.2
This commit is contained in:
@@ -1,3 +1 @@
|
||||
DIST diffuse-0.4.6.tar.bz2 170246 SHA256 748922902573de316a4829f1ccc2cb6fab218b4aaf69a1a4aadba7fd8f8fd916 SHA512 ddde5e6c06ecaeb9b164de47590f22074e52d32a9969764466aa09a2a24925b6fa6aa3a098816c83d4fdef34ff1d2d88eab963a3bb8de3f403e40d797d497ae6 WHIRLPOOL cc8cc5e43cf1c098a4b92f8e33c7aeb48e82bbe9ad2bf7de833ec0c29b150938e4b10c90de19d142d771bd3720d686d9d3bb4e8521311d5f4f771e273c27edce
|
||||
DIST diffuse-0.4.7.tar.bz2 189257 SHA256 b0f56acbd246f4b9a692ef51aab167134ae6650423a68d8e5f4ff4c8938f39ac SHA512 3db665ec2f05d8fd8b30f391a53e75ae0ef271d3f35f0c89f20226bda296ca46e88491a741cd3bcaa1159b9d5d2581931362ca600176b6d599351f4a34f56e2f WHIRLPOOL 3a0c382ffcb598f0d3aba8c9e45914a83d41a9f946f6cf10aab73320fdf8f6b8cc4f5f84ad6c86ca61e2ed33d00faa50d3846a560ebd4b7e9588402eefa055d2
|
||||
DIST diffuse-0.4.8.tar.bz2 557966 SHA256 c1d3b79bba9352fcb9aa4003537d3fece248fb824781c5e21f3fcccafd42df2b SHA512 0c62976526804a328f1cc1775f842e9575fab50309cc964171af5ee89d8f303d4cbdf66a078ed64bb8826f5a57c2cc7fc59afc1ee87646ece340212d34f2514e WHIRLPOOL d1f044497103c6c429f9980fa759e3df019176359adf13bd71d07c030188aad7c297a2b202290ac7124beed3536172ba17aca18d1e7a4b535218e3dd2cb015d3
|
||||
|
||||
@@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI="2"
|
||||
PYTHON_DEPEND="2"
|
||||
|
||||
inherit fdo-mime python
|
||||
|
||||
DESCRIPTION="A graphical tool to compare and merge text files"
|
||||
HOMEPAGE="http://diffuse.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="dev-python/pygtk"
|
||||
# file collision, bug #279018
|
||||
DEPEND="!sci-chemistry/tinker"
|
||||
|
||||
pkg_setup() {
|
||||
python_set_active_version 2
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
python_convert_shebangs 2 src/usr/bin/diffuse
|
||||
}
|
||||
|
||||
src_install() {
|
||||
"$(PYTHON)" install.py \
|
||||
--prefix=/usr \
|
||||
--files-only \
|
||||
--destdir="${D}" \
|
||||
|| die "Installation failed"
|
||||
dodoc AUTHORS ChangeLog README
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
@@ -1,58 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit fdo-mime python-single-r1
|
||||
|
||||
DESCRIPTION="A graphical tool to compare and merge text files"
|
||||
HOMEPAGE="http://diffuse.sourceforge.net/"
|
||||
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~x64-solaris"
|
||||
IUSE=""
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-python/pygtk[${PYTHON_USEDEP}]"
|
||||
# file collision, bug #279018
|
||||
DEPEND="${DEPEND}
|
||||
!sci-chemistry/tinker"
|
||||
|
||||
src_prepare() {
|
||||
local i p
|
||||
|
||||
# linguas handling wrt #406433
|
||||
if [[ -n "${LINGUAS+x}" ]] ; then
|
||||
for i in $(for p in translations/*.po ; do echo ${p%.po} ; done) ; do
|
||||
if ! has ${i##*/} ${LINGUAS} ; then
|
||||
rm "${S}"/${i}.po || die
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
python_fix_shebang src/usr/bin/diffuse
|
||||
}
|
||||
|
||||
src_install() {
|
||||
"${PYTHON}" install.py \
|
||||
--prefix="${EPREFIX}"/usr \
|
||||
--sysconfdir="${EPREFIX}"/etc \
|
||||
--files-only \
|
||||
--destdir="${D}" \
|
||||
|| die "Installation failed"
|
||||
dodoc AUTHORS ChangeLog README
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
||||
Reference in New Issue
Block a user