notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)

Two new features

Two two features were added on 2020-05-30:
  1. Repology links - each port now has a link to repology.org. See issue 148 for details.
  2. Ports I maintain report - port maintainers can now subscribe to a daily report of commits to the ports they maintain. See Watch ports I maintain at Report Subscriptions. Details at issue 138
Port details
py-cffi Foreign Function Interface for Python calling C code
1.14.0_1 devel on this many watch lists=17 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. 1.14.0Version of this port present on the latest quarterly branch.
Maintainer: sunpoet@FreeBSD.org search for ports maintained by this maintainer
Port Added: 2013-11-29 00:20:53
Last Update: 2020-07-04 19:11:42
SVN Revision: 541232

People watching this port, also watch: pkg, py37-pycparser, dialog4ports, expat, indexinfo

Also Listed In: python
License: MIT
Description:
SVNWeb : Homepage

There is no configure plist information for this port.

Dependency lines:
  • ${PYTHON_PKGNAMEPREFIX}cffi>0:devel/py-cffi
To install the port: cd /usr/ports/devel/py-cffi/ && make install clean
To add the package: pkg install py37-cffi
PKGNAME: py37-cffi
Package flavors (<flavor>: <package>)
  • py37: py37-cffi
  • py27: py27-cffi
distinfo:
Packages:
py27-cffi
ABIlatestquarterly
FreeBSD:11:aarch641.11.51.14.0
FreeBSD:11:amd641.14.01.14.0
FreeBSD:11:armv61.6.01.14.0
FreeBSD:11:i3861.14.01.14.0
FreeBSD:11:mips1.6.01.14.0
FreeBSD:11:mips641.6.01.14.0
FreeBSD:12:aarch641.11.51.14.0
FreeBSD:12:amd641.14.01.14.0
FreeBSD:12:armv61.11.51.14.0
FreeBSD:12:armv71.11.51.14.0
FreeBSD:12:i3861.14.01.14.0
FreeBSD:12:mips1.11.51.14.0
FreeBSD:12:mips641.11.51.14.0
FreeBSD:12:powerpc641.11.51.14.0
FreeBSD:13:aarch641.14.0-
FreeBSD:13:amd641.14.0-
FreeBSD:13:armv61.14.0-
FreeBSD:13:armv71.14.0-
FreeBSD:13:i3861.14.0-
FreeBSD:13:mips1.13.2-
FreeBSD:13:mips64--
FreeBSD:13:powerpc641.14.0-
 
py36-cffi
ABIlatestquarterly
FreeBSD:11:aarch641.11.5-
FreeBSD:11:amd64--
FreeBSD:11:armv6--
FreeBSD:11:i386--
FreeBSD:11:mips--
FreeBSD:11:mips64--
FreeBSD:12:aarch641.11.5-
FreeBSD:12:amd64--
FreeBSD:12:armv61.11.5-
FreeBSD:12:armv71.11.5-
FreeBSD:12:i386--
FreeBSD:12:mips1.11.5-
FreeBSD:12:mips641.11.5-
FreeBSD:12:powerpc64--
FreeBSD:13:aarch64--
FreeBSD:13:amd64--
FreeBSD:13:armv6--
FreeBSD:13:armv7--
FreeBSD:13:i386--
FreeBSD:13:mips--
FreeBSD:13:mips64--
FreeBSD:13:powerpc64--
 
py37-cffi
ABIlatestquarterly
FreeBSD:11:aarch64-1.14.0
FreeBSD:11:amd641.14.01.14.0
FreeBSD:11:armv6-1.14.0
FreeBSD:11:i3861.14.01.14.0
FreeBSD:11:mips-1.14.0
FreeBSD:11:mips64-1.14.0
FreeBSD:12:aarch64-1.14.0
FreeBSD:12:amd641.14.01.14.0
FreeBSD:12:armv6-1.14.0
FreeBSD:12:armv7-1.14.0
FreeBSD:12:i3861.14.01.14.0
FreeBSD:12:mips-1.14.0
FreeBSD:12:mips64-1.14.0
FreeBSD:12:powerpc64-1.14.0
FreeBSD:13:aarch641.14.0-
FreeBSD:13:amd641.14.0-
FreeBSD:13:armv61.14.0-
FreeBSD:13:armv71.14.0-
FreeBSD:13:i3861.14.0-
FreeBSD:13:mips1.13.2-
FreeBSD:13:mips64--
FreeBSD:13:powerpc641.14.0-
 

Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. py37-setuptools>0 : devel/py-setuptools@py37
  2. python3.7 : lang/python37
