Page MenuHomeFreeBSD

security/py-pynacl: Update to 1.2.0
ClosedPublic

Authored by yuri on Nov 6 2017, 2:09 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 19, 1:18 PM
Unknown Object (File)
Feb 8 2024, 12:35 AM
Unknown Object (File)
Feb 4 2024, 9:57 AM
Unknown Object (File)
Jan 28 2024, 10:41 AM
Unknown Object (File)
Dec 25 2023, 3:49 PM
Unknown Object (File)
Dec 25 2023, 3:49 PM
Unknown Object (File)
Dec 25 2023, 3:49 PM
Unknown Object (File)
Dec 25 2023, 3:49 PM
Subscribers

Details

Summary

Simple update

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

security/py-pynacl/Makefile
4 ↗(On Diff #34843)

^DISTVERSION

yuri marked an inline comment as done.Nov 6 2017, 8:16 AM
security/py-pynacl/Makefile
24 ↗(On Diff #34846)

you could move this one down to the other BUNDLED_NACLE-items

yuri marked an inline comment as done.Nov 7 2017, 5:39 AM
security/py-pynacl/Makefile
18 ↗(On Diff #34868)

^ You should not set BUILD_DEPENDS to ${RUN_DEPENDS}. If you check the output of make -VBUILD_DEPENDS you'll see that you added more to them, than what you probably thought you did :)

If you reallay want all these dependencies, then that is fine -- if not, you can follow the procedure described in the porters handbook here 5.9.2 or just repeat the two lines :)

yuri marked an inline comment as done.Nov 7 2017, 9:54 PM

öh, now you don't have any BUILD_DEPENDS at all?

öh, now you don't have any BUILD_DEPENDS at all?

Yes, this is a python package, it only needs dependencies to run. :)

tcberner requested changes to this revision.Nov 9 2017, 6:04 AM

You might want to double check that:

distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('cffi>=1.4.1')

:D

This revision now requires changes to proceed.Nov 9 2017, 6:04 AM

You might want to double check that:

distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('cffi>=1.4.1')

:D

I have it installed:
py27-cffi-1.7.0 Foreign Function Interface for Python calling C code

What produces this error?

It is needed as a BUILD_DEPENDS:

==>  Configuring for py27-pynacl-1.2.0
Download error on https://pypi.python.org/simple/cffi/: [Errno 8] hostname nor servname provided, or not known -- Some packages may not be found!
Couldn't find index page for 'cffi' (maybe misspelled?)
Download error on https://pypi.python.org/simple/: [Errno 8] hostname nor servname provided, or not known -- Some packages may not be found!
No local packages or working download links found for cffi>=1.4.1
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "setup.py", line 248, in <module>
    "Programming Language :: Python :: 3.6",
  File "/usr/local/lib/python2.7/distutils/core.py", line 111, in setup
    _setup_distribution = dist = klass(attrs)
  File "/usr/local/lib/python2.7/site-packages/setuptools/dist.py", line 335, in __init__
    self.fetch_build_eggs(attrs['setup_requires'])
  File "/usr/local/lib/python2.7/site-packages/setuptools/dist.py", line 456, in fetch_build_eggs
    replace_conflicting=True,
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 863, in resolve
    replace_conflicting=replace_conflicting
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1141, in best_match
    return self.obtain(req, installer)
  File "/usr/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 1153, in obtain
    return installer(requirement)
  File "/usr/local/lib/python2.7/site-packages/setuptools/dist.py", line 522, in fetch_build_egg
    return cmd.easy_install(req)
  File "/usr/local/lib/python2.7/site-packages/setuptools/command/easy_install.py", line 666, in easy_install
    raise DistutilsError(msg)
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('cffi>=1.4.1')
*** Error code 1

Stop.
make: stopped in /usr/ports/security/py-pynacl

Fixed py-cffi dependency.

In D12968#271014, @yuri wrote:

Fixed py-cffi dependency.

Fixed!

This revision is now accepted and ready to land.Nov 11 2017, 8:53 PM
This revision was automatically updated to reflect the committed changes.