[gentoo-commits] repo/gentoo:master commit in: mail-filter/pypolicyd-spf/, mail-filter/spf-engine/, profiles/updates/

2020-05-26 Thread Michael Orlitzky
commit: 630c791092d66bf1a72c7cf097bbca140efc77f1
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Tue May 26 01:24:02 2020 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Tue May 26 13:31:17 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=630c7910

mail-filter/pypolicyd-spf: rename to mail-filter/spf-engine.

Perform the "git mv", add the profiles/updates entry, rename the
existing ebuild, and update metadata.xml.

Bug: https://bugs.gentoo.org/724526
Signed-off-by: Michael Orlitzky  gentoo.org>

 mail-filter/{pypolicyd-spf => spf-engine}/Manifest| 0
 mail-filter/{pypolicyd-spf => spf-engine}/metadata.xml| 4 ++--
 .../spf-engine-2.0.2-r1.ebuild}   | 0
 profiles/updates/2Q-2020  | 1 +
 4 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/mail-filter/pypolicyd-spf/Manifest 
b/mail-filter/spf-engine/Manifest
similarity index 100%
rename from mail-filter/pypolicyd-spf/Manifest
rename to mail-filter/spf-engine/Manifest

diff --git a/mail-filter/pypolicyd-spf/metadata.xml 
b/mail-filter/spf-engine/metadata.xml
similarity index 68%
rename from mail-filter/pypolicyd-spf/metadata.xml
rename to mail-filter/spf-engine/metadata.xml
index 9b1409156b5..9d7516779a0 100644
--- a/mail-filter/pypolicyd-spf/metadata.xml
+++ b/mail-filter/spf-engine/metadata.xml
@@ -5,7 +5,7 @@
 m...@gentoo.org
   
   
-pypolicyd-spf
-pypolicyd-spf
+spf-engine
+spf-engine
   
 

diff --git a/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2-r1.ebuild 
b/mail-filter/spf-engine/spf-engine-2.0.2-r1.ebuild
similarity index 100%
rename from mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2-r1.ebuild
rename to mail-filter/spf-engine/spf-engine-2.0.2-r1.ebuild

diff --git a/profiles/updates/2Q-2020 b/profiles/updates/2Q-2020
index 19c8da39550..5a3dd7ecaef 100644
--- a/profiles/updates/2Q-2020
+++ b/profiles/updates/2Q-2020
@@ -5,3 +5,4 @@ move games-puzzle/world-of-goo games-puzzle/world-of-goo-hb
 slotmove =dev-ruby/shoulda-matchers-4.3.0* 3 4
 move kde-misc/gmailfeed kde-misc/ultimate-gmail-feed
 move dev-vcs/cli dev-util/github-cli
+move mail-filter/pypolicyd-spf mail-filter/spf-engine



[gentoo-commits] repo/gentoo:master commit in: mail-filter/pypolicyd-spf/

2020-05-26 Thread Michael Orlitzky
commit: 4b66dd8777f8181257441d8c3f33ac3b8aeb3e43
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Tue May 26 01:11:10 2020 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Tue May 26 13:31:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4b66dd87

mail-filter/pypolicyd-spf: hard-code PN before a pkgmove.

This package was renamed to spf-engine. This commit hard-codes the
package name "pypolicyd-spf" in the existing stable ebuild so that it
survives the rename.

Bug: https://bugs.gentoo.org/724526
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Michael Orlitzky  gentoo.org>

 mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2-r1.ebuild | 9 +++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2-r1.ebuild 
b/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2-r1.ebuild
index aa46887f9be..da8cc8d6ff5 100644
--- a/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2-r1.ebuild
+++ b/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2-r1.ebuild
@@ -14,9 +14,12 @@ PYTHON_REQ_USE="ipv6"
 DISTUTILS_USE_SETUPTOOLS=no
 inherit distutils-r1
 
+OLD_PN="pypolicyd-spf"
+OLD_P="${OLD_PN}-${PV}"
+OLD_PF="${PN}-${PVR}"
 DESCRIPTION="Python-based policy daemon for Postfix SPF verification"
 HOMEPAGE="https://launchpad.net/pypolicyd-spf;
-SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz"
+SRC_URI="mirror://pypi/p/${OLD_PN}/${OLD_P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
@@ -28,13 +31,15 @@ DEPEND="dev-python/pyspf[${PYTHON_USEDEP}]"
 RDEPEND="${DEPEND}
dev-python/authres[${PYTHON_USEDEP}]"
 
+S="${WORKDIR}/${OLD_P}"
+
 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}"
+   local newconf="/usr/share/doc/${OLD_PF}/${oldconf}"
 
sed -i "1 s~ ${oldconf}~,\n#  ${newconf}~" policyd-spf.conf \
|| die 'failed to update commented config file path'



[gentoo-commits] repo/gentoo:master commit in: mail-filter/pypolicyd-spf/

2020-05-18 Thread Michael Orlitzky
commit: 86d8d03b76dd557bcaa6395c49d54a4eafbdc24e
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Tue May 19 00:34:41 2020 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Tue May 19 00:34:41 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86d8d03b

mail-filter/pypolicyd-spf: remove old "unused" version.

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Michael Orlitzky  gentoo.org>

 .../pypolicyd-spf/pypolicyd-spf-2.0.2.ebuild   | 42 --
 1 file changed, 42 deletions(-)

diff --git a/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2.ebuild 
b/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2.ebuild
deleted file mode 100644
index 19a17d76236..000
--- a/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_6 )
-
-# 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/pypolicyd-spf;
-SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-DEPEND="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
-}



