diff options
Diffstat (limited to 'dev-python/python-exec/python-exec-2.0-r3.ebuild')
-rw-r--r-- | dev-python/python-exec/python-exec-2.0-r3.ebuild | 69 |
1 files changed, 0 insertions, 69 deletions
diff --git a/dev-python/python-exec/python-exec-2.0-r3.ebuild b/dev-python/python-exec/python-exec-2.0-r3.ebuild deleted file mode 100644 index 72835f5e2cf7..000000000000 --- a/dev-python/python-exec/python-exec-2.0-r3.ebuild +++ /dev/null @@ -1,69 +0,0 @@ -# Copyright 1999-2013 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-python/python-exec/python-exec-2.0-r3.ebuild,v 1.1 2013/10/29 17:58:32 mgorny Exp $ - -EAPI=5 - -# Kids, don't do this at home! -inherit python-utils-r1 -PYTHON_COMPAT=( "${_PYTHON_ALL_IMPLS[@]}" ) - -inherit autotools-utils python-r1 versionator - -DESCRIPTION="Python script wrapper" -HOMEPAGE="https://bitbucket.org/mgorny/python-exec/" -SRC_URI="mirror://bitbucket/mgorny/${PN}/downloads/${P}.tar.bz2" - -LICENSE="BSD" -SLOT="2" -KEYWORDS="~alpha ~amd64 ~arm hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" -IUSE="" - -# Temporarily fail-safe to avoid breaking systems. -PDEPEND="dev-python/python-exec:0" - -src_configure() { - local pyimpls i EPYTHON - for i in "${PYTHON_COMPAT[@]}"; do - python_export "${i}" EPYTHON - pyimpls+=" ${EPYTHON}" - done - - local myeconfargs=( - --with-eprefix="${EPREFIX}" - --with-python-impls="${pyimpls}" - ) - - autotools-utils_src_configure -} - -cleanup_vardb_deps() { - local v - for v in ${REPLACING_VERSIONS}; do - # if 2.0-r1+ was installed already, no need for cleaning up again. - if version_is_at_least 2.0-r2 ${v}; then - return 0 - fi - done - - local f files=() - for f in "${EROOT%/}"/var/db/pkg/*/*/*DEPEND; do - if grep -q 'dev-python/python-exec\[' "${f}"; then - files+=( "${f}" ) - fi - done - - if [[ ${files[@]} ]]; then - ebegin "Fixing unslotted python-exec dependencies in installed packages" - sed -i -e 's,dev-python/python-exec\[,dev-python/python-exec:0[,g' \ - "${files[@]}" - eend ${?} - - # touch packages, categories and vardb. suggested by Arfrever. - touch "${files[@]%/*}" "${files[@]%/*/*}" "${EROOT%/}"/var/db/pkg - fi -} - -pkg_postinst() { - cleanup_vardb_deps -} |