summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirkjan Ochtman <djc@gentoo.org>2012-06-08 16:34:26 +0000
committerDirkjan Ochtman <djc@gentoo.org>2012-06-08 16:34:26 +0000
commit50baef699a369f375f119214115e3d049e098708 (patch)
tree4762acea555a33bb4693adf41ee17b397805fbda /dev-python
parentFixing initscripts. awk syntax fix to work in FreeBSD. Search for unix_socket... (diff)
downloadgentoo-2-50baef699a369f375f119214115e3d049e098708.tar.gz
gentoo-2-50baef699a369f375f119214115e3d049e098708.tar.bz2
gentoo-2-50baef699a369f375f119214115e3d049e098708.zip
Remove old versions of pypy.
(Portage version: 2.1.10.64/cvs/Linux x86_64)
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/pypy/ChangeLog6
-rw-r--r--dev-python/pypy/files/1.7-patches.patch40
-rw-r--r--dev-python/pypy/pypy-1.7-r2.ebuild98
-rw-r--r--dev-python/pypy/pypy-1.8.ebuild101
4 files changed, 5 insertions, 240 deletions
diff --git a/dev-python/pypy/ChangeLog b/dev-python/pypy/ChangeLog
index 9eedca0e5e28..9ff5a24329fe 100644
--- a/dev-python/pypy/ChangeLog
+++ b/dev-python/pypy/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-python/pypy
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pypy/ChangeLog,v 1.17 2012/02/28 19:24:00 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-python/pypy/ChangeLog,v 1.18 2012/06/08 16:34:26 djc Exp $
+
+ 08 Jun 2012; Dirkjan Ochtman <djc@gentoo.org> -files/1.7-patches.patch,
+ -pypy-1.7-r2.ebuild, -pypy-1.8.ebuild:
+ Remove old versions.
28 Feb 2012; Mike Gilbert <floppym@gentoo.org> pypy-1.7-r2.ebuild,
pypy-1.8-r1.ebuild:
diff --git a/dev-python/pypy/files/1.7-patches.patch b/dev-python/pypy/files/1.7-patches.patch
deleted file mode 100644
index a03ca2240c88..000000000000
--- a/dev-python/pypy/files/1.7-patches.patch
+++ /dev/null
@@ -1,40 +0,0 @@
---- pypy-pypy-release-1.7/pypy/translator/goal/translate.py.bak 2011-11-29 14:23:55.000000000 +0100
-+++ pypy-pypy-release-1.7/pypy/translator/goal/translate.py 2011-11-29 14:24:16.000000000 +0100
-@@ -255,8 +255,6 @@
- log.event("batch mode, not calling interactive helpers")
- return
-
-- log.event("start debugger...")
--
- if translateconfig.view:
- try:
- t1 = drv.hint_translator
-@@ -266,8 +264,6 @@
- page = graphpage.TranslatorPage(t1, translateconfig.huge)
- page.display_background()
-
-- pdb_plus_show.start(tb)
--
- try:
- drv = driver.TranslationDriver.from_targetspec(targetspec_dic, config, args,
- empty_translator=t,
---- pypy-pypy-release-1.7/pypy/translator/c/gcc/trackgcroot.py.bak 2011-11-29 14:22:29.000000000 +0100
-+++ pypy-pypy-release-1.7/pypy/translator/c/gcc/trackgcroot.py 2011-11-29 14:22:55.000000000 +0100
-@@ -1694,6 +1694,7 @@
- }
- """
- elif self.format in ('elf64', 'darwin64'):
-+ print >> output, "\t.section .note.GNU-stack,\"\",%progbits"
- print >> output, "\t.text"
- print >> output, "\t.globl %s" % _globalname('pypy_asm_stackwalk')
- _variant(elf64='.type pypy_asm_stackwalk, @function',
---- pypy-pypy-release-1.7/pypy/rlib/ropenssl.py.bak 2011-11-29 14:19:10.000000000 +0100
-+++ pypy-pypy-release-1.7/pypy/rlib/ropenssl.py 2011-11-29 14:19:42.000000000 +0100
-@@ -159,6 +159,7 @@
- lltype.Void)
-
- if HAVE_OPENSSL_RAND:
-+ eci.includes = eci.includes + ('openssl/rand.h',)
- ssl_external('RAND_add', [rffi.CCHARP, rffi.INT, rffi.DOUBLE], lltype.Void)
- ssl_external('RAND_status', [], rffi.INT)
- ssl_external('RAND_egd', [rffi.CCHARP], rffi.INT)
diff --git a/dev-python/pypy/pypy-1.7-r2.ebuild b/dev-python/pypy/pypy-1.7-r2.ebuild
deleted file mode 100644
index 26c119356c6e..000000000000
--- a/dev-python/pypy/pypy-1.7-r2.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pypy/pypy-1.7-r2.ebuild,v 1.5 2012/02/28 19:24:00 floppym Exp $
-
-EAPI="4"
-
-inherit eutils toolchain-funcs check-reqs python versionator
-
-DESCRIPTION="PyPy is a fast, compliant alternative implementation of the Python language"
-HOMEPAGE="http://pypy.org/"
-SRC_URI="https://bitbucket.org/pypy/pypy/get/release-${PV}.tar.bz2 -> ${P}.tar.bz2"
-SLOTVER=$(get_version_component_range 1-2 ${PV})
-
-LICENSE="MIT"
-SLOT="${SLOTVER}"
-PYTHON_ABI="2.7-pypy-${SLOTVER}"
-KEYWORDS="~amd64 ~x86"
-IUSE="bzip2 doc examples +jit ncurses sandbox sqlite ssl xml"
-
-RDEPEND=">=sys-libs/zlib-1.1.3
- virtual/libffi
- virtual/libintl
- bzip2? ( app-arch/bzip2 )
- ncurses? ( sys-libs/ncurses )
- sqlite? ( dev-db/sqlite:3 )
- ssl? ( dev-libs/openssl )
- xml? ( dev-libs/expat )"
-DEPEND="${RDEPEND}"
-PDEPEND="app-admin/python-updater"
-
-DOC="README LICENSE"
-
-pkg_pretend() {
- CHECKREQS_MEMORY="2G"
- use amd64 && CHECKREQS_MEMORY="4G"
- check-reqs_pkg_pretend
-}
-
-src_unpack() {
- default
- mv pypy-pypy-* "${S}" || die
-}
-
-src_prepare() {
- epatch "${FILESDIR}/${PV}-patches.patch"
- epatch "${FILESDIR}/${PV}-scripts-location.patch"
- epatch "${FILESDIR}/${P}-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch"
- epatch "${FILESDIR}/${P}-distutils-fix_handling_of_executables_and_flags.patch"
-}
-
-src_compile() {
- local conf
- if use jit; then
- conf="-Ojit"
- else
- conf="-O2"
- fi
- if use sandbox; then
- conf+=" --sandbox"
- fi
-
- conf+=" ./pypy/translator/goal/targetpypystandalone.py"
- # Avoid linking against libraries disabled by use flags
- local optional_use=("bzip2" "ncurses" "xml" "ssl")
- local optional_mod=("bz2" "_minimal_curses" "pyexpat" "_ssl")
- for ((i = 0; i < ${#optional_use[*]}; i++)); do
- if use ${optional_use[$i]}; then
- conf+=" --withmod-${optional_mod[$i]}"
- else
- conf+=" --withoutmod-${optional_mod[$i]}"
- fi
- done
-
- local translate_cmd="$(PYTHON -2) ./pypy/translator/goal/translate.py $conf"
- echo ${_BOLD}"${translate_cmd}"${_NORMAL}
- ${translate_cmd} || die "compile error"
-}
-
-src_install() {
- local INSPATH="/usr/$(get_libdir)/pypy${SLOT}"
- insinto ${INSPATH}
- doins -r include lib_pypy lib-python pypy-c
- fperms a+x ${INSPATH}/pypy-c
- dosym ../$(get_libdir)/pypy${SLOT}/pypy-c /usr/bin/pypy-c${SLOT}
-
- if ! use sqlite; then
- rm -fr "${ED}${INSPATH}/lib-python/2.7/sqlite3"
- rm -fr "${ED}${INSPATH}/lib-python/modified-2.7/sqlite3"
- rm -f "${ED}${INSPATH}/lib_pypy/_sqlite3.py"
- fi
-
- # Generate Grammar and PatternGrammar pickles.
- PYTHONPATH="${ED}${INSPATH}/lib_pypy/__extensions__:${ED}${INSPATH}/lib_pypy:${ED}${INSPATH}/lib-python/modified-2.7:${ED}${INSPATH}/lib-python/2.7" "${ED}${INSPATH}/pypy-c" -c "import lib2to3.pygram, lib2to3.patcomp; lib2to3.patcomp.PatternCompiler()" || die "Generation of Grammar and PatternGrammar pickles failed"
-}
-
-src_test() {
- $(PYTHON -2) ./pypy/test_all.py --pypy=./pypy-c lib-python
-}
diff --git a/dev-python/pypy/pypy-1.8.ebuild b/dev-python/pypy/pypy-1.8.ebuild
deleted file mode 100644
index 8217efa3308b..000000000000
--- a/dev-python/pypy/pypy-1.8.ebuild
+++ /dev/null
@@ -1,101 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-python/pypy/pypy-1.8.ebuild,v 1.4 2012/02/14 02:16:50 floppym Exp $
-
-EAPI="4"
-
-inherit eutils toolchain-funcs check-reqs python versionator
-
-DESCRIPTION="PyPy is a fast, compliant alternative implementation of the Python language"
-HOMEPAGE="http://pypy.org/"
-SRC_URI="https://bitbucket.org/pypy/pypy/get/release-${PV}.tar.bz2 -> ${P}.tar.bz2"
-SLOTVER=$(get_version_component_range 1-2 ${PV})
-
-LICENSE="MIT"
-SLOT="${SLOTVER}"
-PYTHON_ABI="2.7-pypy-${SLOTVER}"
-KEYWORDS="~amd64 ~x86"
-IUSE="bzip2 doc examples +jit ncurses sandbox shadowstack sqlite stackless ssl xml"
-
-RDEPEND=">=sys-libs/zlib-1.1.3
- virtual/libffi
- virtual/libintl
- bzip2? ( app-arch/bzip2 )
- ncurses? ( sys-libs/ncurses )
- sqlite? ( dev-db/sqlite:3 )
- ssl? ( dev-libs/openssl )
- xml? ( dev-libs/expat )"
-DEPEND="${RDEPEND}"
-PDEPEND="app-admin/python-updater"
-
-DOC="README LICENSE"
-
-pkg_pretend() {
- CHECKREQS_MEMORY="2G"
- use amd64 && CHECKREQS_MEMORY="4G"
- check-reqs_pkg_pretend
-}
-
-src_unpack() {
- default
- mv pypy-pypy-* "${S}" || die
-}
-
-src_prepare() {
- epatch "${FILESDIR}/1.7-patches.patch"
- epatch "${FILESDIR}/1.7-scripts-location.patch"
- epatch "${FILESDIR}/pypy-1.7-distutils.unixccompiler.UnixCCompiler.runtime_library_dir_option.patch"
- epatch "${FILESDIR}/pypy-1.7-distutils-fix_handling_of_executables_and_flags.patch"
-}
-
-src_compile() {
- local conf
- if use jit; then
- conf="-Ojit"
- else
- conf="-O2"
- fi
- if use shadowstack; then
- conf+=" --gcrootfinder=shadowstack"
- fi
- if use sandbox; then
- conf+=" --sandbox"
- fi
- if use stackless; then
- conf+=" --stackless"
- fi
-
- conf+=" ./pypy/translator/goal/targetpypystandalone.py"
- # Avoid linking against libraries disabled by use flags
- local optional_use=("bzip2" "ncurses" "xml" "ssl")
- local optional_mod=("bz2" "_minimal_curses" "pyexpat" "_ssl")
- for ((i = 0; i < ${#optional_use[*]}; i++)); do
- if use ${optional_use[$i]}; then
- conf+=" --withmod-${optional_mod[$i]}"
- else
- conf+=" --withoutmod-${optional_mod[$i]}"
- fi
- done
-
- local translate_cmd="$(PYTHON -2) ./pypy/translator/goal/translate.py $conf"
- echo ${_BOLD}"${translate_cmd}"${_NORMAL}
- ${translate_cmd} || die "compile error"
-}
-
-src_install() {
- local INSPATH="/usr/$(get_libdir)/pypy${SLOT}"
- insinto ${INSPATH}
- doins -r include lib_pypy lib-python pypy-c
- fperms a+x ${INSPATH}/pypy-c
- dosym ../$(get_libdir)/pypy${SLOT}/pypy-c /usr/bin/pypy-c${SLOT}
-
- if ! use sqlite; then
- rm -fr "${ED}${INSPATH}/lib-python/2.7/sqlite3"
- rm -fr "${ED}${INSPATH}/lib-python/modified-2.7/sqlite3"
- rm -f "${ED}${INSPATH}/lib_pypy/_sqlite3.py"
- fi
-}
-
-src_test() {
- $(PYTHON -2) ./pypy/test_all.py --pypy=./pypy-c lib-python
-}