media-libs/vips: Remove old (python.eclass)

This commit is contained in:
Michał Górny
2017-03-21 17:51:20 +01:00
parent c95e5a8b11
commit 970a89aeb7
2 changed files with 0 additions and 74 deletions

View File

@@ -1,2 +1 @@
DIST vips-7.26.3.tar.gz 3163591 SHA256 9acbe13f391bde2e1748e62a3f2e07a4319ad07c2502cc1ee4422f0a6cbd12a0 SHA512 7f2a21e2fac863d2ac43dc4a90f33e34a84d27035050357dba599e8a368b013d04f8ca03155dfc882e77004399800ae35fd40fa1919478e0b6ad0ba970806cb2 WHIRLPOOL 155843e1ba719b705e3ef3b994de0aaf6f2ba2cdb620b47fae74c9e4b2605f73987270539e77241a4fcef85e881a477de8eedd3b2bc955050eac3f9984ff4a8a
DIST vips-7.38.5.tar.gz 3447505 SHA256 495dc8ca70910eca33a867f0a7e6903b076d6dd9fbdf2ddbb2ffd4270f0fe00e SHA512 99b3a3efb32a976d17e5ce7d7d79e8bb708c148e981f866a8997a07f641866ba237cd677de9f7cafab30afb182a5bde7cc130368c8ff5d8f413d38801a24ed37 WHIRLPOOL a40d38956a476e74669288ba14f6a5c49f5485221c90e8455702bbfde411a871a5f31cfdeefa1329a17f773a14668af187e92189e4f592dba459a0b20a3c16ba

View File

@@ -1,73 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=3
PYTHON_DEPEND="python? 2"
inherit eutils versionator python
# TODO:
# matio? ( sci-libs/matio ) - in science overlay #269598 (wait for new release
# after 1.3.4) or until somebody adds it to the tree.
DESCRIPTION="VIPS Image Processing Library"
SRC_URI="http://www.vips.ecs.soton.ac.uk/supported/$(get_version_component_range 1-2)/${P}.tar.gz"
HOMEPAGE="http://vips.sourceforge.net"
LICENSE="LGPL-2.1"
SLOT="1"
KEYWORDS="amd64 x86"
IUSE="debug exif fits fftw imagemagick jpeg lcms openexr +orc png python static-libs tiff"
RDEPEND=">=dev-libs/glib-2.6:2
>=dev-libs/liboil-0.3
dev-libs/libxml2
sys-libs/zlib
>=x11-libs/pango-1.8
fftw? ( sci-libs/fftw:3.0 )
imagemagick? ( virtual/imagemagick-tools )
lcms? ( media-libs/lcms )
openexr? ( >=media-libs/openexr-1.2.2 )
exif? ( >=media-libs/libexif-0.6 )
tiff? ( media-libs/tiff )
jpeg? ( virtual/jpeg )
fits? ( sci-libs/cfitsio )
png? ( >=media-libs/libpng-1.2.9 )
orc? ( >=dev-lang/orc-0.4.11 )"
DEPEND="${RDEPEND}
dev-util/gtk-doc-am"
pkg_setup() {
if use python; then
python_set_active_version 2
python_pkg_setup
fi
}
src_configure() {
econf \
$(use_enable debug) \
$(use_with fftw fftw3) \
$(use_with lcms) \
$(use_with openexr OpenEXR) \
$(use_with exif libexif) \
$(use_with imagemagick magick) \
$(use_with png) \
$(use_with tiff) \
$(use_with fits cfitsio) \
$(use_with jpeg) \
$(use_with orc) \
$(use_with python) \
$(use_enable static-libs static)
}
src_install() {
emake DESTDIR="${D}" install || die
dodoc AUTHORS ChangeLog NEWS README THANKS TODO || die
# 314101
mv "${ED}"/usr/share/doc/${PN}/* "${ED}"/usr/share/doc/${PF} || die
rmdir "${ED}"/usr/share/doc/${PN}/ || die
dosym /usr/share/doc/${PF} /usr/share/doc/${PN}
find "${ED}" -name '*.la' -exec rm -f {} +
}