Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Oct 2017 07:27:35 +0200
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Marcelo Araujo <araujobsdport@gmail.com>
Cc:        araujo@freebsd.org, "svn-ports-head\@freebsd.org" <svn-ports-head@freebsd.org>, "svn-ports-all\@freebsd.org" <svn-ports-all@freebsd.org>, ports-committers <ports-committers@freebsd.org>
Subject:   Re: svn commit: r451109 - in head: . sysutils sysutils/iocage sysutils/py3-iocage
Message-ID:  <8tgs-g5rs-wny@FreeBSD.org>
In-Reply-To: <CAOfEmZhOONBXaNQ60TzCa80ZwOVTqfMAZd99tjCdKtOX06UO_Q@mail.gmail.com> (Marcelo Araujo's message of "Tue, 3 Oct 2017 13:17:01 %2B0800")
References:  <201710030241.v932fWjX078115@repo.freebsd.org> <8tgs-khgn-wny@FreeBSD.org> <CAOfEmZhUBY69-%2B_2wtMKa=-zPLPBQF_tn2h0Wat_Vm0WSPt09w@mail.gmail.com> <60bw-iznr-wny@FreeBSD.org> <CAOfEmZhOONBXaNQ60TzCa80ZwOVTqfMAZd99tjCdKtOX06UO_Q@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Marcelo Araujo <araujobsdport@gmail.com> writes:

> 2017-10-03 13:11 GMT+08:00 Jan Beich <jbeich@freebsd.org>:
>
>> Marcelo Araujo <araujobsdport@gmail.com> writes:
>>
>> > 2017-10-03 12:01 GMT+08:00 Jan Beich <jbeich@freebsd.org>:
>> >
>> >> Marcelo Araujo <araujo@FreeBSD.org> writes:
>> >>
>> >> > Author: araujo
>> >> > Date: Tue Oct  3 02:41:32 2017
>> >> > New Revision: 451109
>> >> > URL: https://svnweb.freebsd.org/changeset/ports/451109
>> >> >
>> >> > Log:
>> >> >   Rename py3-iocage to iocage as by now we don't have more conflicts
>> with
>> >> >   the old iocage version
>> >>
>> >> If you mean CONFLICTS = py-iocage-[0-9]* then it never worked as package
>> >> comparison failed on underspecificed pyXY- prefix.
>> >>
>> >
>> > We used to have py-iocage, here the CONFLICTS isn't for checking pyXY.
>> >
>> > sysutils/iocage-devel||2017-04-10|Has expired: Outdated version. Please
>> use
>> > sysutils/py-iocage instead
>> > sysutils/iocage||2017-04-10|Has expired: Outdated version. Please use
>> > sysutils/py-iocage instead
>>
>> What is the CONFLICTS line for then? Try installing sysutils/py-iocage
>> then proceed to install sysutils/iocage and notice CONFLICTS doesn't
>> abort early but proceeds to install dependencies and iocage itself until
>> a file conflict occurs.
>>
>
> We don't have sysutils/py-iocage anymore in the portstree.
> sysutils/py-iocage|sysutils/py3-iocage|2017-07-10|Has expired: obsoleted by
> sysutils/py3-iocage port using Python 3 instead of Python 2
>
> But I can't avoid that maybe some legacy systems might still ran py-iocage.

Have you actually tested such a scenario? The CONFLICTS line is
currently a nop. Here's how to make it work.

$ svn up -qr445458 sysutils/py-iocage
$ make install -C sysutils/py-iocage
[...]
$ make install -C sysutils/iocage

===>  py36-iocage-0.9.9.2 conflicts with installed package(s):
      py27-iocage-0.9.5_1

      They install files into the same place.
      You may want to stop build with Ctrl + C.

Index: sysutils/iocage/Makefile
===================================================================
--- sysutils/iocage/Makefile	(revision 451112)
+++ sysutils/iocage/Makefile	(working copy)
@@ -29,6 +29,6 @@ NO_ARCH=	yes
 USES=		python:3.6
 USE_PYTHON=	autoplist distutils
 
-CONFLICTS=	py-iocage-[0-9]*
+CONFLICTS=	py27-iocage-[0-9]*
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8tgs-g5rs-wny>