Package Details: python-pyspf 2.0.14-2

Git Clone URL: https://aur.archlinux.org/python-pyspf.git (read-only, click to copy)
Package Base: python-pyspf
Description: Python implementation of the Sender Policy Framework (SPF) protocol
Upstream URL: https://pypi.python.org/pypi/pyspf
Licenses: PSF
Submitter: ras0ir
Maintainer: qft
Last Packager: qft
Votes: 11
Popularity: 0.000031
First Submitted: 2009-04-21 17:45 (UTC)
Last Updated: 2020-12-04 17:12 (UTC)

Latest Comments

corruption2013 commented on 2019-12-14 02:27 (UTC) (edited on 2019-12-14 02:34 (UTC) by corruption2013)

This package is broken! Because of the issue described here: https://github.com/sdgathman/pyspf/issues/17#issuecomment-544478766

It only occurs with some mail providers....

Please fix it.

My solution was to downgrade to 2.0.12 for now...

pezz commented on 2019-11-25 10:38 (UTC)

This broke for me, changing the line as per this fixed it:

https://github.com/sdgathman/pyspf/issues/17#issuecomment-544478766

crt commented on 2018-08-08 01:33 (UTC)

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

https://bbs.archlinux.org/viewtopic.php?pid=1801271

crt commented on 2018-08-07 01:01 (UTC) (edited on 2018-08-07 01:03 (UTC) by crt)

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 (UTC)

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 (UTC)

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 pyspf@openspf.org 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 (UTC)

@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 (UTC)

@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 (UTC)

/usr/lib/python3.4/site-packages/spf.py lines 845 and 1941

fauno commented on 2015-08-06 16:27 (UTC)

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

richli commented on 2014-06-07 20:28 (UTC)

Here's a PKGBUILD for 2.0.9, and follows current convention to use a package() function: https://gist.github.com/richli/b063b025ceb807e36ba0

Zeth commented on 2013-11-20 14:07 (UTC)

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> pkgname=python-pyspf -pkgver=2.0.7 +pkgver=2.0.8 pkgrel=1 pkgdesc="Python implementation of the Sender Policy Framework (SPF) protocol" arch=('i686' 'x86_64') @@ -12,7 +12,7 @@ provides=('pyspf') replaces=('pyspf') source=(http://pypi.python.org/packages/source/p/pyspf/pyspf-$pkgver.tar.gz) -md5sums=(9afe006c84c485f860d9efaa628e96ee) +md5sums=(8ef1a5714939d6df5ab40006ac8930ac) build() { cd "$srcdir/pyspf-$pkgver"

commented on 2012-04-07 02:59 (UTC)

Here is a PKGBUILD patch for version 2.0.7: # Contributor: Samed Beyribey <ras0ir AT eventualis DOT org> pkgname=python-pyspf -pkgver=2.0.5 +pkgver=2.0.7 pkgrel=1 pkgdesc="Python implementation of the Sender Policy Framework (SPF) protocol" arch=('i686' 'x86_64') @@ -12,8 +11,8 @@ conflicts=('pyspf') provides=('pyspf') replaces=('pyspf') -source=(http://downloads.sourceforge.net/pymilter/pyspf-$pkgver.tar.gz) -md5sums=(7e3f53362e3ad52ec8a496445085a34f) +source=("http://pypi.python.org/packages/source/p/pyspf/pyspf-${pkgver}.tar.gz") +md5sums=('9afe006c84c485f860d9efaa628e96ee') build() { cd "$srcdir/pyspf-$pkgver"

fsa commented on 2010-10-28 14:18 (UTC)

I have updated this package to work after the Python rebuild, get it here: https://aur.archlinux.org/packages.php?ID=42274