Runtime dependencies:
  1. py37-pycparser>=0 : devel/py-pycparser@py37
  2. py37-setuptools>0 : devel/py-setuptools@py37
  3. python3.7 : lang/python37
Library dependencies:
  1. libffi.so : devel/libffi
This port is required by:
for Build
  1. archivers/py-brotlipy
  2. archivers/py-zstandard
  3. audio/py-SoundFile
  4. audio/py-sounddevice
  5. databases/py-lmdb
  6. databases/py-psycopg2cffi
  7. devel/py-aiortc
Expand this list (30 items / 23 hidden)
  1. devel/py-pygit2
  2. devel/py-pylibsrtp
  3. devel/py-rchitect
  4. devel/py-xattr
  5. dns/py-pycares
  6. graphics/py-cairocffi
  7. graphics/py-pyvips
  8. math/py-rpy2
  9. math/py-secp256k1
  10. multimedia/py-librtmp
  11. net/py-nnpy
  12. security/py-argon2-cffi
  13. security/py-bcrypt
  14. security/py-cryptography
  15. security/py-pynacl
  16. security/py-pyvex
  17. textproc/py-cmarkgfm
  18. textproc/py-misaka
  19. textproc/py-ocrmypdf
  20. textproc/py-python-augeas
  21. x11/py-xcffib
  22. x11-wm/qtile
  23. Collapse this list.

Deleted ports which required this port:

Expand this list of 1 deleted port
  1. graphics/py-vips*
  2. Collapse this list of deleted ports.
for Run
  1. archivers/py-brotlipy
  2. audio/py-SoundFile
  3. audio/py-sounddevice
  4. databases/py-psycopg2cffi
  5. devel/py-atomiclong
  6. devel/py-azure-datalake-store
  7. devel/py-cle
Expand this list (35 items / 28 hidden)
  1. devel/py-llvmcpy
  2. devel/py-oslo.privsep
  3. devel/py-oslo.privsep1
  4. devel/py-pygit2
  5. devel/py-rchitect
  6. devel/py-tartiflette
  7. devel/py-twext
  8. devel/py-xattr
  9. dns/py-pycares
  10. graphics/py-cairocffi
  11. graphics/py-pyvips
  12. math/py-rpy2
  13. multimedia/py-librtmp
  14. net/py-nnpy
  15. net-mgmt/py-napalm
  16. print/py-weasyprint
  17. science/py-eccodes-python
  18. security/py-angr
  19. security/py-argon2-cffi
  20. security/py-cryptography
  21. security/py-pynacl
  22. security/py-pyvex
  23. sysutils/fusefs-gitfs
  24. textproc/py-cmarkgfm
  25. textproc/py-misaka
  26. textproc/py-ocrmypdf
  27. www/py-autobahn
  28. x11/py-xcffib
  29. Collapse this list.

Configuration Options

USES:

Master Sites:
  1. https://files.pythonhosted.org/packages/source/c/cffi/
  2. https://pypi.org/packages/source/c/cffi/
Notes from UPDATING
These upgrade notes are taken from /usr/ports/UPDATING
  • 2017-11-30
    Affects: */py*
    Author: mat@FreeBSD.org
    Reason: 
      Ports using Python via USES=python are now flavored.  All the py3-* ports
      have been removed and folded into their py-* master ports.
    
      People using Poudriere 3.2+ and binary packages do not have to do anything.
    
      For other people, to build the Python 3.6 version of, for example,
      databases/py-gdbm, you need to run:
    
        # make FLAVOR=py36 install
    
    

Number of commits found: 31

