Can not add port with name "py3c" (which is name of project!)

Theron theron.tarigo at gmail.com
Sun May 31 23:17:05 UTC 2020



On 2020-05-31 19:13, Christoph Moench-Tegeder wrote:
> ## Lev Serebryakov (lev at FreeBSD.org):
>
>> svn: E165001: Commit failed (details follow):
>> svn: E165001: Commit blocked by pre-commit hook (exit code 1) with output:
>> Adding new py3- ports is forbidden.
>> The Python ports have flavors and do not need the py3- ports.
> https://svnweb.freebsd.org/ports/svnadmin/hooks/scripts/detect-filename.sh?revision=455211&view=markup#l20
>
> There it is. That grep seems overly broad, it needs a -.
> Ping mat and/or portmgr.
>
I just saw the same thing, probably this

if $SVNLOOK changed -t "$TXN" "$REPO" | grep -q -E '^A.*/py3'; then

should be

if $SVNLOOK changed -t "$TXN" "$REPO" | grep -q -E '^A .*/py3[0-9]?-'; then

And for the case in question, if py3c is a C library, not a python 
package, py- prefix does not seem to be appropriate.

Theron


More information about the freebsd-ports mailing list