Package Details: python-pyspf 2.0.12-1

Git Clone URL: (read-only)
Package Base: python-pyspf
Description: Python implementation of the Sender Policy Framework (SPF) protocol
Upstream URL:
Licenses: PSF
Submitter: ras0ir
Maintainer: qft
Last Packager: richli
Votes: 8
Popularity: 0.000046
First Submitted: 2009-04-21 17:45
Last Updated: 2016-12-14 05:19

Dependencies (3)

Sources (1)

Latest Comments

1 2 Next › Last »

crt commented on 2018-08-08 01:33

FWIW, I had to manually specify the python3.7 binary otherwise python-pyspf kept installing to /usr/lib/python3.6 unexpectedly.

crt commented on 2018-08-07 01:01

Today I upgraded python (3.6.6-1 -> 3.7.0-3) and other packages that depend on PyDNS are failing because python cannot import 'spf'.

$ /usr/bin/policyd-spf
Traceback (most recent call last):
  File "/usr/bin/policyd-spf", line 39, in <module>
    import spf
ModuleNotFoundError: No module named 'spf'
Python 3.7.0 (default, Jul 15 2018, 10:44:58)
[GCC 8.1.1 20180531] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import spf
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'spf

richli commented on 2015-09-04 19:20

My email bounced (funny how an email-oriented package does not have the maintainers' email address working), but upstream released a fix, so now 2.0.12 is available.

richli commented on 2015-08-10 21:25

Although version 2.0.12 is out, it is completely broken due to using tab-indentation for a few lines. Therefore the script will not run in Python 3. The indentation is ambiguous, so that I cannot correct it myself. I sent an email to on 2015-08-10 to notify them of the issue.

Until upstream fixes the release, I've downgraded the package back to 2.0.11.

richli commented on 2015-08-10 20:52

@fauno: oh, I was wrong, it's not a warning, it's a full-blown error. That's pretty egregious for upstream to release this. I'll check into it more.

richli commented on 2015-08-06 17:55

@fauno: yeah, I noticed that too, but it just looks like a warning. Upstream should fix this, but a one-liner sed command would fix it too. When I get some time later, I'll try to fix it. Or if you figure it out and post it here, I can update the package sooner. :)

fauno commented on 2015-08-06 16:27


lines 845 and 1941

fauno commented on 2015-08-06 16:27

there's a file with mixed tabs and spaces and python complains until you fix them

richli commented on 2014-06-07 20:28

Here's a PKGBUILD for 2.0.9, and follows current convention to use a package() function:

Zeth commented on 2013-11-20 14:07

diff for 2.0.8 to work with latest python-postfix-policyd-spf 1.2-1

--- PKGBUILD 2012-10-27 18:55:28.000000000 +0200
+++ PKGBUILD208 2013-11-20 15:00:03.623347243 +0100
@@ -1,6 +1,6 @@
# Contributor: Samed Beyribey <ras0ir AT eventualis DOT org>
pkgdesc="Python implementation of the Sender Policy Framework (SPF) protocol"
arch=('i686' 'x86_64')
@@ -12,7 +12,7 @@

build() {
cd "$srcdir/pyspf-$pkgver"