Package Details: python-nvd3 0.15.0-5

Git Clone URL: (read-only, click to copy)
Package Base: python-nvd3
Description: Python wrapper for the NVD3 chart generator
Upstream URL:
Licenses: MIT
Submitter: dbermond
Maintainer: dbermond
Last Packager: dbermond
Votes: 0
Popularity: 0.000000
First Submitted: 2017-08-23 20:26 (UTC)
Last Updated: 2022-08-11 21:52 (UTC)

Latest Comments

dbermond commented on 2017-09-04 17:45 (UTC)

@petronny Hi. I don't think this is a problem because: 1) these reported files are not executable ones. Even though they have a shebang, they are only python modules and are not intended to be executed directly. 2) it is well known that namcap issues many false-positive errors and warnings. A packager is not supposed to handle every error/warning issued by namcap. 3) many python2 packages from the official repositories triggers this same namcap error. A quick scan at my pacman cache directory shows that the following official repository packages trigger this namcap error: python2-appdirs-1.4.3-1-any.pkg.tar.xz python2-chardet-3.0.4-1-any.pkg.tar.xz python2-future-0.16.0-2-any.pkg.tar.xz python2-hypothesis-3.23.2-1-any.pkg.tar.xz python2-networkx-1.11-2-any.pkg.tar.xz python2-olefile-0.43-2-any.pkg.tar.xz python2-pip-9.0.1-2-any.pkg.tar.xz python2-protobuf-3.3.2-1-x86_64.pkg.tar.xz python2-scikit-learn-0.18.2-1-x86_64.pkg.tar.xz python2-snakefood- python2-sqlalchemy-1.1.13-1-x86_64.pkg.tar.xz If you can find some python2 packages from the official repositories that modifies the shebang on (non-executable) python2 modules, please let me know. They are many to test, but I could not find any.

petronny commented on 2017-09-04 07:46 (UTC)

Checking python2-nvd3-0.14.2-1-any.pkg.tar.xz python2-nvd3 E: Dependency python detected and not included (programs ['python'] needed in scripts ['usr/lib/python2.7/site-packages/nvd3/', 'usr/lib/python2.7/site-packages/nvd3/', 'usr/lib/python2.7/site-packages/nvd3/', 'usr/lib/python2.7/site-packages/nvd3/', 'usr/lib/python2.7/site-packages/nvd3/', 'usr/lib/python2.7/site-packages/nvd3/', 'usr/lib/python2.7/site-packages/nvd3/', 'usr/lib/python2.7/site-packages/nvd3/', 'usr/lib/python2.7/site-packages/nvd3/', 'usr/lib/python2.7/site-packages/nvd3/', 'usr/lib/python2.7/site-packages/nvd3/', 'usr/lib/python2.7/site-packages/nvd3/', 'usr/lib/python2.7/site-packages/nvd3/']) Please fix this by do sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \ -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \ -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \ -i $(find . -name '*.py') for in the py2 folder See