From owner-freebsd-python@freebsd.org  Thu Oct 26 11:52:56 2017
Return-Path: <owner-freebsd-python@freebsd.org>
Delivered-To: freebsd-python@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id B2327E470A4
 for <freebsd-python@mailman.ysv.freebsd.org>;
 Thu, 26 Oct 2017 11:52:56 +0000 (UTC)
 (envelope-from koobs.freebsd@gmail.com)
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 89A64774B8
 for <freebsd-python@freebsd.org>; Thu, 26 Oct 2017 11:52:56 +0000 (UTC)
 (envelope-from koobs.freebsd@gmail.com)
Received: by mailman.ysv.freebsd.org (Postfix)
 id 84EAAE470A2; Thu, 26 Oct 2017 11:52:56 +0000 (UTC)
Delivered-To: python@mailman.ysv.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org
 [IPv6:2001:1900:2254:206a::19:1])
 by mailman.ysv.freebsd.org (Postfix) with ESMTP id 82837E470A1;
 Thu, 26 Oct 2017 11:52:56 +0000 (UTC)
 (envelope-from koobs.freebsd@gmail.com)
Received: from mail-pf0-x229.google.com (mail-pf0-x229.google.com
 [IPv6:2607:f8b0:400e:c00::229])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (Client CN "smtp.gmail.com",
 Issuer "Google Internet Authority G2" (verified OK))
 by mx1.freebsd.org (Postfix) with ESMTPS id 4DAE9774B7;
 Thu, 26 Oct 2017 11:52:56 +0000 (UTC)
 (envelope-from koobs.freebsd@gmail.com)
Received: by mail-pf0-x229.google.com with SMTP id z11so2339234pfk.4;
 Thu, 26 Oct 2017 04:52:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=sender:reply-to:subject:to:references:from:cc:message-id:date
 :user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=LZr8zLT05HX7wHmbrbsaAi2lCERzjWN1IdFgnL7OvGc=;
 b=iZsHB5FGZx34TriviIuMbMhsGwAJ9x1+ZQ20IrX1fCVPH4ejnT8+lE00SKvWSdal+H
 31IGOANwCMalUjNJSiiRsTNm28I9vxdRVDf7YlfsLcmE5QSkxUhyD64fcYPwJm9Iyjfn
 JMV4M/oF/1DVccFZrDaTvyleQjdOACwaKsV7w85B9ceMVXcQrlsQmNaJQXy6i3pBYAQr
 Xuxt3O2vWIPF1lbgJ7s5PtVckrgRNt5gkiTdQaYrYlvSUgAS39JN95mIl6z8o1xnxtrT
 eu0t+m/FgOlzzRfapw2IK6pNCcl2CVwU35Nc06LNVPZbpTIwZSOqqZsTnR0aGBgsvjAA
 CyFw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:sender:reply-to:subject:to:references:from:cc
 :message-id:date:user-agent:mime-version:in-reply-to
 :content-language:content-transfer-encoding;
 bh=LZr8zLT05HX7wHmbrbsaAi2lCERzjWN1IdFgnL7OvGc=;
 b=sFk0ii6IrxB+wC8yrkItXMOPZ/7cfCGO29J+KEoaUIbFV516Cmx/aAymLq3BQZ5Ktc
 QSM2fzjzroPNRWYnoqN0b/gL5VuqC/cwCyA89L7FqkIcpQuFJNlQxFO6xSILqXLaWgRJ
 0NEHkV5PNN8Kz7BUv1Px++admzpT+YcLMVbmEPuvJnVAUU0WKiTfaajaMb55yhxXHdJ8
 emF1SNP/S6GUMr3G6qKaFMzAQqtlKsd4OBIy3oeCpgwUMXObPrh8ZCYsZ4xzJ22qujdN
 eGRgikL+d7DFP6HJHB2peg6UI6ojNv2El8OGPuak8ufH7mY4b3HB447wkAghB0lGKihQ
 aqPg==
