Page MenuHomeFreeBSD

Add dependency on ftp/py-pycurl
ClosedPublic

Authored by tcberner on Aug 4 2017, 7:02 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 19, 12:29 PM
Unknown Object (File)
Dec 30 2023, 5:36 AM
Unknown Object (File)
Dec 23 2023, 12:17 PM
Unknown Object (File)
Sep 15 2023, 4:27 PM
Unknown Object (File)
Sep 15 2023, 4:23 PM
Unknown Object (File)
Sep 15 2023, 4:22 PM
Unknown Object (File)
Sep 15 2023, 3:55 PM
Unknown Object (File)
Sep 15 2023, 6:21 AM
Subscribers

Details

Summary

urlgrabber requires py-curl at runtime:

>>> import urlgrabber
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/site-packages/urlgrabber/__init__.py", line 55, in <module>
    from grabber import urlgrab, urlopen, urlread
  File "/usr/local/lib/python2.7/site-packages/urlgrabber/grabber.py", line 532, in <module>
    import pycurl
ImportError: No module named pycurl

The issue can be seen here in the build of mythv, where the python binding is disabled because of urlgrabber failing to import in the test case:
http://beefy6.nyi.freebsd.org/data/103amd64-default/447190/logs/errors/mythtv-0.28.7_1.log

WARNING: disabling Python bindings; missing urlgrabber

See also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=221157

Diff Detail

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

Event Timeline

According to the py-urlgrabber git repo, they just removed the py-curl dependency from being needed at build time. It is still needed at run time. http://yum.baseurl.org/gitweb?p=urlgrabber.git;a=commit;h=e879aa8b7dd4f2f47ef6941ba6381a0eeafb5a13

This falls under portmgr blanket approval.

www/py-urlgrabber/Makefile
17 ↗(On Diff #31595)

That should be: RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pycurl>=7.19.0_1:ftp/py-pycurl

This revision was automatically updated to reflect the committed changes.