[gentoo-commits] repo/gentoo:master commit in: mail-filter/pypolicyd-spf/

2020-05-18 Thread Agostino Sarubbo
commit: 82674ebdb1ca9c1953a51d76474ccaaf6cd011cb
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon May 18 21:12:03 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon May 18 21:12:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82674ebd

mail-filter/pypolicyd-spf: x86 stable wrt bug #722246

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2-r1.ebuild 
b/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2-r1.ebuild
index bbb5b872560..aa46887f9be 100644
--- a/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2-r1.ebuild
+++ b/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2-r1.ebuild
@@ -20,7 +20,7 @@ SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE=""
 
 DEPEND="dev-python/pyspf[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: mail-filter/pypolicyd-spf/

2020-05-18 Thread Agostino Sarubbo
commit: 90e31e1b9b7d5fd24d15b703ec5a4b530f81c881
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon May 18 15:07:48 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon May 18 15:07:48 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=90e31e1b

mail-filter/pypolicyd-spf: amd64 stable wrt bug #722246

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2-r1.ebuild 
b/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2-r1.ebuild
index bede125e92e..bbb5b872560 100644
--- a/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2-r1.ebuild
+++ b/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2-r1.ebuild
@@ -20,7 +20,7 @@ SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE=""
 
 DEPEND="dev-python/pyspf[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: mail-filter/pypolicyd-spf/

2020-04-19 Thread Michael Orlitzky
commit: d17a7b908eb21b413c87019ddd1749bce7737a69
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sun Apr 19 16:43:16 2020 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sun Apr 19 20:33:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d17a7b90

mail-filter/pypolicyd-spf: new revision with python-3.{7,8} support.

Nothing new here except the EAPI and PYTHON_COMPAT.

Closes: https://bugs.gentoo.org/718324
Package-Manager: Portage-2.3.89, Repoman-2.3.20
Signed-off-by: Michael Orlitzky  gentoo.org>

 .../pypolicyd-spf/pypolicyd-spf-2.0.2-r1.ebuild| 43 ++
 1 file changed, 43 insertions(+)

diff --git a/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2-r1.ebuild 
b/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2-r1.ebuild
new file mode 100644
index 000..bede125e92e
--- /dev/null
+++ b/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_6 python3_7 python3_8 )
+
+# 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"
+
+DISTUTILS_USE_SETUPTOOLS=no
+inherit distutils-r1
+
+DESCRIPTION="Python-based policy daemon for Postfix SPF verification"
+HOMEPAGE="https://launchpad.net/pypolicyd-spf;
+SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="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
+}



[gentoo-commits] repo/gentoo:master commit in: mail-filter/pypolicyd-spf/

2020-02-08 Thread David Seifert
commit: d97063a2f633a58e8c92a0da39d44182b3e7becd
Author: David Seifert  gentoo  org>
AuthorDate: Sat Feb  8 18:54:56 2020 +
Commit: David Seifert  gentoo  org>
CommitDate: Sat Feb  8 18:54:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d97063a2

mail-filter/pypolicyd-spf: [QA] Fix VariableInHomepage

Signed-off-by: David Seifert  gentoo.org>

 mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2.ebuild 
b/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2.ebuild
index f23806403dc..19a17d76236 100644
--- a/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2.ebuild
+++ b/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2.ebuild
@@ -14,7 +14,7 @@ PYTHON_REQ_USE="ipv6"
 inherit distutils-r1
 
 DESCRIPTION="Python-based policy daemon for Postfix SPF verification"
-HOMEPAGE="https://launchpad.net/${PN};
+HOMEPAGE="https://launchpad.net/pypolicyd-spf;
 SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"



[gentoo-commits] repo/gentoo:master commit in: mail-filter/pypolicyd-spf/

2019-03-03 Thread Michael Orlitzky
commit: b8ef593ad7b0d789e29cf85c9482700b56f98117
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sun Mar  3 15:29:13 2019 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sun Mar  3 15:29:29 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8ef593a

mail-filter/pypolicyd-spf: remove "unused" pypolicyd-spf-2.0.1.ebuild.

Signed-off-by: Michael Orlitzky  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 mail-filter/pypolicyd-spf/Manifest |  1 -
 .../pypolicyd-spf/pypolicyd-spf-2.0.1.ebuild   | 42 --
 2 files changed, 43 deletions(-)

diff --git a/mail-filter/pypolicyd-spf/Manifest 
b/mail-filter/pypolicyd-spf/Manifest
index dad8c334b26..a02a604de1f 100644
--- a/mail-filter/pypolicyd-spf/Manifest
+++ b/mail-filter/pypolicyd-spf/Manifest
@@ -1,2 +1 @@
-DIST pypolicyd-spf-2.0.1.tar.gz 38086 BLAKE2B 
70d13722000548eac9bb9a6ff80913e88b18227f1a90b864e4fc7749b8e0886e56fff6694d514ed0becb32ca129023cb9e66af3f33a4d4390c8c8c05affa1fb6
 SHA512 
85f51491ab1f44e197dbf9a15f9e723ba3aaf0472d9d1653595490d7211670a67cdca5699111ab5a29f9d919cd935ed58d8d70bd1312a4f0f90da4ef26a50509
 DIST pypolicyd-spf-2.0.2.tar.gz 38546 BLAKE2B 
691cd5db37592be0ef0cda41223280e764e83802e37563f4e6c08505731118199c03d27b0bf51cec0556aa946fc6c7465fe09d3c9100c8e2582a4d85ad828495
 SHA512 
