diff options
author | Michał Górny <mgorny@gentoo.org> | 2017-02-18 20:27:37 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2017-02-18 20:47:27 +0100 |
commit | 8bdf73d93b1371bb9629de47984c776e66da03c1 (patch) | |
tree | 8074a7fb635b734568dd82d6ad395b92e351644c /media-libs | |
parent | dev-util/wxglade: python-single-r1, EAPI=6 (diff) | |
download | gentoo-8bdf73d93b1371bb9629de47984c776e66da03c1.tar.gz gentoo-8bdf73d93b1371bb9629de47984c776e66da03c1.tar.bz2 gentoo-8bdf73d93b1371bb9629de47984c776e66da03c1.zip |
media-libs/libiptcdata: Clean old version up
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/libiptcdata/libiptcdata-1.0.4.ebuild | 78 |
1 files changed, 0 insertions, 78 deletions
diff --git a/media-libs/libiptcdata/libiptcdata-1.0.4.ebuild b/media-libs/libiptcdata/libiptcdata-1.0.4.ebuild deleted file mode 100644 index 391569f4f0c0..000000000000 --- a/media-libs/libiptcdata/libiptcdata-1.0.4.ebuild +++ /dev/null @@ -1,78 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI="3" -SUPPORT_PYTHON_ABIS="1" -RESTRICT_PYTHON_ABIS="3.* 2.7-pypy-* *-jython" - -inherit eutils python - -DESCRIPTION="library for manipulating the International Press Telecommunications -Council (IPTC) metadata" -HOMEPAGE="http://libiptcdata.sourceforge.net" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="alpha amd64 ~arm ia64 ppc ppc64 sparc x86" -IUSE="doc examples nls python" - -RDEPEND="python? ( =dev-lang/python-2* ) - nls? ( virtual/libintl )" -DEPEND="${RDEPEND} - nls? ( >=sys-devel/gettext-0.13.1 ) - doc? ( >=dev-util/gtk-doc-1 )" - -pkg_setup() { - if use python; then - python_pkg_setup - fi -} - -src_prepare() { - # Python bindings are built/tested/installed manually. - sed -e '/SUBDIRS =/s/$(MAYBE_PYTHONLIB)//' -i Makefile.in || die "sed failed" -} - -src_configure () { - econf \ - $(use_enable nls) \ - $(use_enable python) \ - $(use_enable doc gtk-doc) -} - -src_compile() { - default - - if use python; then - python_copy_sources python - building() { - emake PYTHON_CPPFLAGS=-I$(python_get_includedir) \ - pyexecdir=$(python_get_sitedir) - } - python_execute_function -s --source-dir python building - fi -} - -src_install () { - emake DESTDIR="${D}" install || die "emake install failed." - - if use python; then - installation() { - emake DESTDIR="${D}" pyexecdir=$(python_get_sitedir) install - } - python_execute_function -s --source-dir python installation - python_clean_installation_image - fi - - dodoc AUTHORS ChangeLog NEWS README TODO || die "dodoc failed." - - if use examples; then - insinto /usr/share/doc/${PF}/python - doins python/README || die "doins failed" - doins -r python/examples || die "doins 2 failed" - fi - - find "${D}" -name '*.la' -delete || die "failed to remove *.la files" -} |