1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

mail/postfix-policyd-spf-python: fix packaging with python3

Make the port use autoplist feature to let it package both with
python2 and python3.

PR:		212064
Reported by:	Joseph Mulloy <freebsd-bugs@joe.mulloy.me>
Approved by:	maintainer timeout (14 days)
This commit is contained in:
Ruslan Makhmatkhanov 2016-10-09 09:06:28 +00:00
parent 57c4ddbdd5
commit 633c057ac6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=423581
2 changed files with 2 additions and 13 deletions

View File

@ -19,9 +19,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ipaddr>0:devel/py-ipaddr \
${PYTHON_PKGNAMEPREFIX}pyspf>0:mail/py-pyspf \
${PYTHON_PKGNAMEPREFIX}authres>0:mail/py-authres
USES= python
USE_PYTHON= distutils
PYDISTUTILS_PKGNAME= pypolicyd-spf
USES= python:2.7+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
PORTDOCS= CHANGES \

View File

@ -1,11 +1 @@
@sample %%ETCDIR%%/policyd-spf.conf.sample
bin/policyd-spf
man/man1/policyd-spf.1.gz
man/man5/policyd-spf.conf.5.gz
man/man5/policyd-spf.peruser.5.gz
%%PYTHON_SITELIBDIR%%/policydspfsupp.py
%%PYTHON_SITELIBDIR%%/policydspfsupp.pyo
%%PYTHON_SITELIBDIR%%/policydspfsupp.pyc
%%PYTHON_SITELIBDIR%%/policydspfuser.py
%%PYTHON_SITELIBDIR%%/policydspfuser.pyo
%%PYTHON_SITELIBDIR%%/policydspfuser.pyc