From owner-svn-ports-head@freebsd.org Thu Mar 2 18:13:15 2017 Return-Path: Delivered-To: svn-ports-head@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 E784BCF4D7B for ; Thu, 2 Mar 2017 18:13:15 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: from mail-ot0-x232.google.com (mail-ot0-x232.google.com [IPv6:2607:f8b0:4003:c0f::232]) (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 68519A80 for ; Thu, 2 Mar 2017 18:13:14 +0000 (UTC) (envelope-from sunpoet@sunpoet.net) Received: by mail-ot0-x232.google.com with SMTP id x37so13271980ota.2 for ; Thu, 02 Mar 2017 10:13:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sunpoet-net.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=MXoDOp9AqQ+4Z1NsjCX3AQJXtwkYgKRDLgBCzTTZYzM=; b=LAznrOzAiF9j4o9zPqnzaPt5VOVkZulzQiPIJFXSlE34nflILk6ggAP97As+kseB50 M9odn/nB1jpGzQAyGBMQT9/nf6wMZLW7gBxyOw2eb5C5cL2q6jROMSC7YvQhjC/Jo5ce m13mtvm6A0Po0Bar1J0TP0mzdS7wG4IAcR/z8b2dTN/ezUSBwmVJORwEukRVIcs3h+X+ cpbPqG9q1gfBQj42yzS2T4IkBY0MYcBJkOQRgGye+ByqnZq3MxBODw0ryvVT4amIPHhg yhzf8/AQV7NDQjy/fWT7dIO1UmuCsxidjwNBoQKLvlNXUVn/seLb60I6HmTtB41NT/1j rrhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=MXoDOp9AqQ+4Z1NsjCX3AQJXtwkYgKRDLgBCzTTZYzM=; b=Euw9VbXIy3qiiBy4p+sJW9GptFCByOd+H5GiHFWYYkohwuWZNT+gAoUWSF8fAoaAdE n7GD2jnu6vjEjlax4txqZSBA7MwWB6q987JeaLaNub6ZRVuVEY7US1ceY84PYtGyEqfn /suVXc2XiGRu7GbBSip4xf9y2kJHeoQvJ+y/cvjJ3sotgVK0jQEkAqDcuIB9ptfr549Z yv7KoVF56KG42rJTQxgrIqxK0HSl9Tl96rikjdxnsBIA4D0Ys0aTXFJ7o+1/KjWWAuCE +lzRBPMezjMsuSsN1ohhj+ckZCjz97R2D+T9uPmSskUxraKd1T2RLqj07Ygzc6RpOdtS mVJA== X-Gm-Message-State: AMke39nvtEgC97bIYbDghmRYm8BsT/reC7HACAWR3sNBBMvMTyeu81ncV3RuIQ30LVgIPRANYPj8svAoHgf6Ag== X-Received: by 10.157.27.12 with SMTP id l12mr7091034otl.199.1488478393991; Thu, 02 Mar 2017 10:13:13 -0800 (PST) MIME-Version: 1.0 Sender: sunpoet@sunpoet.net Received: by 10.157.14.38 with HTTP; Thu, 2 Mar 2017 10:12:33 -0800 (PST) In-Reply-To: References: <201702280945.v1S9jF0K067267@repo.freebsd.org> <20170228152911.GA85667@hades.panopticon> From: Sunpoet Po-Chuan Hsieh Date: Fri, 3 Mar 2017 02:12:33 +0800 X-Google-Sender-Auth: 4nnE0DYC5vX36XeeKqUeGZGoC4w Message-ID: Subject: Re: svn commit: r435017 - head/devel/p5-Contextual-Return To: Mathieu Arnold Cc: Dmitry Marakasov , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Mar 2017 18:13:16 -0000 On Wed, Mar 1, 2017 at 4:16 PM, Mathieu Arnold wrote: > Le 28/02/2017 =C3=A0 16:29, Dmitry Marakasov a =C3=A9crit : > > * Sunpoet Po-Chuan Hsieh (sunpoet@FreeBSD.org) wrote: > > > >> Date: Tue Feb 28 09:45:15 2017 > >> New Revision: 435017 > >> URL: https://svnweb.freebsd.org/changeset/ports/435017 > >> > >> Log: > >> Update to 0.004010 > >> > >> - Use real PORTVERSION > > Thank you for these! > > I am not sure these version changes are a good idea. > Perl versions do not behave the same as Port versions, in some very > radical ways, for example, in Perl land, 1.1 > 1.1.1 (because 1.1.1 > really means 1.001001) > All the ports that have been converted to use the real version numbers > will see their PORTEPOCH bumped a lot as number go ahead. > > # for i in 1.1,1.1.1 1.052012,1.053; do echo ${i/,/ }; perl > -MCPAN::Version -e 'print CPAN::Version->vcmp("'${i%,*}'", "'${i#*,}'"), > "\n"'; pkg version -t ${i%,*} ${i#*,}; done > 1.1 1.1.1 > 1 > < > 1.052012 1.053 > -1 > > > > -- > Mathieu Arnold > > > I'm not going to replace all PORTVERSION-hacking cases with the real ones. I only do it when the upstream already released several versions in current format of version number. Take this one for example, there are only 4 versions on CPAN. They are 0.004007, 0.004008, 0.004009 and 0.004010.