Commit History - (may be incomplete: see SVNWeb link above for full details)
DateByDescription
04 Jul 2020 18:11:42
Original commit files touched by this commit  1.14.0_1
Revision:541232
zeising search for other commits by this committer
Chanse update of devel/libffi

Chase the devel/libffi update
Bump portrevision of all dependent ports to chace shard library version bump
in libffi.
Update LIB_DEPENDS lines where needed to not require a specific version of
libffi.so.

PR:		247028 (for tracking)
08 Feb 2020 19:02:22
Original commit files touched by this commit  1.14.0
Revision:525576
sunpoet search for other commits by this committer
Update to 1.14.0

Changes:	https://bitbucket.org/cffi/release-doc/src/default/doc/source/whatsnew.rst
		https://cffi.readthedocs.io/en/latest/whatsnew.html
04 Nov 2019 16:00:23
Original commit files touched by this commit  1.13.2
Revision:516680
sunpoet search for other commits by this committer
Update to 1.13.2

Changes:	https://cffi.readthedocs.io/en/latest/whatsnew.html
		https://bitbucket.org/cffi/release-doc/src/default/doc/source/whatsnew.rst
22 Oct 2019 23:33:59
Original commit files touched by this commit  1.13.1
Revision:515223
sunpoet search for other commits by this committer
Update to 1.13.1

Changes:	https://cffi.readthedocs.io/en/latest/whatsnew.html
		https://bitbucket.org/cffi/release-doc/src/default/doc/source/whatsnew.rst
20 Oct 2019 17:10:38
Original commit files touched by this commit  1.13.0
Revision:514931
sunpoet search for other commits by this committer
Update to 1.13.0

Changes:	https://cffi.readthedocs.io/en/latest/whatsnew.html
		https://bitbucket.org/cffi/release-doc/src/default/doc/source/whatsnew.rst
20 Apr 2019 23:07:13
Original commit files touched by this commit  1.12.3
Revision:499477
sunpoet search for other commits by this committer
Update to 1.12.3

Changes:	https://cffi.readthedocs.io/en/latest/whatsnew.html
		https://bitbucket.org/cffi/release-doc/src/default/doc/source/whatsnew.rst
06 Mar 2019 18:07:41
Original commit files touched by this commit  1.12.2
Revision:494818
sunpoet search for other commits by this committer
Update to 1.12.2

- Take maintainership

Changes:	https://cffi.readthedocs.io/en/latest/whatsnew.html
		https://bitbucket.org/cffi/release-doc/src/default/doc/source/whatsnew.rst
PR:		236265
Submitted by:	sunpoet (myself)
Approved by:	wg (maintainer)
02 Nov 2018 13:32:35
Original commit files touched by this commit  1.11.5
Revision:483807
rene search for other commits by this committer
Remove compatibility code for FreeBSD < 11.2 from all ports.

Simplify some ports where DragonFlyBSD no longer needs to be special-cased.
Submitted by:	rene
Reviewed by:	bapt, jbeich
Differential Revision:	https://reviews.freebsd.org/D17724
20 Jun 2018 17:05:44
Original commit files touched by this commit  1.11.5
Revision:472884
mat search for other commits by this committer
Use PY_FLAVOR for dependencies.

FLAVOR is the current port's flavor, it should not be used outside of
this scope.

Sponsored by:	Absolight
04 Apr 2018 08:46:19
Original commit files touched by this commit  1.11.5
Revision:466405
koobs search for other commits by this committer
devel/py-cffi: Update to 1.11.5

While I'm here, remove post-patch target (upstreamed)

Changelog:

  https://cffi.readthedocs.io/en/latest/whatsnew.html#v1-11-5

PR:		225111
Submitted by:	Henrik Hudson <ports thelanman net> (with changes)
Approved by:	portmgr (maintainer timeout, > 2 weeks (1+ months))
03 Jan 2018 18:38:42
Original commit files touched by this commit  1.11.2
Revision:457997
yuri search for other commits by this committer
devel/py-cffi: Update to 1.11.2

