summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2016-09-05 18:38:20 +0200
committerManuel Rüger <mrueg@gentoo.org>2016-09-05 18:38:20 +0200
commitac40477c169947c524c081e43907781aaea5c1d8 (patch)
tree2b04c19922146f8c8e3e146d64cb343cdbb29608 /dev-python/visual
parentdev-python/pygsl: Remove old (diff)
downloadgentoo-ac40477c169947c524c081e43907781aaea5c1d8.tar.gz
gentoo-ac40477c169947c524c081e43907781aaea5c1d8.tar.bz2
gentoo-ac40477c169947c524c081e43907781aaea5c1d8.zip
dev-python/visual: Remove old
Package-Manager: portage-2.3.0
Diffstat (limited to 'dev-python/visual')
-rw-r--r--dev-python/visual/visual-5.74.ebuild85
1 files changed, 0 insertions, 85 deletions
diff --git a/dev-python/visual/visual-5.74.ebuild b/dev-python/visual/visual-5.74.ebuild
deleted file mode 100644
index 5ac636da6567..000000000000
--- a/dev-python/visual/visual-5.74.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="4"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="2.5 3.* *-jython 2.7-pypy-*"
-PYTHON_EXPORT_PHASE_FUNCTIONS="1"
-
-inherit eutils flag-o-matic multilib python versionator
-
-MY_P="${PN}-$(delete_version_separator 2)_release"
-
-DESCRIPTION="Real-time 3D graphics library for Python"
-HOMEPAGE="http://www.vpython.org/"
-SRC_URI="http://www.vpython.org/contents/download/${MY_P}.tar.bz2"
-
-LICENSE="HPND Boost-1.0"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE="doc examples"
-
-RDEPEND=">=dev-cpp/gtkglextmm-1.2
- dev-cpp/libglademm
- >=dev-libs/boost-1.48[python]
- dev-python/numpy
- dev-python/polygon:2
- dev-python/ttfquery"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-S="${WORKDIR}/${MY_P}"
-
-src_prepare() {
- # Verbose build.
- sed -i \
- -e 's/2\?>>[[:space:]]*\$(LOGFILE).*//' \
- src/Makefile.in || die
-
- epatch "${FILESDIR}/${P}-boost-1.50.patch"
-
- python_clean_py-compile_files
- python_src_prepare
-
- preparation() {
- sed -i \
- -e "s/-lboost_python/-lboost_python-${PYTHON_ABI}/" \
- -e "s/libboost_python/libboost_python-${PYTHON_ABI}/" \
- src/Makefile.in src/gtk2/makefile
- }
- python_execute_function -s preparation
-}
-
-src_configure() {
- BOOST_PKG="$(best_version ">=dev-libs/boost-1.48")"
- BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
- BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
- BOOST_INC="${EPREFIX}/usr/include/boost-${BOOST_VER}"
- BOOST_LIB="${EPREFIX}/usr/$(get_libdir)/boost-${BOOST_VER}"
-
- # Specify the include and lib directory for Boost.
- append-cxxflags -I${BOOST_INC}
- append-ldflags -L${BOOST_LIB}
-
- python_src_configure \
- --with-example-dir="${EPREFIX}/usr/share/doc/${PF}/examples" \
- --with-html-dir="${EPREFIX}/usr/share/doc/${PF}/html" \
- $(use_enable doc docs) \
- $(use_enable examples)
-}
-
-src_install() {
- python_src_install
- python_clean_installation_image
-
- dodoc authors.txt HACKING.txt NEWS.txt
-}
-
-pkg_postinst() {
- python_mod_optimize vis visual
-}
-
-pkg_postrm() {
- python_mod_cleanup vis visual
-}