Commit graph

16 commits

Author SHA1 Message Date
Mathieu Arnold
305f148f48
Remove # $FreeBSD$ from Makefiles. 2021-04-06 16:31:07 +02:00
Sunpoet Po-Chuan Hsieh
724a5e2191 Remove WRKSRC
It is the same as the default value.
2021-03-07 22:21:24 +00:00
Antoine Brodin
aa7a6c429e Drop python 2.7 support from a few ports
With hat:	portmgr
2020-12-28 23:02:12 +00:00
Sunpoet Po-Chuan Hsieh
0f75499580 Update to 2.0.14
Changes:	https://github.com/sdgathman/pyspf/releases
		https://github.com/sdgathman/pyspf/blob/master/CHANGELOG
2020-01-02 16:16:44 +00:00
Sunpoet Po-Chuan Hsieh
8f51ae2e9f 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:	4744deeec4
2019-11-13 23:47:38 +00:00
Sunpoet Po-Chuan Hsieh
fa6e53c59b Update to 2.0.13
- Update WWW

Changes:	https://github.com/sdgathman/pyspf/blob/master/CHANGELOG
2019-11-04 16:01:49 +00:00
Antoine Brodin
63f5eeef8a Bump a few PORTREVISIONs after r498529
With hat:	portmgr
2019-04-10 06:18:31 +00:00
Mathieu Arnold
4376dbbb58 Use PY_FLAVOR for dependencies.
FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
2018-06-20 17:05:41 +00:00
Dmitry Marakasov
c637402081 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, mat
2018-04-25 16:42:37 +00:00
Mathieu Arnold
551be3c723 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/D12464
2017-11-30 15:50:30 +00:00
Mathieu Arnold
03714a073f Fix build after r438939.
Reported by:	antoine
Sponsored by:	Absolight
2017-04-21 07:50:10 +00:00
Dmitry Marakasov
4e942b6419 - Fix trailing whitespace in pkg-descrs, categories [g-n]*
Approved by:	portmgr blanket
2016-05-19 10:44:11 +00:00
Mathieu Arnold
8d6597e0bb Remove ${PORTSDIR}/ from dependencies, categories m, n, o, and p.
With hat:	portmgr
Sponsored by:	Absolight
2016-04-01 14:16:16 +00:00
Sunpoet Po-Chuan Hsieh
5dab0e29c1 - Sort knobs
- Remove outdated PYTHON_REL check
- Use post-patch:
- Do not silence test message
2016-02-03 20:54:37 +00:00
Kubilay Kocak
866c4c9bfa 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:	DXXXX
2016-01-26 14:01:37 +00:00
Sunpoet Po-Chuan Hsieh
2328bfb8fe - 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 ports
2015-12-29 19:03:25 +00:00