PR:		224846
Submitted by:	myself
Approved by:	wg (maintainer), tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D13749
30 Nov 2017 15:50:34
Original commit files touched by this commit  1.7.0
Revision:455210  Sanity Test Failure
mat search for other commits by this committer
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
(Only the first 15 lines of the commit message are shown above View all of this commit message)
02 Jun 2017 11:02:08
Original commit files touched by this commit  1.7.0
Revision:442371  Sanity Test Failure
araujo search for other commits by this committer
- Create a python3 version of devel/py-cffi.
17 Sep 2016 13:26:11
Original commit files touched by this commit  1.7.0
Revision:422322
linimon search for other commits by this committer
Attempt to fix build on non-clang architectures (certain tier-2).

PR:		212739
Approved by:	maintainer
18 Aug 2016 05:41:51
Original commit files touched by this commit  1.7.0
Revision:420385
marino search for other commits by this committer
devel/py-cffi: Use OPSYS with OSVERSION, USES+= localbase

r419747 introduced OSVERSION with a ">" comparison without using coupling
with OPSYS, fix.

It also removed CFLAGS and LDFLAGS as "unnecessary", but the fact is they
are still required for non-standard localbases and compilers that don't
search /usr/local/include by default.  Restore these flags with the
equivalent USES+=localbase

Approved by:	OPVERSION/OPSYS blanket, just-fix-it
12 Aug 2016 13:53:17
Original commit files touched by this commit  1.7.0
Revision:420124
swills search for other commits by this committer
devel/py-cffi: update to 1.7.0

PR:		210483
Approved by:	wg (maintainer)
06 Aug 2016 14:41:35
Original commit files touched by this commit  1.6.0
Revision:419747
koobs search for other commits by this committer
devel/py-cffi: Fix build warnings and test failures

CFLAGS contains -Wl,-rpath,${LOCALBASE}/lib, which causes the following
warnings:

warning: -Wl,-rpath,/usr/local/lib: 'linker' input unused

It also causes many tests to fail due to the same warning:

E VerificationError: CompileError: command 'cc' failed with exit status 1

cffi/ffiplatform.py:62: VerificationError
----------- Captured stderr call ----------
error: -Wl,-rpath,/usr/local/lib: 'linker' input unused
(Only the first 15 lines of the commit message are shown above View all of this commit message)
18 Jul 2016 16:15:15
Original commit files touched by this commit  1.6.0
Revision:418712
jbeich search for other commits by this committer
Drop default target dependencies for do-test

Approved by:	portmgr-blanket
18 Jul 2016 16:15:01
Original commit files touched by this commit  1.6.0
Revision:418711
jbeich search for other commits by this committer
Invoke pytest from within desired python version

When testing a port for a non-default python py.test may fail to find
dependencies for default version because they weren't built e.g.,

$ make test PYTHON_VERSION=python3.5 -C devel/py-apscheduler
[...]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/site-packages/_pytest/config.py", line 319, in
_importconftest
    mod = conftestpath.pyimport()
  File "/usr/local/lib/python3.5/site-packages/py/_path/local.py", line 650, in
pyimport
    __import__(modname)
  File
"/usr/ports/devel/py-apscheduler/work/APScheduler-3.2.0/tests/conftest.py", line
8, in <module>
    from apscheduler.job import Job
  File
"/usr/ports/devel/py-apscheduler/work/APScheduler-3.2.0/apscheduler/job.py",
line 4, in <module>
    import six
ImportError: No module named 'six'
ERROR: could not load
/usr/ports/devel/py-apscheduler/work/APScheduler-3.2.0/tests/conftest.py

Approved by:	portmgr blanket
21 May 2016 11:52:38
Original commit files touched by this commit  1.6.0
Revision:415590
wg search for other commits by this committer
devel/py-cffi: update to 1.6.0
17 Apr 2016 18:59:10
Original commit files touched by this commit  1.5.0
Revision:413536
brnrd search for other commits by this committer
devel/py-cffi: Update to 1.5.0

  - Update to latest version 1.5.0
  - Fix broken test target
  - Align test target with ports framework