X-Gm-Message-State: AMCzsaUbcJQrncyCHeBNau06nyT6T+4J5F87QFarNjnVrggxZc63M82y
 5aBPO2zsh/dUvrYcMZGMaliv7diC
X-Google-Smtp-Source: ABhQp+TMaNTFnHwW3VF0Tesl9bR2ZULwzV3MExfBf2C97Ok9xLcJiUxRstqsr0pXq3Kj2hUU1Dkpsg==
X-Received: by 10.98.60.211 with SMTP id b80mr5227219pfk.4.1509018775518;
 Thu, 26 Oct 2017 04:52:55 -0700 (PDT)
Received: from ?IPv6:2001:44b8:31ae:7b01:9442:79f1:c7c:81a3?
 (2001-44b8-31ae-7b01-9442-79f1-0c7c-81a3.static.ipv6.internode.on.net.
 [2001:44b8:31ae:7b01:9442:79f1:c7c:81a3])
 by smtp.gmail.com with ESMTPSA id n29sm9005054pgd.74.2017.10.26.04.52.53
 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
 Thu, 26 Oct 2017 04:52:55 -0700 (PDT)
Sender: Kubilay Kocak <koobs.freebsd@gmail.com>
Reply-To: koobs@FreeBSD.org
Subject: Re: Files conflicts in ports
To: "L.Bartoletti" <lbartoletti@tuxfamily.org>
References: <c2aa414c-071c-40ae-1c89-25ae6b955091@osorio.me>
 <4b8e99ea-a9d9-c065-13a6-d54142cb2556@tuxfamily.org>
From: Kubilay Kocak <koobs@FreeBSD.org>
Cc: freebsd-ports@freebsd.org, python <python@FreeBSD.org>
Message-ID: <649b431c-3eba-c1ed-fa70-68a6c19850db@FreeBSD.org>
Date: Thu, 26 Oct 2017 22:45:53 +1100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101
 Thunderbird/54.0a2
MIME-Version: 1.0
In-Reply-To: <4b8e99ea-a9d9-c065-13a6-d54142cb2556@tuxfamily.org>
Content-Type: text/plain; charset=utf-8
Content-Language: en-AU
Content-Transfer-Encoding: 8bit
X-BeenThere: freebsd-python@freebsd.org
X-Mailman-Version: 2.1.23
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: Thu, 26 Oct 2017 11:52:56 -0000

On 10/26/17 3:58 PM, L.Bartoletti wrote:
> Hi Rodrigo,
> 
> Thank you for this precious tool.
> 
> One question, seeing one of my ports which have conflicts
> (devel/py-gtfslib
> http://pkgtool.osorio.me/conflicts/lbartoletti@tuxfamily.org.html). Is
> it or not good to install test files?


They're all effectively upstream bugs: installing modules into shared
locations. 'tests' is a common enough module name that its one of the
most easily observed in practice.

There's nothing intrinsically wrong with tests being installed, but they
should be under/within their package module directories.

Most projects exclude them (from installation) with something like:

packages = find_packages(exclude=[...]),

Though doing the above for a project with this packaging 'bug' is not
really the correct solution. Maybe for a short term
files/patch-setup.py, but report it upstream

> Regards.
> 
> Loïc
> 
> On 10.10.2017 20:52, Rodrigo Osorio wrote:
>> Dear port maintainers,
>>
>> It appears that a number of ports install files with the same names at
>> the same locations,
>> causing file conflicts and unexpected behaviors for users.
>>
>> To help solving this issue I ran a tool to list per maintainer the
>> conflicting ports with
>> the list of impacted files ; the list is updated every day at 4am UTC.
>>
>> http://pkgtool.osorio.me/conflicts/
>>
>> I believe most of the conflicts are trivial and can be solved with a
>> proper declaration in the CONFLICTS variable.
>> So take a look at it and don't hesitate to come back to me if you have
>> questions.
>>
>> best regards,
>>
>> - rodrigo
>>