adcc7b30c6922894f9407edd0637b02a138623f4480ec37635475396826b457c835b3ffb599d1985e306770fe5f72404552ed705bd957e63b5c54ca3d8991673

diff --git a/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.1.ebuild 
b/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.1.ebuild
deleted file mode 100644
index 51eea70ee7c..000
--- a/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.1.ebuild
+++ /dev/null
@@ -1,42 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_{4,5,6} )
-
-# 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
-}



[gentoo-commits] repo/gentoo:master commit in: mail-filter/pypolicyd-spf/

2019-03-02 Thread Mikle Kolyada
commit: 3cbb81a568ebf733963d3ff5c432e967c95fe9b9
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Mar  3 05:51:29 2019 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Mar  3 05:51:29 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cbb81a5

mail-filter/pypolicyd-spf: amd64 stable wrt bug #678718

Signed-off-by: Mikle Kolyada  gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2.ebuild 
b/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2.ebuild
index 8d1c4211862..f5bb05b2fbd 100644
--- a/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2.ebuild
+++ b/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2.ebuild
@@ -19,7 +19,7 @@ SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 x86"
+KEYWORDS="amd64 x86"
 IUSE=""
 
 DEPEND="dev-python/pyspf[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: mail-filter/pypolicyd-spf/

2019-02-28 Thread Thomas Deutschmann
commit: 6d52f4eb478559b92d51b24a8ad59def1077d892
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Fri Mar  1 01:10:04 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Fri Mar  1 01:13:33 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d52f4eb

mail-filter/pypolicyd-spf: x86 stable (bug #678718)

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

 mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2.ebuild 
b/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2.ebuild
index d5169e8a55a..8d1c4211862 100644
--- a/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2.ebuild
+++ b/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -19,7 +19,7 @@ SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 x86"
 IUSE=""
 
 DEPEND="dev-python/pyspf[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: mail-filter/pypolicyd-spf/

2017-12-26 Thread Michael Orlitzky
commit: c437552b7f8c54c506afa42346053a7d0debb547
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Tue Dec 26 13:48:55 2017 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Tue Dec 26 13:48:55 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c437552b

mail-filter/pypolicyd-spf: new version 2.0.2.

Package-Manager: Portage-2.3.13, Repoman-2.3.3

 mail-filter/pypolicyd-spf/Manifest |  1 +
 .../pypolicyd-spf/pypolicyd-spf-2.0.2.ebuild   | 42 ++
 2 files changed, 43 insertions(+)

diff --git a/mail-filter/pypolicyd-spf/Manifest 
b/mail-filter/pypolicyd-spf/Manifest
index aa6f1257b3a..dad8c334b26 100644
--- a/mail-filter/pypolicyd-spf/Manifest
+++ b/mail-filter/pypolicyd-spf/Manifest
@@ -1 +1,2 @@
 DIST pypolicyd-spf-2.0.1.tar.gz 38086 BLAKE2B 
70d13722000548eac9bb9a6ff80913e88b18227f1a90b864e4fc7749b8e0886e56fff6694d514ed0becb32ca129023cb9e66af3f33a4d4390c8c8c05affa1fb6
 SHA512 
85f51491ab1f44e197dbf9a15f9e723ba3aaf0472d9d1653595490d7211670a67cdca5699111ab5a29f9d919cd935ed58d8d70bd1312a4f0f90da4ef26a50509
+DIST pypolicyd-spf-2.0.2.tar.gz 38546 BLAKE2B 
691cd5db37592be0ef0cda41223280e764e83802e37563f4e6c08505731118199c03d27b0bf51cec0556aa946fc6c7465fe09d3c9100c8e2582a4d85ad828495
 SHA512 
adcc7b30c6922894f9407edd0637b02a138623f4480ec37635475396826b457c835b3ffb599d1985e306770fe5f72404552ed705bd957e63b5c54ca3d8991673

diff --git a/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2.ebuild 
b/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2.ebuild
new file mode 100644
index 000..d5169e8a55a
--- /dev/null
+++ b/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{4,5,6} )
+
+# 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[${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
+}



[gentoo-commits] repo/gentoo:master commit in: mail-filter/pypolicyd-spf/

2017-07-12 Thread Pacho Ramos
commit: 89318ca0c7c1085923f64f43cfa7cf098e9ac23b
Author: Pacho Ramos  gentoo  org>
AuthorDate: Wed Jul 12 14:20:22 2017 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Wed Jul 12 14:42:41 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=89318ca0

mail-filter/pypolicyd-spf: Support newer python

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.1.ebuild 
b/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.1.ebuild
index e4a9c39b049..51eea70ee7c 100644
--- a/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.1.ebuild
+++ b/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python3_4 )
+PYTHON_COMPAT=( python3_{4,5,6} )
 
 # The built-in ipaddress module handles the parsing of IP addresses. If
 # python is built without ipv6 support, then ipaddress can't parse ipv6



[gentoo-commits] repo/gentoo:master commit in: mail-filter/pypolicyd-spf/

2017-01-19 Thread Michael Orlitzky
commit: 324925a5bbceb4ca44d90e8fd3841ecc3ef53874
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Thu Jan 19 13:11:40 2017 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Thu Jan 19 13:16:10 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=324925a5

mail-filter/pypolicyd-spf: remove old 1.x version.

Package-Manager: portage-2.3.0

 mail-filter/pypolicyd-spf/Manifest |  1 -
 .../pypolicyd-spf/pypolicyd-spf-1.3.2-r1.ebuild| 44 --
 2 files changed, 45 deletions(-)