Reviewed by:	feld (mentor)
Approved by:	feld (mentor)
Differential Revision:	D5960
01 Apr 2016 14:00:57
Original commit files touched by this commit  1.2.1
Revision:412346
mat search for other commits by this committer
Remove ${PORTSDIR}/ from dependencies, categories d, e, f, and g.

With hat:	portmgr
Sponsored by:	Absolight
25 Sep 2015 20:59:56
Original commit files touched by this commit  1.2.1
Revision:397869
wg search for other commits by this committer
devel/py-cffi: update to 1.2.1
23 Jun 2015 16:32:17
Original commit files touched by this commit  1.1.1
Revision:390427
wg search for other commits by this committer
devel/py-cffi: update to 1.1.1

PR:		200699
Submitted by:	dbn
11 Feb 2015 09:32:44
Original commit files touched by this commit  0.8.6_3
Revision:378825
koobs search for other commits by this committer
devel/py-cffi: Backport upstream pull request #56

Backport upstream pull request #56 [1] which fixes (double) building for
Python packackges that use py-cffi to compile their modules.

This issue manifested itself in the 'install' target (stage) of Python
port building, causing the module that was already built at the 'build'
stage to be built again, except *without* the build arguments provided
in the build stage.

These symptoms were observable in security/py-cryptography [2]

While I'm here:

- Add regression-test target and TEST_DEPENDS
(Only the first 15 lines of the commit message are shown above View all of this commit message)
08 Sep 2014 21:18:06
Original commit files touched by this commit  0.8.6_2
Revision:367703
wg search for other commits by this committer
devel/py-cffi: fix rpath
27 Aug 2014 22:20:53
Original commit files touched by this commit  0.8.6_1
Revision:366363
wg search for other commits by this committer
devel/py-cffi: add run path to the built library

- USES python
06 Jul 2014 15:00:53
Original commit files touched by this commit  0.8.6
Revision:360916
wg search for other commits by this committer
devel/py-cffi: update to 0.8.6

Submitted by:	olivierd
13 Apr 2014 16:44:18
Original commit files touched by this commit  0.8.2
Revision:351229
olivierd search for other commits by this committer
- Update to 0.8.2

Approved by:	wg@ (maintainer, timeout 1 month)
16 Dec 2013 21:39:52
Original commit files touched by this commit  0.8.1
Revision:336669
wg search for other commits by this committer
devel/py-cffi: switch from easy_install to install
29 Nov 2013 00:20:42
Original commit files touched by this commit  0.8.1
Revision:335132
wg search for other commits by this committer
devel/py-cffi: Foreign Function Interface for Python calling C code

Foreign Function Interface for Python calling C code.

WWW: http://cffi.readthedocs.org/

Number of commits found: 31

Login
User Login
Create account

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD

This site
What is FreshPorts?
About the authors
Issues
FAQ
How big is it?
The latest upgrade!
Privacy
Blog
Contact

Search
Enter Keywords:
 
more...

Latest Vulnerabilities
gitlab-ceJul 07
mbedtlsJul 07
anydeskJul 04
dbusJul 03
py-matrix-synapseJul 03
coturnJul 02
gitlab-ceJul 02
powerdns-recursorJul 02
samba410Jul 02
samba411Jul 02
drupal7Jul 01
xrdpJun 30
mongodb36Jun 29
mongodb40Jun 29
libvorbisJun 28

24 vulnerabilities affecting 117 ports have been reported in the past 14 days

* - modified, not new

All vulnerabilities

Last updated:
2020-07-07 12:52:14


Ports
Home
Categories
Deleted ports
Sanity Test Failures
Newsfeeds

Statistics
Graphs
NEW Graphs (Javascript)
Traffic

Calculated hourly:
Port count 39671
Broken 80
Deprecated 585
Ignore 312
Forbidden 5
Restricted 146
No CDROM 76
Vulnerable 19
Expired 4
Set to expire 555
Interactive 0
new 24 hours 2
new 48 hours4
new 7 days25
new fortnight57
new month142

Servers and bandwidth provided by
New York Internet, iXsystems, and RootBSD
Valid HTML, CSS, and RSS.
Copyright © 2000-2020 Dan Langille. All rights reserved.