From owner-freebsd-python@freebsd.org Sat Jul 28 19:51:28 2018 Return-Path: <owner-freebsd-python@freebsd.org> Delivered-To: freebsd-python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8CEBE105C0BE for <freebsd-python@mailman.ysv.freebsd.org>; Sat, 28 Jul 2018 19:51:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 2678B7CFF6 for <freebsd-python@freebsd.org>; Sat, 28 Jul 2018 19:51:28 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id DF898105C0BC; Sat, 28 Jul 2018 19:51:27 +0000 (UTC) Delivered-To: python@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BDAC4105C0BB for <python@mailman.ysv.freebsd.org>; Sat, 28 Jul 2018 19:51:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2D2B97CFF0 for <python@FreeBSD.org>; Sat, 28 Jul 2018 19:51:27 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 7B8FECB4C for <python@FreeBSD.org>; Sat, 28 Jul 2018 19:51:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w6SJpQfC099033 for <python@FreeBSD.org>; Sat, 28 Jul 2018 19:51:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w6SJpQJ3099032 for python@FreeBSD.org; Sat, 28 Jul 2018 19:51:26 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f 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 Date: Sat, 28 Jul 2018 19:51:26 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: ndowens.fbsd@yandex.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: miwi@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: <bug-230114-21822-krkojj2CHh@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/> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org> List-Unsubscribe: <https://lists.freebsd.org/mailman/options/freebsd-python>, <mailto:freebsd-python-request@freebsd.org?subject=unsubscribe> List-Archive: <http://lists.freebsd.org/pipermail/freebsd-python/> List-Post: <mailto:freebsd-python@freebsd.org> List-Help: <mailto:freebsd-python-request@freebsd.org?subject=help> List-Subscribe: <https://lists.freebsd.org/mailman/listinfo/freebsd-python>, <mailto:freebsd-python-request@freebsd.org?subject=subscribe> X-List-Received-Date: Sat, 28 Jul 2018 19:51:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230114 --- Comment #5 from Nathan <ndowens.fbsd@yandex.com> --- (In reply to Kai from comment #4) > (In reply to Nathan from comment #1) > (In reply to Nathan from comment #3) >=20 > It depends in which context you do apply the patch. If you do e.g. >=20 > > $ cd /path/to/your/ports/tree > > $ svn patch --dry-run ~/scancode-toolkit.patch textproc/ >=20 > from the root of your svn tree, you should get a similar output like belo= w: >=20 > > 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 >=20 > The same result you would get with: >=20 > > $ cd /path/to/your/ports/tree > > $ cd textproc > > $ svn patch --dry-run ~/scancode-toolkit.patch >=20 > The output would be: >=20 > > 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 >=20 > 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: >=20 > > $ 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 >=20 > As for the info about the non-existent origins - have you updated your po= rts > tree? Your ports tree needs to be at least at r475546 to have all the por= ts > that are required to build textproc/scancode-toolkit successfully. https://www.freebsd.org/doc/en/books/porters-handbook/book.html#porting-sub= mitting Example 3.1. Creating a .diff for a New Port Add all the files with svn add. cd to the base of the ports tree so full pa= ths to the changed files are included in the diff, then generate the diff with = svn diff. For example: % svn add . % cd ../.. % svn diff games/oneko > oneko.diff Important: To make it easier for committers to apply the patch on their working copy of the ports tree, please generate the .diff from the base of your ports tree. Updated ports tree and finally seems it found deps needed --=20 You are receiving this mail because: You are on the CC list for the bug.=