diff --git a/mail-filter/pypolicyd-spf/Manifest 
b/mail-filter/pypolicyd-spf/Manifest
index 6c95c1e..a43c67e 100644
--- a/mail-filter/pypolicyd-spf/Manifest
+++ b/mail-filter/pypolicyd-spf/Manifest
@@ -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

diff --git a/mail-filter/pypolicyd-spf/pypolicyd-spf-1.3.2-r1.ebuild 
b/mail-filter/pypolicyd-spf/pypolicyd-spf-1.3.2-r1.ebuild
deleted file mode 100644
index f31bfce..
--- a/mail-filter/pypolicyd-spf/pypolicyd-spf-1.3.2-r1.ebuild
+++ /dev/null
@@ -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
-}



[gentoo-commits] repo/gentoo:master commit in: mail-filter/pypolicyd-spf/

2017-01-19 Thread Agostino Sarubbo
commit: 8973531ff5f9fe80f1028e3003af79ef6141
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jan 19 10:59:06 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jan 19 10:59:06 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8973531f

mail-filter/pypolicyd-spf: x86 stable wrt bug #606474

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.1.ebuild 
b/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.1.ebuild
index 3c3482a..4e12274 100644
--- a/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.1.ebuild
+++ b/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.1.ebuild
@@ -20,7 +20,7 @@ SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE=""
 
 DEPEND=">=dev-python/pyspf-2.0.9[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: mail-filter/pypolicyd-spf/

2017-01-19 Thread Agostino Sarubbo
commit: 4a5f13d6ca62331f76c4d8aae96bb73d41d67c58
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Jan 19 10:37:35 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Jan 19 10:37:35 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4a5f13d6

mail-filter/pypolicyd-spf: amd64 stable wrt bug #606474

Package-Manager: portage-2.3.0
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.1.ebuild 
b/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.1.ebuild
index fb74bcf..3c3482a 100644
--- a/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.1.ebuild
+++ b/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -20,7 +20,7 @@ SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE=""
 
 DEPEND=">=dev-python/pyspf-2.0.9[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: mail-filter/pypolicyd-spf/

2016-12-14 Thread Michael Orlitzky
commit: 42dbd2ba87c152d32d61df0a0e69b62f1f453ae4
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Thu Dec 15 04:47:35 2016 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Thu Dec 15 05:04:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42dbd2ba

mail-filter/pypolicyd-spf: replace v2.0.0 with v2.0.1.

Package-Manager: portage-2.3.0

 mail-filter/pypolicyd-spf/Manifest  | 2 +-
 .../{pypolicyd-spf-2.0.0.ebuild => pypolicyd-spf-2.0.1.ebuild}  | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/pypolicyd-spf/Manifest 
b/mail-filter/pypolicyd-spf/Manifest
index ebba391..6c95c1e 100644
--- a/mail-filter/pypolicyd-spf/Manifest
+++ b/mail-filter/pypolicyd-spf/Manifest
@@ -1,2 +1,2 @@
 DIST pypolicyd-spf-1.3.2.tar.gz 32973 SHA256 
7174c46a26c9c35b0d66ddba821b02b0dc2df9d1f6bf0c9da71dcd60795b2966 SHA512 
e80b13a0cf9f8406592db5edcb9770051352b3f637d4d9d5bd96295710bf3728a8350c0697e5b430698b0d9d226c83c9decb67923ed5cdb3502ee15509715af4
 WHIRLPOOL 
91051b0702098b14d0e8281184219f7c96304b59b8a56b7088810af83383b18feb414b53eb259f9d13a37a108373633adeb4a7f866bbd54a480cb1ec287af6a6
-DIST pypolicyd-spf-2.0.0.tar.gz 37810 SHA256 
a91e13f1d40d5ab0b63875967d5950440ab387efeea41dad46cac39b24158838 SHA512 
76250192f07f06e223b99e6532ee62e35d656123400feab64e4dcec3219489cb85ef98328110b5892d55a78d016359016eac958f16bbbea7cff25e8d7f6f985c
 WHIRLPOOL 
4592510e4da07418750a43d46c2c1c724c9311498daf81cb9ef16ca0ad1ed7b48b35fe0378676facd90e6736b320915402e73a30cf042f2e5aca17972ab4fe52
+DIST pypolicyd-spf-2.0.1.tar.gz 38086 SHA256 
9124865c3434b40ecbe6e761d05039b670d403e04d2736f3ffbbc8788f47d127 SHA512 
85f51491ab1f44e197dbf9a15f9e723ba3aaf0472d9d1653595490d7211670a67cdca5699111ab5a29f9d919cd935ed58d8d70bd1312a4f0f90da4ef26a50509
 WHIRLPOOL 
575b2117e997bfd45ad7b846e6022002e92a51601f3af9b16f828f74956b2aee408cdf246382fefb7493bd083a0ddbda7b86e2a62d003187a82926d5be9e4714

diff --git a/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.0.ebuild 
b/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.1.ebuild
similarity index 100%
rename from mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.0.ebuild
rename to mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.1.ebuild



[gentoo-commits] repo/gentoo:master commit in: mail-filter/pypolicyd-spf/

2016-12-03 Thread Michael Orlitzky
commit: a647e6a9d096680b9f7aa80b8ef94bb411394e47
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Sat Dec  3 14:36:09 2016 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Sat Dec  3 14:36:09 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a647e6a9

mail-filter/pypolicyd-spf: new version 2.0.0.

