Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 373700 Details for
Bug 497508
dev-python/tpg-3.2.2 - add support for python3.*
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
diff -u tpg-3.2.2.ebuild tpg-3.2.2-r1.ebuild
tpg.patch (text/plain), 1.33 KB, created by
Ian Delaney (RETIRED)
on 2014-03-28 04:07:37 UTC
(
hide
)
Description:
diff -u tpg-3.2.2.ebuild tpg-3.2.2-r1.ebuild
Filename:
MIME Type:
Creator:
Ian Delaney (RETIRED)
Created:
2014-03-28 04:07:37 UTC
Size:
1.33 KB
patch
obsolete
>--- tpg-3.2.2.ebuild 2014-01-08 13:33:41.000000000 +0800 >+++ tpg-3.2.2-r1.ebuild 2014-03-28 11:48:22.497873166 +0800 >@@ -1,14 +1,12 @@ > # Copyright 1999-2014 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 >-# $Header: /var/cvsroot/gentoo-x86/dev-python/tpg/tpg-3.2.2.ebuild,v 1.1 2014/01/08 05:33:41 patrick Exp $ >+# $Header: $ > >-EAPI="3" >-PYTHON_DEPEND="2" >-SUPPORT_PYTHON_ABIS="1" >-RESTRICT_PYTHON_ABIS="3.* *-jython" >-PYTHON_TESTS_RESTRICTED_ABIS="2.5 2.6" >+EAPI=5 >+# py2.6 doesn't pass tests >+PYTHON_COMPAT=( python{2_7,3_2,3_3} ) > >-inherit distutils >+inherit distutils-r1 > > MY_P="TPG-${PV}" > >@@ -20,28 +18,16 @@ > SLOT="0" > KEYWORDS="~amd64 ~ia64 ~ppc ~x86" > IUSE="doc examples" >+DOCS=( ChangeLog README THANKS doc/tpg.pdf ) > > S="${WORKDIR}/${MY_P}" > >-DOCS="THANKS" >-PYTHON_MODNAME="tpg.py" >- >-src_test() { >- testing() { >- "$(PYTHON)" tpg_tests.py -v >- } >- python_execute_function testing >+python_test() { >+# "${PYTHON}" tpg_tests_py2.py || die >+ "${PYTHON}" tpg_tests.py -v || die > } > >-src_install() { >- distutils_src_install >- >- if use doc; then >- dodoc doc/tpg.pdf || die "dodoc failed" >- fi >- >- if use examples; then >- insinto /usr/share/doc/${PF} >- doins -r examples || die "doins failed" >- fi >+python_install_all() { >+ use examples && local EXAMPLES=( examples/. ) >+ distutils-r1_python_install_all > }
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 497508
: 373700