[Bug 230114] [NEW PORT] textproc/scancode-toolkit: Scans code for license, copyright, package and documented dependencies

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jul 28 19:33:53 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=230114

--- Comment #4 from Kai <freebsd_ports at k-worx.org> ---
(In reply to Nathan from comment #1)
(In reply to Nathan from comment #3)

It depends in which context you do apply the patch. If you do e.g.

> $ cd /path/to/your/ports/tree
> $ svn patch --dry-run ~/scancode-toolkit.patch textproc/

from the root of your svn tree, you should get a similar output like below:

> A         textproc/scancode-toolkit
> A         textproc/scancode-toolkit/Makefile
> A         textproc/scancode-toolkit/distinfo
> A         textproc/scancode-toolkit/files
> A         textproc/scancode-toolkit/files/patch-setup.py
> A         textproc/scancode-toolkit/files/patch-src_commoncode_system.py
> A         textproc/scancode-toolkit/pkg-descr

The same result you would get with:

> $ cd /path/to/your/ports/tree
> $ cd textproc
> $ svn patch --dry-run ~/scancode-toolkit.patch

The output would be:

> A         scancode-toolkit
> A         scancode-toolkit/Makefile
> A         scancode-toolkit/distinfo
> A         scancode-toolkit/files
> A         scancode-toolkit/files/patch-setup.py
> A         scancode-toolkit/files/patch-src_commoncode_system.py
> A         scancode-toolkit/pkg-descr

When applying your patch with the "corrected" paths the output will show some
differences which yields into a non functional port that cannot be built:

> $ cd /path/to/your/ports/tree
> $ svn patch --dry-run ~/corrected_paths.patch textproc/
> A         textproc/textproc
> A         textproc/textproc/scancode-toolkit
> A         textproc/textproc/scancode-toolkit/Makefile
> A         textproc/scancode-toolkit
> A         textproc/scancode-toolkit/distinfo
> A         textproc/scancode-toolkit/files
> A         textproc/scancode-toolkit/files/patch-setup.py
> A         textproc/scancode-toolkit/files/patch-src_commoncode_system.py
> A         textproc/scancode-toolkit/pkg-descr

As for the info about the non-existent origins - have you updated your ports
tree? Your ports tree needs to be at least at r475546 to have all the ports
that are required to build textproc/scancode-toolkit successfully.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-python mailing list