Package-Manager: portage-2.3.0

 mail-filter/pypolicyd-spf/Manifest |  1 +
 .../pypolicyd-spf/pypolicyd-spf-2.0.0.ebuild   | 43 ++
 2 files changed, 44 insertions(+)

diff --git a/mail-filter/pypolicyd-spf/Manifest 
b/mail-filter/pypolicyd-spf/Manifest
index b5d8f01..ebba391 100644
--- a/mail-filter/pypolicyd-spf/Manifest
+++ b/mail-filter/pypolicyd-spf/Manifest
@@ -1 +1,2 @@
 DIST pypolicyd-spf-1.3.2.tar.gz 32973 SHA256 
7174c46a26c9c35b0d66ddba821b02b0dc2df9d1f6bf0c9da71dcd60795b2966 SHA512 
e80b13a0cf9f8406592db5edcb9770051352b3f637d4d9d5bd96295710bf3728a8350c0697e5b430698b0d9d226c83c9decb67923ed5cdb3502ee15509715af4
 WHIRLPOOL 
91051b0702098b14d0e8281184219f7c96304b59b8a56b7088810af83383b18feb414b53eb259f9d13a37a108373633adeb4a7f866bbd54a480cb1ec287af6a6
+DIST pypolicyd-spf-2.0.0.tar.gz 37810 SHA256 
a91e13f1d40d5ab0b63875967d5950440ab387efeea41dad46cac39b24158838 SHA512 
76250192f07f06e223b99e6532ee62e35d656123400feab64e4dcec3219489cb85ef98328110b5892d55a78d016359016eac958f16bbbea7cff25e8d7f6f985c
 WHIRLPOOL 
4592510e4da07418750a43d46c2c1c724c9311498daf81cb9ef16ca0ad1ed7b48b35fe0378676facd90e6736b320915402e73a30cf042f2e5aca17972ab4fe52

diff --git a/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.0.ebuild 
b/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.0.ebuild
new file mode 100644
index ..fb74bcf
--- /dev/null
+++ b/mail-filter/pypolicyd-spf/pypolicyd-spf-2.0.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+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
+}



[gentoo-commits] repo/gentoo:master commit in: mail-filter/pypolicyd-spf/

2016-08-08 Thread Michael Orlitzky
commit: bd9101cb9014d8ab7523407a3c0b5571992c5a7c
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Tue Aug  9 04:06:23 2016 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Tue Aug  9 04:06:23 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd9101cb

mail-filter/pypolicyd-spf: remove old v1.1 and v1.3.1.

Package-Manager: portage-2.2.28

 mail-filter/pypolicyd-spf/Manifest |  2 -
 mail-filter/pypolicyd-spf/pypolicyd-spf-1.1.ebuild | 25 -
 .../pypolicyd-spf/pypolicyd-spf-1.3.1.ebuild   | 59 --
 3 files changed, 86 deletions(-)

diff --git a/mail-filter/pypolicyd-spf/Manifest 
b/mail-filter/pypolicyd-spf/Manifest
index 3101a6a..b5d8f01 100644
--- a/mail-filter/pypolicyd-spf/Manifest
+++ b/mail-filter/pypolicyd-spf/Manifest
@@ -1,3 +1 @@
-DIST pypolicyd-spf-1.1.tar.gz 469687 SHA256 
93ca747e1e62d05a3e3fa54b9415f6c6da7fa40644e32507d0bb56980e31cc56 SHA512 
7968425ae5b966571b0787769eff484f4d779f02c8460f515b98549117fdf270de70861f61b8c3e7d9da2092e91c191055cd9a312303c50a2b4707e9dd92840e
 WHIRLPOOL 
cd47648c122a13e99c08dac9cfee5cbe12b5b4301dc389397ca824ef19ed976b02e7f17fb0faf8abe29184be3aeb73c7ab327a0e6b19d7f84434f20b3635
-DIST pypolicyd-spf-1.3.1.tar.gz 32093 SHA256 
5b575638e3d30db5583ed4e3c0902b9a6d90ba7e126a9d37b9bffe2e6b201808 SHA512 
3ae52b22ef3c4f801a523aa98b6c918b7afd76c5867e8cb431b643555e4191f85b1232d7ef431fbfbdd76cfc59bd021ce452b2f323ab0166ab68d1bf06cc1a10
 WHIRLPOOL 
ebd9997369510ead087c039ec505904fb58fd36eed3c9d38bc1602569b7c3b1e0d1648b69fbf6b1c83a84a7ec4de52f180fc30498cc2850fb53c836cec1e5900
 DIST pypolicyd-spf-1.3.2.tar.gz 32973 SHA256 
7174c46a26c9c35b0d66ddba821b02b0dc2df9d1f6bf0c9da71dcd60795b2966 SHA512 
e80b13a0cf9f8406592db5edcb9770051352b3f637d4d9d5bd96295710bf3728a8350c0697e5b430698b0d9d226c83c9decb67923ed5cdb3502ee15509715af4
 WHIRLPOOL 
91051b0702098b14d0e8281184219f7c96304b59b8a56b7088810af83383b18feb414b53eb259f9d13a37a108373633adeb4a7f866bbd54a480cb1ec287af6a6

