mail/py-pyspf: Add lifetime argument back - Fix 2920ddff74980fdebe12c0ff4d48b067c2e5ebe9 - Bump PORTREVISION for package change PR: 2823884fbf489f56
Port details
mail/py-pyspf 2.0.14_3
SPF (Sender Policy Framework) implemented in Python
Port info
- Maintainer
- sunpoet@FreeBSD.org
- Packages
- latest: 2.0.14_3
- Upstream
- up to date
- Last update
- to 2.0.14_3 · 4fbf489f56
- Quarterly
- 2026Q4: 2.0.14_3
- Formerly
- mail/py-spf until 2015-12-29
- WWW
- https://github.com/sdgathman/pyspf
- Links
- cgit · VuXML
Install
- Package
# pkg install py312-pyspfinstalls 2.0.14_3 fromlatest; fromquarterly(2026Q4) 2.0.14_3- Port
# cd /usr/ports/mail/py-pyspf && make install clean- Size
- 51 KiB download · 257 KiB installed
- Depends on
- dns/py-dnspython 2.9.0,1, lang/python312 3.12.15, mail/py-authres 1.2.0_1
- License
- PSFL
Packages by version and architecture
latest
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 16 | 2.0.14_3 | 2.0.14_3 | – |
| FreeBSD 15 | 2.0.14_3 | 2.0.14_3 | – |
| FreeBSD 14 | 2.0.14_3 | 2.0.14_3 | 2.0.14_3 |
quarterly (2026Q4)
| FreeBSD version | amd64 | aarch64 | i386 |
|---|---|---|---|
| FreeBSD 15 | 2.0.14_3 | 2.0.14_3 | – |
| FreeBSD 14 | 2.0.14_3 | 2.0.14_3 | 2.0.14_3 |
version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.
Unaddressed and VuXML only (0)
No unaddressed CVE and nothing reported by
pkg audit for the packaged version 2.0.14_3.Fixed (0)
No VuXML entries for this package.
Problem reports (1) · open in Bugzilla, most recently changed first
| PR | Summary | Status | Changed |
|---|---|---|---|
| 290315 | maintainer-feedback? mail/py-pyspf broken with openssl32+ patch provided, tested to OpenSSL 3.0.16 | New | 2025-10-17 |
Commits (54)
devel/py-pyyaml: Move devel/py-yaml to devel/py-pyyaml - Bump PORTREVISION of dependent ports for dependency change1a80ec7c22
mail/py-pyspf: Convert to USE_PYTHON=pep517 - Bump PORTREVISION for package change6f77d1a0f3
mail/py-pyspf: Fix runtime on IPv6
- Bump PORTREVISION for package change
% spf.py 2610:1c1:1:606c::50:15 FreeBSD.org localhost
/usr/local/bin/spf.py:131: DeprecationWarning: please use dns.resolver.resolve() instead
answers = dns.resolver.query(name, qtype, lifetime=timeout)
result: ('softfail', 250, 'domain owner discourages use of this host') ~all
PR: 268030
Submitted by: <takefu@airport.fm>2920ddff74all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>3d9a815d9cmail/py-pyspf: Update version requirement of RUN_DEPENDS7da5a662d7
*/*: rename CHEESESHOP to PYPI in MASTER_SITES PR: 267994 Differential revision: D37518 Approved by: bapt77d68471ad
Remove WWW entries moved into port Makefiles Commit b7f05445c00f has added WWW entries to port Makefiles based on WWW: lines in pkg-descr files. This commit removes the WWW: lines of moved-over URLs from these pkg-descr files. Approved by: portmgr (tcberner)fb16dfecae
Add WWW entries to port Makefiles It has been common practice to have one or more URLs at the end of the ports' pkg-descr files, one per line and prefixed with "WWW:". These URLs should point at a project website or other relevant resources. Access to these URLs required processing of the pkg-descr files, and they have often become stale over time. If more than one such URL was present in a pkg-descr file, only the first one was tarnsfered into the port INDEX, but for many ports only the last line did contain the port specific URL to further information. There have been several proposals to make a project URL available as a macro in the ports' Makefiles, over time. This commit implements such a proposal and moves one of the WWW: entries of each pkg-descr file into the respective port's Makefile. A heuristic attempts to identify the most relevant URL in case there is more than one WWW: entry in some pkg-descr file. URLs that are not moved into the Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr files in order to preserve them. There are 1256 ports that had no WWW: entries in pkg-descr files. These ports will not be touched in this commit. The portlint port has been adjusted to expect a WWW entry in each port Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as deprecated. Approved by: portmgr (tcberner)b7f05445c0
mail: remove 'Created by' lines A big Thank You to the original contributors of these ports: * <ashish@FreeBSD.org> * Aaron Dalton <aaron@FreeBSD.org> * Adam David <adam@FreeBSD.org> * Adam McDougall <mcdouga9@egr.msu.edu> * Adam Weinberger <adamw@FreeBSD.org> * Ade Lovett <ade@FreeBSD.org> * Akinori MUSHA aka knu <knu@idaemons.org> * Alex Deiter <tiamat@komi.mts.ru> * Alex Dupre <ale@FreeBSD.org> * Alex Dupre <sysadmin@alexdupre.com> * Alex Perel <veers@disturbed.net> * Alexander Kriventsov <avk@vl.ru> * Alexander Logvinov <info@logvinov.com> * Alexander Moisseev <moiseev@mezonplus.ru> * Alexander Wittig <alexander@wittig.name> * Alexander Zhuravlev <zaa@zaa.pp.ru> * Alexandre Biancalana <ale@biancalanas.net> * Alexey V. Degtyarev * Alexey V. Degtyarev <alexey@renatasystems.org> * Ali Mashtizadeh <ali@mashtizadeh.org> * Anders Nordby <anders@FreeBSD.org> * Anders Nordby <anders@fix.no> * Andrea Venturoli <freebsd@netfence.it> * Andrew J. Caines <A.J.Caines@halplant.com> * Andrew Pantyukhin <infofarmer@FreeBSD.org> * Andrew Stevenson <andrew@ugh.net.au> * Andrey Slusar <anray@FreeBSD.org> * Andrey V. Pevnev <andrey@mgul.ac.ru> * Andrey Zakhvatov * Andy Gilligan * Anthony Kim * Anton Berezin <tobez@FreeBSD.org> * Anton Berezin <tobez@tobez.org> * Anton Karpov <toxa@toxahost.ru> * Anton Lysenok <bart@tapolsky.net.ua> * Anton Yuzhaninov <citrin@rambler-co.ru> * Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>) * Ashish SHUKLA <ashish@FreeBSD.org> * Attila Nagy <bra@fsn.hu> * Autrijus Tang <autrijus@autrijus.org> * Axel Steiner <ast@treibsand.com> * Ben Smithurst <ben@FreeBSD.org> * Bernard Spil <brnrd@FreeBSD.org> * Bernard Spil <brnrd@freebsd.org> * Bill Brinzer <bill.brinzer@gmail.com> * Cheng-Lung Sung <clsung@FreeBSD.org> * Cheng-Lung Sung <clsung@dragon2.net> * Chifeng QU <chifeng@gmail.com> * Chris D. Faulhaber <jedgar@fxp.org> * Chris Piazza <cpiazza@FreeBSD.org> * Christer Edwards <christer.edwards@gmail.com> * Christian Laursen <xi@borderworlds.dk> * Christopher Elkins <chrise@scardini.com> * Clement Laforet <sheepkiller@cultdeadsheep.org> * Craig Leres <leres@FreeBSD.org> * Cyril Guibourg * CyrilM <cyrilm@tower.pp.ru> * Dan Langille <dvl@FreeBSD.org> * Daniel Roethlisberger <daniel@roe.ch> * Dario Freni <saturnero@gufi.org> * Darren Pilgrim <ports.maintainer@evilphi.com> * DarwinSurvivor <darwinsurvivor@gmail.com> * David Bushong <david+ports@bushong.net> * David O'Brien (obrien@NUXI.com) * David Siebörger <drs@rucus.ru.ac.za> * Dean Hollister <dean@odyssey.apana.org.au> * Dmitry Liakh <dliakh@ukr.net> * Dmitry Sivachenko <demon@FreeBSD.org> * Dominic Marks <dom@wirespeed.org.uk> * Eivind Eklund <eivind@FreeBSD.org> * Emanuel Haupt <ehaupt@FreeBSD.org> * Emanuel Haupt <ehaupt@critical.ch> * Emmanuel Vadot <manu@FreeBSD.org> * Eric Freeman <freebsdports@chillibear.com> * Erwin Lansing <erwin@FreeBSD.org> * Eugene M. Kim <ab@astralblue.net> * Fukang Chen <loader@FreeBSD.org> * Gea-Suan Lin (gslin@ccca.nctu.edu.tw) * Gea-Suan Lin <gslin@gslin.org> * George Reid <greid@ukug.uk.freebsd.org> * Gerhard Gonter <g.gonter@ieee.org> * Gerrit Beine <gerrit.beine@gmx.de> * Giel van Schijndel <me@mortis.eu> * Glen Barber <gjb@FreeBSD.org> * Glenn Johnson <gljohns@bellsouth.net> * Gregory Sutter <gsutter@zer0.org> * Gustau Perez <gustau.perez@gmail.com> * Guy Antony Halse <guy@rucus.ru.za.za> * Hajimu UMEMOTO <ume@FreeBSD.org> * Harry Newton * Hirohisa Yamaguchi <umq@ueo.co.jp> * Hsin-Han You <hhyou@cs.nctu.edu.tw> * Ion-Mihai "IOnut" Tetcu <itetcu@FreeBSD.org> * Issei Suzuki <issei@jp.FreeBSD.org> * J.R. Oldroyd <fbsd@opal.com> * Jaap Akkerhuis <jaap@NLnetLabs.nl> * James FitzGibbon <jfitz@FreeBSD.org> * James Raftery <james@now.ie> * Jan-Peter Koopmann <j.koopmann@seceidos.de> * Janne Snabb <snabb@epipe.com> * Jean Milanez Melo <jmelo@FreeBSD.org> * Jean-Baptiste Quenot <jb.quenot@caraldi.com> * Jeremy Norris <ishmael27@home.com> * Jim Mock <jim@FreeBSD.org> * Jin-Shan Tseng <tjs@cdpa.nsysu.edu.tw> * Joe Marcus Clarke <marcus@FreeBSD.org> * Johann Visagie <wjv@FreeBSD.org> * Johannes Meixner <johannes@perceivon.net> * John Oxley <john@yoafrica.com> * John Prather * Josh Gilliam <josh@quick.net> * Jun-ichiro Hagino <itojun@itojun.org> * Justin Stanford <jus@security.za.net> * KIMURA Yasuhiro <yasu@utahime.org> * Kay Abendroth <kay.abendroth@raxion.net> * Keith Gaughan <k@stereochro.me> * Kelly Yancey <kbyanc@FreeBSD.org> * Kevin Golding <ports@caomhin.org> * Kimura Fuyuki <fuyuki@mj.0038.net> * Kirill Ponomarew <ponomarew@oberon.net> * Kiriyama Kazuhiko <kiri@kiri.toba-cmt.ac.jp> * Konstantinos Konstantinidis <kkonstan@daemon.gr> * Koop Mast <kwm@FreeBSD.org> * Krzysztof Stryjek <ports@bsdserwis.com> * Larry Rosenman <ler@FreeBSD.org> * Lars Koeller <Lars_Koeller@odie.physik2.uni-rostock.de> * Lars Thegler <lars@thegler.dk> * Lars Thegler <lth@FreeBSD.org> * Lasse L. Johnsen (lasse@freebsdcluster.org) * Lefteris Chatzibarbas <lefcha@hellug.gr> * Lukasz Wasikowski <lukasz@wasikowski.net> * MANTANI Nobutaka <nobutaka@nobutaka.com> * Marcelo Araujo <araujobsd@gmail.com> * Marco Broeder <marco.broeder@posteo.eu> * Marcus Alves Grando <mnag@FreeBSD.org> * Marijn Meijles <marijn@stack.nl> * Mario S F Ferreira <lioux@FreeBSD.org> * Mario S F Ferreira <lioux@linf.unb.br> * Mario S F Ferreira <lioux@linf.unb.br> # Created by Matthias Andree * Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org> * Mark Felder <feld@FreeBSD.org> * Mark Starovoytov <mark_sf@kikg.ifmo.ru> * Martin Blapp * Martin Matuska <mm@FreeBSD.org> * Martin Wilke (miwi@FreeBSD.org) * Martin Wilke <miwi@FreeBSD.org> * Martti Kuparinen <martti.kuparinen@ericsson.com> * Masafumi NAKANE <max@FreeBSD.org> * Masafumi Otsune <info@otsune.com> * Masaki TAGAWA <masaki@club.kyutech.ac.jp> * Matt Emmerton <matt@gsicomp.on.ca> * Matthew Luckie <mjl@luckie.org.nz> * Matthew N. Dodd <mdodd@FreeBSD.org> * Matthew Seaman * Matthew Seaman <matthew@FreeBSD.org> * Matthias Andree <mandree@FreeBSD.org> * Matthias Andree <matthias.andree@gmx.de> * Matthias Fechner <mfechner@FreeBSD.org> * Max Laier <max@love2party.net> * Maxim Sobolev <sobomax@FreeBSD.org> * Maxim Tulyuk <mt@primats.org.ua> * Meno Abels <meno.abels@adviser.com> * Michael L. Hostbaek (mich@freebsdcluster.org) * Michael Ranner <michael@ranner.eu> * Miguel Mendez <flynn@energyhq.es.eu.org> * Mij <mij@bitchx.it> * Mikhail T. (m.tsatsenko@gmail.com) * Mikhail Teterin * Miroslav Lachman * Mohammad S. Babaei <info@babaei.net> * Murilo Opsfelder <mopsfelder@gmail.com> * Nagy, Attila <bra@fsn.hu> * Nate Underwood <natey@natey.com> * Neil Blakey-Milner * Neil Blakey-Milner <nbm@FreeBSD.org> * Neil Blakey-Milner <nbm@rucus.ru.ac.za> * Neil Darlow <neil@darlow.co.uk> * Nemo Liu <nemoliu@FreeBSD.org> * Netherby <netherby@dancingfortune.com> * Nick Hilliard <nick@foobar.org> * Nils Vogels <nivo+kw+ports.bfa274@is-root.com> * Oliver Braun * Oliver Braun <obraun@FreeBSD.org> * Oliver Eikemeier * Oliver Eikemeier <eik@FreeBSD.org> * Oliver Eikemeier <eikemeier@fillmore-labs.com> * Olivier Cochard-Labbe <olivier@FreeBSD.org> * Olivier Girard <Olivier.Girard@univ-angers.fr> * Omer Faruk Sen <ofsen@enderunix.org> * Ozkan KIRIK <ozkan@enderunix.org> * Pav Lucistnik <pav@FreeBSD.org> * Pawel Pekala <c0rn@o2.pl> * Pawel Pekala <pawel@FreeBSD.org> * Pawel Pekala <pawel@freebsd.org> * Pete Fritchman <petef@databits.net > * Peter Hollaubek <fifteen@inext.hu> * Peter Kieser <peter@kieser.ca> * Peter Pentchev <roam@FreeBSD.org> * Peter Wemm <peter@FreeBSD.org> * Po-Chuan Hsieh <sunpoet@FreeBSD.org> * R.I.Pienaar <rip@devco.net> * Radim Kolar * RicardoSSP <ricardo.katz@gmail.com> * Rob Evers <rob@debank.tv> * Robert Felber <robtone@ek-muc.de> * Robert Nelson <robertn@the-nelsons.org> * Romain Tartiere <romain@blogreen.org> * Rozhuk Ivan <rozhuk.im@gmail.com> * Ryan Steinmetz <zi@FreeBSD.org> * Sahil Tandon <sahil@tandon.net> * Satoru Suzuki <xsuzu@yokohama.riken.jp> * Scott Blachowicz <scott+ports@sabami.seaslug.org> * Scott Lambert <lambert@lambertfam.org> * Sean Chittenden <seanc@FreeBSD.org> * Sergei Kolobov <sergei@FreeBSD.org> * Sergei Kolobov <sergei@kolobov.com> * Sergey A. Osokin <osa@FreeBSD.org> * Sergey Matveychuk <sem@FreeBSD.org> * Sergey Samoyloff <gonza@techline.ru> * Sergey Skvortsov <skv@FreeBSD.org> * Sergey Skvortsov <skv@protey.ru> * Shaun Amott <shaun@FreeBSD.org> * Sheldon Hearn <sheldonh@FreeBSD.org> * Simon 'corecode' Schubert <corecode@corecode.ath.cx> * Simon Barner <barner@in.tum.de> * Simon Dick <simond@irrelevant.org> * Stefan A. Deutscher (sad@mailaps.org) * Stefan Bethke <stb@lassitu.de> * Stephen Roznowski <sjr1@flash.net> * Stephon Chen <stephon@pixnet.tw> * Steve Wills <swills@FreeBSD.org> * Steven Kreuzer <skreuzer@f2o.org> * Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> * Sylvio Cesar <sylvio@FreeBSD.org> * TAKAHASHI Kaoru <kaoru@kaisei.org> * TAKATSU Tomonari <tota@rtfm.jp> * Talal Al-Dik <tad@vif.com> * Ted Faber <faber@isi.edu> * Terry Sposato * The Anarcat <anarcat@anarcat.ath.cx> * Thierry Thomas (<thierry@pompo.net>) * Thomas Abthorpe <thomas@goodking.ca> * Thomas Gellekum <tg@FreeBSD.org> * Thomas Lotterer <thomas.lotterer@cw.com> * Thomas Seck <tmseck@netcologne.de> * Tim Bishop <tim@bishnet.net> * Tom Hukins <tom@eborcom.com> * Tom Judge <tj@FreeBSD.org> * Tom McLaughlin <tmclaugh@sdf.lonestar.org> * Tomasz Paszkowski <ns88@k.pl> * Torsten Blum <torstenb@FreeBSD.org> * Torsten Zuehlsdorff <ports@toco-domains.de> * Trish Lynch <trish@bsdunix.net> * Tsung-Han Yeh <snowfly@yuntech.edu.tw> * Tuc <freebsd-ports@t-b-o-h.net> * Udo Schweigert * Udo Schweigert <ust@cert.siemens.de> * Uffe Jakobsen <uffe@uffe.org> * Victor Balada Diaz <victor@bsdes.net> * Vidar Karlsen <vidar@karlsen.tech> * Ville Eerola <ve@sci.fi> * Vivek Khera <vivek@khera.org> * Vladimir Kondratiev <wulf@mail.mipt.ru> * Vsevolod Lobko <seva@sevasoft.kiev.ua> * Vsevolod Stakhov <vsevolod@highsecure.ru> * Wei-chun Chao * Wen Heping <wen@FreeBSD.org> * Will Andrews <will@FreeBSD.org> * Xavier Beaudouin <kiwi@oav.net> * Yarema <yds@CoolRat.org> * Yasuhiro KIMURA <yasu@utahime.org> * Yen-Ming Lee <leeym@FreeBSD.org> * Yen-Ming Lee <leeym@cae.ce.ntu.edu.tw> * Yen-Ming Lee <leeym@leeym.com> * Yoshiro MIHIRA <sanpei@yy.cs.keio.ac.jp> * Yoshisato YANAGISAWA * Zak Johnson <zakj@nox.cx> * Zane C. Bowers * Zeus Panchenko <zeus@gnu.org.ua> * Zhen REN <bg1tpt@gmail.com> * ache * ache@FreeBSD.org * arensb@ooblick.com * bremner@unb.ca * brett@peloton.physics.montana.edu * bsam * chinsan * chris * chris@shagged.org * clive * clsung * clsung@dragon2.net * dchapes@zeus.leitch.com * delphij@FreeBSD.org * delphij@FreeBSD.org.cn * dhagan@cs.vt.edu * dliakh * dlowe * dm * eivind * fluffy * gahr * gmarco@scotty.masternet.it * gmc@sonologic.nl * ijliao * ismail@enderunix.org * itojun@itojun.org * janos.mohacsi@bsd.hu * johnpupu <johnpupu@gmail.com> * kaz * krion * liamfoy@sepulcrum.org * markm@FreeBSD.org * matusita@FreeBSD.org * mich@freebsdcluster.org * mwest@uct.ac.za * n_hibma@qubesoft.com * nbm * nork@FreeBSD.org * ofsen@enderunix.org * pat * petef * petef@FreeBSD.org * pst * punkt.de Hosting Team <mops@punkt.de> * rea@FreeBSD.org * roam@FreeBSD.org * sheldonh@FreeBSD.org * shigeri <shigeri@m10.alpha-net.ne.jp> * snowchyld * tobez@tobez.org * torstenb * trevor * v.velox@vvelox.net * vanilla * will * wolpert With hat: portmgrb587cc2b4d
Remove # $FreeBSD$ from Makefiles.305f148f48
Remove WRKSRC It is the same as the default value.724a5e2191
Drop python 2.7 support from a few ports With hat: portmgraa7a6c429e
Update to 2.0.14 Changes: https://github.com/sdgathman/pyspf/releases https://github.com/sdgathman/pyspf/blob/master/CHANGELOG0f75499580
Restore DNSLookup API for pydnsv(DNS) for tcp fallback works again - Bump PORTREVISION for package change PR: 241755 Submitted by: Kamigishi Rei <spambox@haruhiism.net> Obtained from: https://github.com/sdgathman/pyspf/commit/4744deeec4a2c10987aae72989d7137156ed41518f51ae2e9f
Update to 2.0.13 - Update WWW Changes: https://github.com/sdgathman/pyspf/blob/master/CHANGELOGfa6e53c59b
Bump a few PORTREVISIONs after r498529 With hat: portmgr63f5eeef8a
Use PY_FLAVOR for dependencies. FLAVOR is the current port's flavor, it should not be used outside of this scope. Sponsored by: Absolight4376dbbb58
Switch all pypi.python.org WWWs to a new PyPi home pypi.org where they now redirect to anyway. All new urls checked to return 200, I've fixed a couple of them in the process. Approved by: portmgr blanket, matc637402081
Convert Python ports to FLAVORS.
Ports using USE_PYTHON=distutils are now flavored. They will
automatically get flavors (py27, py34, py35, py36) depending on what
versions they support.
There is also a USE_PYTHON=flavors for ports that do not use distutils
but need FLAVORS to be set. A USE_PYTHON=noflavors can be set if
using distutils but flavors are not wanted.
A new USE_PYTHON=optsuffix that will add PYTHON_PKGNAMESUFFIX has been
added to cope with Python ports that did not have the Python
PKGNAMEPREFIX but are flavored.
USES=python now also exports a PY_FLAVOR variable that contains the
current python flavor. It can be used in dependency lines when the
port itself is not python flavored. For example, deskutils/calibre.
By default, all the flavors are generated. To only generate flavors
for the versions in PYTHON2_DEFAULT and PYTHON3_DEFAULT, define
BUILD_DEFAULT_PYTHON_FLAVORS in your make.conf.
In all the ports with Python dependencies, the *_DEPENDS entries MUST
end with the flavor so that the framework knows which to build/use.
This is done by appending '@${PY_FLAVOR}' after the origin (or
@${FLAVOR} if in a Python module with Python flavors, as the content
will be the same). For example:
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR}
PR: 223071
Reviewed by: portmgr, python
Sponsored by: Absolight
Differential Revision: https://reviews.freebsd.org/D12464551be3c723Fix build after r438939. Reported by: antoine Sponsored by: Absolight03714a073f
- Fix trailing whitespace in pkg-descrs, categories [g-n]* Approved by: portmgr blanket4e942b6419
Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat: portmgr
Sponsored by: Absolight8d6597e0bb- Sort knobs - Remove outdated PYTHON_REL check - Use post-patch: - Do not silence test message5dab0e29c1
mail/py-pyspf: Fix dependencies (missing & incorrect)
Revision 404778 [1] modified py-pyspf to only use dns/py3dns instead
of conditionally using dns/py-dns and py-py3dns depending on whether
Python 2.x or 3.x was being used.
dns/py-py3dns is a Python 3.x *only* package, but the port does not
currently [2] limit itself to USES=python:3.0+.
This results in errors for all dependent ports of py-pyspf when
Python 2.x is used, which was reported for
mail/postfix-policyd-spf-python. [3]
pyspf's README notes the following requirements:
This package requires PyDNS (or Py3DNS for running with Python 3) and
either the ipaddr or python3.3 and later
This package requires authres from either pypi or
http://launchpad.net/authentication-results-python to process
and generate RFC 5451 Authentication Results headers.
The spf module in this version has been tested with python3.2 and does
not require using 2to3.
Accordingly, this change:
- Reverts to conditional RUN_DEPENDS on dns/py-dns or py-py3dns
depending on whether Python 2.x or Python 3.x is being used.
- Adds authres to RUN_DEPENDS
- Adds a conditional RUN_DEPENDS on devel/py-ipaddr, depending on
Python version.
While I'm here:
- Sort and group USE{S} entries
- Match COMMENT to setup.py:description
- Add test and post-extract targets, TEST_DEPENDS, and patch files
so that tests can be run properly
- Pet several portlint warnings
[1] https://svnweb.freebsd.org/changeset/ports/404778
[2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206645
[3] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206643
QA:
* portlint: OK (WARN: Makefile: [47]: possible use of "${CHMOD}")
* porttest: OK (poudriere: 11amd64, python27, python34)
* unittest: OK (Ran 425 tests in 0.155s)
PR: 206643
Reported by: danger
Approved by: portmgr (blanket)
MFH: 2016Q1
Differential Revision: DXXXX866c4c9bfa- Move mail/py-spf to mail/py-pyspf - Update MASTER_SITES: change from SF to CHEESESHOP - Update RUN_DEPENDS: always use dns/py-py3dns - Bump PORTREVISION for dependency change - Bump PORTREVISION for dependent ports2328bfb8fe
- Move dns/py-dns3 to dns/py-py3dns - Update MASTER_SITES: change from launchpad.net to CHEESEHOP - Remove PKGNAMESUFFIX - Add NO_ARCH - Relax USES=python - Add PyPI as primary WWW - Bump PORTREVISION for dependent portse9f5f4530e
- Allow concurrent installation (USE_PYTHON=concurrent) - Bump PORTREVISION for package changeb42ac860b6
- Update to 2.0.12 - Add NO_ARCH Changes: http://sourceforge.net/projects/pymilter/files/pyspf/pyspf-2.0.12/README.txt/viewfdfb1777a1
Switch PYTHON_REL from a 3 digits number to a 4 digits number to handle python 2.7.10 Differential Revision: https://reviews.freebsd.org/D2639 Reviewed by: sunpoet, mva1b85bc9332
- Update to 2.0.11 Changes: http://sourceforge.net/projects/pymilter/files/pyspf/pyspf-2.0.11/README.txt/viewb782b3b736
- Update to 2.0.10 - Remove DOCS option Changes: http://sourceforge.net/projects/pymilter/files/pyspf/pyspf-2.0.10/readme.txt/view1f8ed3f840
- Convert PYTHON_FEATURES to USE_PYTHON (which was landed several hours ago) Notified by: koobs, wgec373bbc2f
- Use USES=pythoncac3e9261f
- Update to 2.0.9 Changes: http://sourceforge.net/projects/pymilter/files/pyspf/pyspf-2.0.9/README/view82b3ff0b7a
- Allow build with Python 3.x - Bump PORTREVISIONccc7e4ee7e
- Use PYDISTUTILS_AUTOPLIST - Simplify Makefilef381f76fd1
- Fix shebang - Support STAGEDIR - Update WWW: use https:// instead of http://0e32df5cc5
Add NO_STAGE all over the place in preparation for the staging support (cat: mail)fd61959c15
- Update to 2.08 - Cleanup pkg-descr Changes: http://sourceforge.net/projects/pymilter/files/pyspf/pyspf-2.0.8/README/view309ff9b286
- Add LICENSE - Fix OPTIONSFILE issue PR: ports/177796 Submitted by: Yasuhiro KIMURA <yasu@utahime.org>1771c33ca4
- Convert to new options framework4185540109
- Update to 2.07 - Remove DIST_SUBDIR - Do not silence installation message
Note that there are two source tarballs (pyspf-2.0.7.tar.gz).
One is 46,283 bytes from CHEESESHOP and the other is 46,281 bytes from SF.
Since the former has a wrong entry in pyspf.spec, we choose the latter and
suspend adding CHEESESHOP to MASTER_SITES.
Changes:
- Allow for timeouts to be global for all DNS lookups instead of per DNS lookup
to allow for MAY processing time limitsin RFC 4408 10.1. See README for
details.
- Use openspf.net for SPF web site instead of openspf.org
- Extend query.get_header to return either Received-SPF (still default) or RFC
5451 Authentication Results headers (needs authres 0.3 or later)
- Rework query.parse_header:
- Make query.parse_header automatically select Received-DPF or Authentication
Results header types and use them to collect SPF results from trusted relays
- Add query.parse_header_spf and query.parse_header_ar functions for header
type specific processing
- Finish Python3 port - works with python2.6/2.7/3.2 and 2to3 is no longer
required - will also work with newer py3dns where TXT records are returned as
type bytes and not strings
- Accounts for new py3dns error classes coming in py3dns 3.0.2 (but fully
backward compatible with earlier versions)
- check for 7-bit ascii on TXT and SPF records
- fix CNAME chain duplicating TXT recordse6b6e7e8d8- Update to 2.0.6 - Take maintainership Changes: http://sourceforge.net/projects/pymilter/files/pyspf/pyspf-2.0.6/readme.txt/viewe53c13b9c9
- Reassign to the heap978fe5634d
- remove MD5c5284f2b4e
- Switch SourceForge ports to the new File Release System: categories starting with Ma13d9a603d
- Update to 2.0.5 PR: 128985 Submitted by: Yi-Jheng Lin <yzlin___cs.nctu.edu.tw>cf7b2a5a6e
- Update to 2.0.4 PR: 109033 Submitted by: Koen Martens<gmc___sonologic.nl>d86bbde9a8
- Make Python 2.5.1 the default Python version - Add significantly better support in bsd.python.mk for working with Python Eggs and the easy_install system Tested by: pointyhat runs Approved by: pav (portmgr) Most work by: perky Thanks to: pav4942ce5a7d