mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-24 06:48:18 -07:00
mail-filter/pypolicyd-spf: remove old 1.x version.
Package-Manager: portage-2.3.0
This commit is contained in:
@@ -1,2 +1 @@
|
||||
DIST pypolicyd-spf-1.3.2.tar.gz 32973 SHA256 7174c46a26c9c35b0d66ddba821b02b0dc2df9d1f6bf0c9da71dcd60795b2966 SHA512 e80b13a0cf9f8406592db5edcb9770051352b3f637d4d9d5bd96295710bf3728a8350c0697e5b430698b0d9d226c83c9decb67923ed5cdb3502ee15509715af4 WHIRLPOOL 91051b0702098b14d0e8281184219f7c96304b59b8a56b7088810af83383b18feb414b53eb259f9d13a37a108373633adeb4a7f866bbd54a480cb1ec287af6a6
|
||||
DIST pypolicyd-spf-2.0.1.tar.gz 38086 SHA256 9124865c3434b40ecbe6e761d05039b670d403e04d2736f3ffbbc8788f47d127 SHA512 85f51491ab1f44e197dbf9a15f9e723ba3aaf0472d9d1653595490d7211670a67cdca5699111ab5a29f9d919cd935ed58d8d70bd1312a4f0f90da4ef26a50509 WHIRLPOOL 575b2117e997bfd45ad7b846e6022002e92a51601f3af9b16f828f74956b2aee408cdf246382fefb7493bd083a0ddbda7b86e2a62d003187a82926d5be9e4714
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
# See bug #559364 before getting clever with this.
|
||||
PYTHON_COMPAT=( python3_4 )
|
||||
|
||||
# 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.
|
||||
PYTHON_REQ_USE="ipv6"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python-based policy daemon for Postfix SPF verification"
|
||||
HOMEPAGE="https://launchpad.net/${PN}"
|
||||
SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-python/pyspf-2.0.9[${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
|
||||
}
|
||||
Reference in New Issue
Block a user