From owner-svn-ports-head@FreeBSD.ORG Sat Aug 23 13:11:08 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7CF7198A; Sat, 23 Aug 2014 13:11:08 +0000 (UTC) Received: from mail-pd0-x231.google.com (mail-pd0-x231.google.com [IPv6:2607:f8b0:400e:c02::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3956632F6; Sat, 23 Aug 2014 13:11:08 +0000 (UTC) Received: by mail-pd0-f177.google.com with SMTP id p10so16868453pdj.8 for ; Sat, 23 Aug 2014 06:11:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:reply-to:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=LZb42MNXehP5ocPIO4S7qi24rHZlb7/Aav86CablS7o=; b=AMOcMYmKXf4ieWLILIB7b2FTGs1e9WCeaqfYKq8DYzH+5SJsUewF42Lqc3rDl5CH2G 9Sh1VpvECXush0WWHmXYcsLgs81VoDdrgFjIh+qUpd1kHhWlklvx3wYCI1p1NGhnlIng 9P0CzTyS1LlWeSxcN68Z4ehAV3k9sbNioYnHYxmV019/PuBMLSqLL02++r/EqzDnAIxV 6CadGYk7/HKzO9dDf6J20x9KobBBmP7et9WKzka6h6IrT8l8JBl3HYypcJDwLTCYll0e gE1ZCVREpp1549mFGDgJFUPy2ZeHUUBg2IhclK0+cUY1vdqYfgd2fxyJaSAbX4JYiY3s 1nCg== X-Received: by 10.68.186.33 with SMTP id fh1mr13538613pbc.105.1408799467343; Sat, 23 Aug 2014 06:11:07 -0700 (PDT) Received: from [192.168.1.7] (ppp59-167-128-11.static.internode.on.net. [59.167.128.11]) by mx.google.com with ESMTPSA id f9sm48337219pdp.43.2014.08.23.06.11.04 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 Aug 2014 06:11:06 -0700 (PDT) Sender: Kubilay Kocak Message-ID: <53F892E1.9000809@FreeBSD.org> Date: Sat, 23 Aug 2014 23:10:57 +1000 From: Kubilay Kocak Reply-To: koobs@FreeBSD.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:32.0) Gecko/20100101 Thunderbird/32.0 MIME-Version: 1.0 To: Matthias Andree , Bryan Drewery , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r365566 - head/Tools/scripts References: <201408211556.s7LFuE0p041046@svn.freebsd.org> <53F61E42.4050104@FreeBSD.org> <53F6267E.9020909@FreeBSD.org> <53F62802.3030006@FreeBSD.org> <53F62AB5.6060802@FreeBSD.org> <53F846E6.6000307@FreeBSD.org> In-Reply-To: <53F846E6.6000307@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 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: Sat, 23 Aug 2014 13:11:08 -0000 On 23/08/2014 5:46 PM, Matthias Andree wrote: > Am 21.08.2014 um 19:21 schrieb Kubilay Kocak: > >> We probably could have used one of these in python@ for cleaning up >> setuptools (old) and distribute remnants that caused many issues for >> users as we chased upstream, even with good instructions in UPDATING >> (since we couldnt cover all cases) >> >> I wonder too, to what extent a relatively generic interface for these >> things might be possible. > > I wonder if an "annotated list" of versions would help the pkg solver > handle these; if the metadata for a new package lists "Obsoletes: > blah<3.0" then the solver would automatically remove blah<3.0. > > I haven't investigated how far the automatic solving in pkg works for > such situations especially if you have the version part of the package > name as in py27-* and py34-*, or db48 vs. db6. > > Basically it is a question if there are alternative versions to choose > from on one hand, or on the other hand there is a clear (to the tool, > anyways) upgrade path for a package that has gone away, like db43 to db5. > I just landed devel/picosat, the SAT solver used in the latest versions of pkg, and devel/py-pycosat, Python interface to the former. They might help you answer some of the above questions, let me know if they do :) -- koobs