Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 351882 Details for
Bug 474692
dev-python/pycups-1.9.63 version bump / python-r1 conversion
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
The diff between ebuilds
pycups.diff (text/plain), 2.01 KB, created by
Michał Górny
on 2013-06-25 08:27:42 UTC
(
hide
)
Description:
The diff between ebuilds
Filename:
MIME Type:
Creator:
Michał Górny
Created:
2013-06-25 08:27:42 UTC
Size:
2.01 KB
patch
obsolete
>--- pycups-1.9.62.ebuild 2012-12-01 20:08:16.000000000 +0100 >+++ pycups-1.9.63.ebuild 2013-06-25 10:28:15.810000000 +0200 >@@ -2,50 +2,44 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/dev-python/pycups/pycups-1.9.62.ebuild,v 1.7 2012/12/01 19:08:16 armin76 Exp $ > >-EAPI="3" >+EAPI=5 > >-PYTHON_DEPEND="2:2.5" >-RESTRICT_PYTHON_ABIS="*-jython" >-inherit distutils flag-o-matic >+PYTHON_COMPAT=( python{2_5,2_6,2_7} pypy{1_9,2_0} ) >+inherit distutils-r1 > > DESCRIPTION="Python bindings for the CUPS API" > HOMEPAGE="http://cyberelk.net/tim/data/pycups/" >-SRC_URI="http://cyberelk.net/tim/data/pycups/${P}.tar.bz2" >+SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.bz2" > > LICENSE="GPL-2" >-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sh sparc x86" >+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86" > SLOT="0" > IUSE="doc examples" > > RDEPEND=" > net-print/cups > " >+ >+# epydoc kinda sucks and supports python2 only (it's dead too), >+# and since we're dealing with a binary module we need exact version >+# match. therefore, docbuilding *requires* any python2 being enabled. >+ > DEPEND="${RDEPEND} >- doc? ( dev-python/epydoc ) >+ doc? ( dev-python/epydoc[$(python_gen_usedep 'python2*')] ) > " > >-pkg_setup() { >- python_set_active_version 2 >-} >- >-src_compile() { >- append-cflags -DVERSION=\\\"${PV}\\\" >- distutils_src_compile >+REQUIRED_USE="doc? ( $(python_gen_useflags 'python2*') )" > >+python_compile_all() { > if use doc; then >- emake doc || die "emake doc failed" >+ # we can't use Makefile since it relies on hardcoded paths >+ epydoc -o html --html cups || die "doc build failed" > fi > } > >-src_install() { >- distutils_src_install >- >- if use doc; then >- dohtml -r html/ || die "installing html docs failed" >- fi >+python_install_all() { >+ use doc && local HTML_DOCS=( html/ ) >+ use examples && local EXAMPLES=( examples/ ) > >- if use examples; then >- insinto /usr/share/doc/"${P}" >- doins -r examples/ || die "installing examples failed" >- fi >+ 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 474692
:
351880
| 351882