Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 410810 Details for
Bug 559364
mail-filter/pypolicyd-spf: conflict with ipaddress module in python < 3
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
pypolicyd-spf-1.2-r1.ebuild
pypolicyd-spf-1.2-r1.ebuild (text/plain), 1.75 KB, created by
Robert Trace
on 2015-09-02 01:17:10 UTC
(
hide
)
Description:
pypolicyd-spf-1.2-r1.ebuild
Filename:
MIME Type:
Creator:
Robert Trace
Created:
2015-09-02 01:17:10 UTC
Size:
1.75 KB
patch
obsolete
># Copyright 1999-2014 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Id$ > >EAPI=5 > >PYTHON_COMPAT=( python{2_7,3_3,3_4} ) > ># With >=python-3.3, the built-in ipaddress module handles the parsing ># of IP addresses. If python is built without ipv6 support, then ># ipaddress can't parse ipv6 addresses, and the daemon will crash if it ># sees an ipv6 SPF record. In other words, it's completely broken. ># ># Ideally this would remain optional for python-2.x, but until there's ># an easy way to do that, "maybe annoying" seems a better option than ># "maybe broken." >PYTHON_REQ_USE="ipv6" > >inherit distutils-r1 versionator > >DESCRIPTION="Python-based policy daemon for Postfix SPF verification" >HOMEPAGE="https://launchpad.net/pypolicyd-spf" >SRC_URI="https://launchpad.net/pypolicyd-spf/$(get_version_component_range 1-2)/${PV}/+download/${P}.tar.gz" > >LICENSE="Apache-2.0" >SLOT="0" >KEYWORDS="~amd64 ~x86" >IUSE="" > ># ipaddr is only needed with <python-3.3. ># ># The lower version bound is reported at, ># ># https://bugs.launchpad.net/pypolicyd-spf/+bug/1229862 ># >DEPEND="$(python_gen_cond_dep \ > 'dev-python/ipaddress[${PYTHON_USEDEP}]' \ > 'python2*') > dev-python/pyspf[${PYTHON_USEDEP}]" > >RDEPEND="${DEPEND} > dev-python/authres[${PYTHON_USEDEP}]" > >DOCS=( CHANGES policyd-spf.conf.commented README README.per_user_whitelisting ) > >python_prepare_all() { > # The "real" config file mentions the commented one, so we point > # users in the right direction. > local oldconf="policyd-spf.conf.commented" > local newconf="/usr/share/doc/${PF}/${oldconf}" > > sed -i "1 s~ ${oldconf}~,\n# ${newconf}~" policyd-spf.conf \ > || die 'failed to update commented config file path' > > distutils-r1_python_prepare_all >} > >src_prepare() { > epatch "${FILESDIR}"/ipaddress.patch >}
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 Raw
Actions:
View
Attachments on
bug 559364
:
410806
|
410808
| 410810 |
410812