diff --git a/mail-filter/pypolicyd-spf/pypolicyd-spf-1.1.ebuild 
b/mail-filter/pypolicyd-spf/pypolicyd-spf-1.1.ebuild
deleted file mode 100644
index 1aa44e3..000
--- a/mail-filter/pypolicyd-spf/pypolicyd-spf-1.1.ebuild
+++ /dev/null
@@ -1,25 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI="3"
-PYTHON_DEPEND="2"
-SUPPORT_PYTHON_ABIS="1"
-RESTRICT_PYTHON_ABIS="2.5 3.*"
-
-inherit distutils versionator
-
-DESCRIPTION="Python based policy daemon for Postfix SPF checking"
-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=""
-
-DEPEND=">=dev-python/pyspf-2.0.3"
-RDEPEND="${DEPEND}
-   dev-python/authres"
-
-PYTHON_MODNAME="policydspfsupp.py policydspfuser.py"

diff --git a/mail-filter/pypolicyd-spf/pypolicyd-spf-1.3.1.ebuild 
b/mail-filter/pypolicyd-spf/pypolicyd-spf-1.3.1.ebuild
deleted file mode 100644
index e2537d5..000
--- a/mail-filter/pypolicyd-spf/pypolicyd-spf-1.3.1.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# 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 https://bugs.launchpad.net/pypolicyd-spf/+bug/1229862
-#
-# The lower bound on pyspf is not strictly necessary, but some features
-# are silently disabled with older versions of pyspf.
-#
-DEPEND="$(python_gen_cond_dep \
-   '>=dev-python/ipaddr-2.1.10[${PYTHON_USEDEP}]' \
-   'python2*')
-   >=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 

[gentoo-commits] repo/gentoo:master commit in: mail-filter/pypolicyd-spf/

2015-09-25 Thread Agostino Sarubbo
commit: 330085b353cfa317b650499554091a91dd681cde
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Sep 25 14:29:23 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Sep 25 14:29:23 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=330085b3

mail-filter/pypolicyd-spf: x86 stable wrt bug #529492

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="x86"

 mail-filter/pypolicyd-spf/pypolicyd-spf-1.3.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/pypolicyd-spf/pypolicyd-spf-1.3.2-r1.ebuild 
b/mail-filter/pypolicyd-spf/pypolicyd-spf-1.3.2-r1.ebuild
index 6b19c9f..2bcaf39 100644
--- a/mail-filter/pypolicyd-spf/pypolicyd-spf-1.3.2-r1.ebuild
+++ b/mail-filter/pypolicyd-spf/pypolicyd-spf-1.3.2-r1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE=""
 
 DEPEND=">=dev-python/pyspf-2.0.9[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: mail-filter/pypolicyd-spf/

2015-09-24 Thread Agostino Sarubbo
commit: 1193c1dc3fd1280af52dfb991fe4543c8afb3e97
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Sep 24 14:00:40 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Sep 24 14:00:40 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1193c1dc

mail-filter/pypolicyd-spf: amd64 stable wrt bug #529492

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="amd64"

 mail-filter/pypolicyd-spf/pypolicyd-spf-1.3.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mail-filter/pypolicyd-spf/pypolicyd-spf-1.3.2-r1.ebuild 
b/mail-filter/pypolicyd-spf/pypolicyd-spf-1.3.2-r1.ebuild
index cf6af6a..6b19c9f 100644
--- a/mail-filter/pypolicyd-spf/pypolicyd-spf-1.3.2-r1.ebuild
+++ b/mail-filter/pypolicyd-spf/pypolicyd-spf-1.3.2-r1.ebuild
@@ -21,7 +21,7 @@ SRC_URI="mirror://pypi/p/${PN}/${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE=""
 
 DEPEND=">=dev-python/pyspf-2.0.9[${PYTHON_USEDEP}]"



[gentoo-commits] repo/gentoo:master commit in: mail-filter/pypolicyd-spf/

2015-09-15 Thread Michael Orlitzky
commit: 948a8a4aa89c00dd9f8dac44172d9b05284678c8
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Tue Sep 15 15:18:04 2015 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Tue Sep 15 15:18:23 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=948a8a4a

mail-filter/pypolicyd-spf: remove python2 support to avoid ipaddress conflict.

Current versions of pypolicyd-spf support both python2 and
python3. With python2, the dev-python/ipaddr library provides support
for IP address parsing. And with python3 (>= 3.3), the built-in
ipaddress module is used. In fact, this determination is made based on
the presence (or absence) of the ipaddress module.

So far this has been fine. But recently, dev-python/ipaddress was
introduced to backport the python3 ipaddress module to python2. Now,
when dev-python/ipaddress is detected, pypolicyd-spf (incorrectly)
assumes the python3 implementation. This is bug #559364 by Robert
Trace.

Upstream will be python3-only in the next release. They have suggested
that we drop support for python2, and that's what this revision
does. Since this can cause mail to be rejected or delayed, the new
revision replaces the original.

Bug: 559364

Package-Manager: portage-2.2.20.1

 ...-1.3.2.ebuild => pypolicyd-spf-1.3.2-r1.ebuild} | 27 +++---
 1 file changed, 8 insertions(+), 19 deletions(-)

diff --git a/mail-filter/pypolicyd-spf/pypolicyd-spf-1.3.2.ebuild 
b/mail-filter/pypolicyd-spf/pypolicyd-spf-1.3.2-r1.ebuild
similarity index 53%
rename from mail-filter/pypolicyd-spf/pypolicyd-spf-1.3.2.ebuild
rename to mail-filter/pypolicyd-spf/pypolicyd-spf-1.3.2-r1.ebuild
index 0800461..cf6af6a 100644
--- a/mail-filter/pypolicyd-spf/pypolicyd-spf-1.3.2.ebuild
+++ b/mail-filter/pypolicyd-spf/pypolicyd-spf-1.3.2-r1.ebuild
@@ -4,16 +4,13 @@
 
 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."
