Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 239927 Details for
Bug 329489
dev-vcs/mercurial: Verify and potentially improve Python-related code
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
mercurial-1.6.ebuild.patch
mercurial-1.6.ebuild.patch (text/plain), 1.79 KB, created by
Arfrever Frehtes Taifersar Arahesis (RETIRED)
on 2010-07-23 15:59:00 UTC
(
hide
)
Description:
mercurial-1.6.ebuild.patch
Filename:
MIME Type:
Creator:
Arfrever Frehtes Taifersar Arahesis (RETIRED)
Created:
2010-07-23 15:59:00 UTC
Size:
1.79 KB
patch
obsolete
>--- mercurial-1.6.ebuild >+++ mercurial-1.6.ebuild >@@ -3,8 +3,12 @@ > # $Header: /var/cvsroot/gentoo-x86/dev-vcs/mercurial/mercurial-1.6.ebuild,v 1.2 2010/07/01 23:10:20 arfrever Exp $ > > EAPI=3 >+PYTHON_DEPEND="2" >+PYTHON_USE_WITH="threads" >+SUPPORT_PYTHON_ABIS="1" >+RESTRICT_PYTHON_ABIS="3.*" > >-inherit bash-completion elisp-common flag-o-matic eutils distutils >+inherit bash-completion elisp-common eutils distutils > > DESCRIPTION="Scalable distributed SCM" > HOMEPAGE="http://mercurial.selenic.com/" >@@ -15,23 +19,23 @@ > KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" > IUSE="bugzilla emacs gpg test tk zsh-completion" > >-CDEPEND=">=dev-lang/python-2.4[threads]" >-RDEPEND="${CDEPEND} >- bugzilla? ( dev-python/mysql-python ) >+RDEPEND="bugzilla? ( dev-python/mysql-python ) > gpg? ( app-crypt/gnupg ) > tk? ( dev-lang/tk ) > zsh-completion? ( app-shells/zsh )" >-DEPEND="${CDEPEND} >- emacs? ( virtual/emacs ) >+DEPEND="emacs? ( virtual/emacs ) > test? ( app-arch/unzip > dev-python/pygments )" > >+PYTHON_CFLAGS=( >+ "2.* + -fno-strict-aliasing" >+ "* - -ftracer -ftree-vectorize" >+) >+ > PYTHON_MODNAME="${PN} hgext" > SITEFILE="70${PN}-gentoo.el" > > src_compile() { >- filter-flags -ftracer -ftree-vectorize >- > distutils_src_compile > > if use emacs; then >@@ -99,10 +103,13 @@ > rm -f test-journal-exists > rm -f test-repair-strip > fi >- local testdir="${T}/tests" >- rm -rf "${testdir}" >- einfo "Running Mercurial tests ..." >- python run-tests.py --tmpdir="${testdir}" || die "test failed" >+ >+ testing() { >+ local testdir="${T}/tests-${PYTHON_ABI}" >+ rm -rf "${testdir}" >+ "$(PYTHON)" run-tests.py --tmpdir="${testdir}" >+ } >+ python_execute_function testing > } > > pkg_postinst() {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 329489
:
239927
|
248034