Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jul 2018 19:33:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 230114] [NEW PORT] textproc/scancode-toolkit: Scans code for license, copyright, package and documented dependencies
Message-ID:  <bug-230114-21822-YrRsRPoUIs@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-230114-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-230114-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230114

--- Comment #4 from Kai <freebsd_ports@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 so=
me
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-230114-21822-YrRsRPoUIs>