Clone the repository from https://github.com/jbaiter/gphoto2-cffi.
> cd ~/github > git clone https://github.com/jbaiter/gphoto2-cffi
I had to specify where to find the include files.
> env C_INCLUDE_PATH=/usr/local/include python3 setup.py build
Install and clean-up
# python3 setup.py install # python3 setup.py clean # rm -rf dist > rm -rf gphoto2_cffi.egg-info
The package is installed in /usr/local/lib/python3.6/site-packages/ gphoto2_cffi-0.3-py3.6-freebsd-11.0-STABLE-amd64.egg/