+# See bug #559364 before getting clever with this.
+PYTHON_COMPAT=( python{3_3,3_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
@@ -27,15 +24,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-# ipaddr is only needed with 

[gentoo-commits] repo/gentoo:master commit in: mail-filter/pypolicyd-spf/

2015-09-15 Thread Michael Orlitzky
commit: 9e9ece1e48d1aa5987d6b791c6980744be329173
Author: Michael Orlitzky  gentoo  org>
AuthorDate: Tue Sep 15 14:11:27 2015 +
Commit: Michael Orlitzky  gentoo  org>
CommitDate: Tue Sep 15 14:12:16 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e9ece1e

mail-filter/pypolicyd-spf: remove older unstable versions.

Package-Manager: portage-2.2.20.1

 mail-filter/pypolicyd-spf/Manifest |  2 -
 .../pypolicyd-spf/pypolicyd-spf-1.1.2.ebuild   | 22 -
 .../pypolicyd-spf/pypolicyd-spf-1.2-r1.ebuild  | 56 --
 3 files changed, 80 deletions(-)

diff --git a/mail-filter/pypolicyd-spf/Manifest 
b/mail-filter/pypolicyd-spf/Manifest
index 70f65c1..3101a6a 100644
--- a/mail-filter/pypolicyd-spf/Manifest
+++ b/mail-filter/pypolicyd-spf/Manifest
@@ -1,5 +1,3 @@
-DIST pypolicyd-spf-1.1.2.tar.gz 30813 SHA256 
f8999a9febc5ccb4a66f9961e4ec2d8f81b407bdc3ac1c84563cd5085429cdea SHA512 
17321c6df59620a1fd49a67564d3ecf2156027bbeee9b0f532a3d5f7bfadb060ffc61556b2126d98ea285f80cb552239636e2f461af6256c4568fb8696fec951
 WHIRLPOOL 
a7a02de368037ba9a15520cbdfcf2e2e42c9b9016e3f7d6d83c93eaa6584af147b84acfa3f5a659238dc49057052c8189c20e19ba760b07677fc25cef7fc9ff2
 DIST pypolicyd-spf-1.1.tar.gz 469687 SHA256 
93ca747e1e62d05a3e3fa54b9415f6c6da7fa40644e32507d0bb56980e31cc56 SHA512 
7968425ae5b966571b0787769eff484f4d779f02c8460f515b98549117fdf270de70861f61b8c3e7d9da2092e91c191055cd9a312303c50a2b4707e9dd92840e
 WHIRLPOOL 
cd47648c122a13e99c08dac9cfee5cbe12b5b4301dc389397ca824ef19ed976b02e7f17fb0faf8abe29184be3aeb73c7ab327a0e6b19d7f84434f20b3635
-DIST pypolicyd-spf-1.2.tar.gz 30783 SHA256 
e1a94c79ad91cfea17b9c8b19b035536f06d75ff9ee2e8478191e7c27fe69f74 SHA512 
266dc129f0d0bf59b809d3ec6f47369c73d6c5287b1505f0762a9e92ab9dbc3b6afc14ff59d8298012dc4c8b2e7c05d85bab227e71592bc0ee47b0a88cf4df45
 WHIRLPOOL 
8817c0357aa6850010f144d66408048edf569977eb65f733bedbc3f996273a1d636948ce86ec38cf4b81df66d5546acc2d8dced0185ec93f469d919242405e8e
 DIST pypolicyd-spf-1.3.1.tar.gz 32093 SHA256 
5b575638e3d30db5583ed4e3c0902b9a6d90ba7e126a9d37b9bffe2e6b201808 SHA512 
3ae52b22ef3c4f801a523aa98b6c918b7afd76c5867e8cb431b643555e4191f85b1232d7ef431fbfbdd76cfc59bd021ce452b2f323ab0166ab68d1bf06cc1a10
 WHIRLPOOL 
ebd9997369510ead087c039ec505904fb58fd36eed3c9d38bc1602569b7c3b1e0d1648b69fbf6b1c83a84a7ec4de52f180fc30498cc2850fb53c836cec1e5900
 DIST pypolicyd-spf-1.3.2.tar.gz 32973 SHA256 
7174c46a26c9c35b0d66ddba821b02b0dc2df9d1f6bf0c9da71dcd60795b2966 SHA512 
e80b13a0cf9f8406592db5edcb9770051352b3f637d4d9d5bd96295710bf3728a8350c0697e5b430698b0d9d226c83c9decb67923ed5cdb3502ee15509715af4
 WHIRLPOOL 
91051b0702098b14d0e8281184219f7c96304b59b8a56b7088810af83383b18feb414b53eb259f9d13a37a108373633adeb4a7f866bbd54a480cb1ec287af6a6

diff --git a/mail-filter/pypolicyd-spf/pypolicyd-spf-1.1.2.ebuild 
b/mail-filter/pypolicyd-spf/pypolicyd-spf-1.1.2.ebuild
deleted file mode 100644
index 99182e4..000
--- a/mail-filter/pypolicyd-spf/pypolicyd-spf-1.1.2.ebuild
+++ /dev/null
@@ -1,22 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-PYTHON_COMPAT=( python2_7 )
-
-inherit distutils-r1 versionator
-
-DESCRIPTION="Python based policy daemon for Postfix SPF checking"
-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=""
-
-DEPEND="dev-python/pyspf[${PYTHON_USEDEP}]"
-RDEPEND="${DEPEND}
-   dev-python/authres"

diff --git a/mail-filter/pypolicyd-spf/pypolicyd-spf-1.2-r1.ebuild 
b/mail-filter/pypolicyd-spf/pypolicyd-spf-1.2-r1.ebuild
deleted file mode 100644
index 8110818..000
--- a/mail-filter/pypolicyd-spf/pypolicyd-spf-1.2-r1.ebuild
+++ /dev/null
@@ -1,56 +0,0 @@
-# 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 https://bugs.launchpad.net/pypolicyd-spf/+bug/1229862
-#
-DEPEND="$(python_gen_cond_dep 

[gentoo-commits] repo/gentoo:master commit in: mail-filter/pypolicyd-spf/

2015-08-23 Thread Michael Orlitzky
commit: 86c0ba4ada7933bb88c60aa74cdef42e1a03125a
Author: Michael Orlitzky mjo AT gentoo DOT org
AuthorDate: Mon Aug 24 01:44:46 2015 +
Commit: Michael Orlitzky mjo AT gentoo DOT org
CommitDate: Mon Aug 24 01:55:13 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86c0ba4a

mail-filter/pypolicyd-spf: version bump to v1.3.2.

Standard version bump. In the process, SRC_URI was changed to use
pypi which is mirrored (and allows us to drop versionator.eclass).

Package-Manager: portage-2.2.20.1

 mail-filter/pypolicyd-spf/Manifest |  1 +
 .../pypolicyd-spf/pypolicyd-spf-1.3.2.ebuild   | 55 ++
 2 files changed, 56 insertions(+)

diff --git a/mail-filter/pypolicyd-spf/Manifest 
b/mail-filter/pypolicyd-spf/Manifest
index e13c38e..70f65c1 100644
--- a/mail-filter/pypolicyd-spf/Manifest
+++ b/mail-filter/pypolicyd-spf/Manifest
@@ -2,3 +2,4 @@ DIST pypolicyd-spf-1.1.2.tar.gz 30813 SHA256 
f8999a9febc5ccb4a66f9961e4ec2d8f81b
 DIST pypolicyd-spf-1.1.tar.gz 469687 SHA256 
93ca747e1e62d05a3e3fa54b9415f6c6da7fa40644e32507d0bb56980e31cc56 SHA512 
7968425ae5b966571b0787769eff484f4d779f02c8460f515b98549117fdf270de70861f61b8c3e7d9da2092e91c191055cd9a312303c50a2b4707e9dd92840e
 WHIRLPOOL 
cd47648c122a13e99c08dac9cfee5cbe12b5b4301dc389397ca824ef19ed976b02e7f17fb0faf8abe29184be3aeb73c7ab327a0e6b19d7f84434f20b3635
 DIST pypolicyd-spf-1.2.tar.gz 30783 SHA256 
e1a94c79ad91cfea17b9c8b19b035536f06d75ff9ee2e8478191e7c27fe69f74 SHA512 
266dc129f0d0bf59b809d3ec6f47369c73d6c5287b1505f0762a9e92ab9dbc3b6afc14ff59d8298012dc4c8b2e7c05d85bab227e71592bc0ee47b0a88cf4df45
 WHIRLPOOL 
8817c0357aa6850010f144d66408048edf569977eb65f733bedbc3f996273a1d636948ce86ec38cf4b81df66d5546acc2d8dced0185ec93f469d919242405e8e
 DIST pypolicyd-spf-1.3.1.tar.gz 32093 SHA256 
5b575638e3d30db5583ed4e3c0902b9a6d90ba7e126a9d37b9bffe2e6b201808 SHA512 
3ae52b22ef3c4f801a523aa98b6c918b7afd76c5867e8cb431b643555e4191f85b1232d7ef431fbfbdd76cfc59bd021ce452b2f323ab0166ab68d1bf06cc1a10
 WHIRLPOOL 
ebd9997369510ead087c039ec505904fb58fd36eed3c9d38bc1602569b7c3b1e0d1648b69fbf6b1c83a84a7ec4de52f180fc30498cc2850fb53c836cec1e5900
+DIST pypolicyd-spf-1.3.2.tar.gz 32973 SHA256 
7174c46a26c9c35b0d66ddba821b02b0dc2df9d1f6bf0c9da71dcd60795b2966 SHA512 
e80b13a0cf9f8406592db5edcb9770051352b3f637d4d9d5bd96295710bf3728a8350c0697e5b430698b0d9d226c83c9decb67923ed5cdb3502ee15509715af4
 WHIRLPOOL 
91051b0702098b14d0e8281184219f7c96304b59b8a56b7088810af83383b18feb414b53eb259f9d13a37a108373633adeb4a7f866bbd54a480cb1ec287af6a6

diff --git a/mail-filter/pypolicyd-spf/pypolicyd-spf-1.3.2.ebuild 
b/mail-filter/pypolicyd-spf/pypolicyd-spf-1.3.2.ebuild
new file mode 100644
index 000..0800461
--- /dev/null
+++ b/mail-filter/pypolicyd-spf/pypolicyd-spf-1.3.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2015 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
+
+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=
+
+# ipaddr is only needed with python-3.3.
+#
+# The lower bound on pyspf is not strictly necessary, but some features
+# are silently disabled with older versions of pyspf.
+#
+DEPEND=$(python_gen_cond_dep \
+   '=dev-python/ipaddr-2.1.10[${PYTHON_USEDEP}]' \
+   'python2*')
+   =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
+}