removed pygoocanvas
This commit is contained in:
parent
babf9747d8
commit
5c85c180c0
@ -1 +0,0 @@
|
|||||||
DIST pygoocanvas-0.14.1.tar.bz2 331136 BLAKE2B 52e764884d41371fa2482a8e932198a89d0563af0a1e946a69e1fbf4dc4bc2ee84e9be7c7e38144b341aeccdafeadfdda3f5fbb41874e1559f611bee7a789e4d SHA512 cd8175eb51358236b6488d01706d719abfdd0f3d00568e7563b2a1d7edc01f3d77b1ef23b7c062ab4a78d46d5f542c483fc883a81d2f31ce9be2b6a7385c2d22
|
|
@ -1,72 +0,0 @@
|
|||||||
# Copyright 1999-2017 Gentoo Foundation
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="5"
|
|
||||||
GCONF_DEBUG="no"
|
|
||||||
GNOME2_LA_PUNT="yes"
|
|
||||||
GNOME_TARBALL_SUFFIX="bz2"
|
|
||||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
|
|
||||||
|
|
||||||
inherit gnome2 python-r1
|
|
||||||
|
|
||||||
DESCRIPTION="GooCanvas python bindings"
|
|
||||||
HOMEPAGE="https://wiki.gnome.org/Projects/PyGoocanvas"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 ppc ~sparc x86"
|
|
||||||
IUSE="doc examples"
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
RDEPEND="${PYTHON_DEPS}
|
|
||||||
>=dev-python/pygobject-2.11.3:2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pygtk-2.10.4:2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pycairo-1.8.4[${PYTHON_USEDEP}]
|
|
||||||
>=x11-libs/goocanvas-0.14:0
|
|
||||||
"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
doc? ( >=dev-util/gtk-doc-1.4 )
|
|
||||||
virtual/pkgconfig
|
|
||||||
"
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
prepare_binding() {
|
|
||||||
mkdir -p "${BUILD_DIR}" || die
|
|
||||||
}
|
|
||||||
python_foreach_impl prepare_binding
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# docs installs gtk-doc and xsltproc is not actually used
|
|
||||||
configure_binding() {
|
|
||||||
ECONF_SOURCE="${S}" gnome2_src_configure \
|
|
||||||
$(use_enable doc docs) \
|
|
||||||
XSLTPROC=$(type -P true)
|
|
||||||
}
|
|
||||||
python_foreach_impl run_in_build_dir configure_binding
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
python_foreach_impl run_in_build_dir gnome2_src_compile
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
python_foreach_impl run_in_build_dir default
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
python_foreach_impl run_in_build_dir gnome2_src_install
|
|
||||||
|
|
||||||
dodoc AUTHORS ChangeLog* NEWS
|
|
||||||
|
|
||||||
if use examples; then
|
|
||||||
rm demo/Makefile* || die
|
|
||||||
cp -R demo "${D}"/usr/share/doc/${PF} || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
run_in_build_dir() {
|
|
||||||
pushd "${BUILD_DIR}" > /dev/null || die
|
|
||||||
"$@"
|
|
||||||
popd > /dev/null
|
|
||||||
}
|
|
Reference in New Issue
Block a user