From owner-svn-ports-head@freebsd.org Tue Feb 9 06:44:52 2016 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 37419AA1F36; Tue, 9 Feb 2016 06:44:52 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pf0-x235.google.com (mail-pf0-x235.google.com [IPv6:2607:f8b0:400e:c00::235]) (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 08CFC21F; Tue, 9 Feb 2016 06:44:52 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pf0-x235.google.com with SMTP id e127so27381704pfe.3; Mon, 08 Feb 2016 22:44:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:reply-to:subject:references:to:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=1NAf+nWJx/PgmaD73HU8DKPJwbkjr9aQ2xGRoiRbwsY=; b=WZh6lx54Qd0uwaMbrw7X2hSJDH8BttAopHp4xojEZVhG7dQ8AJsiFvs7+j360VBlOS unEDsyY7ferXMnBd8DuZp17BZWkMJH4GsFv7eIauP4KsD6nra7MMd+NrJWbBypwEY77H +Kvy3kcjVz6fpOTrDUJynoAstG2ukgtfFUTgQyBCMURgEICwGyjaxSw0O2TcxdorBgji Pg9dHolXf5CDwlZ4Jyh/Tq3h0Gzko8Jg3gagNxsgYoSqWcZwnGvM1s7o1SgJUhpUdK0e NAUWGP3KNv9KQg7AYHrzR2JtjKzSQRC0O9BzDBpW1+SplmX5McWZYCqpoKv7TnbDRA/T 0FZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:reply-to:subject:references:to:cc:from :message-id:date:user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=1NAf+nWJx/PgmaD73HU8DKPJwbkjr9aQ2xGRoiRbwsY=; b=LX+SkH6JxqzCLSpXxXgIRpjZ220VH7K3VspLnh9BIj/9gXnjwO/zzDU6BfAr3o9fRf 0IISSY//Sxu5cpgxpW/STfBCWzhluNkxS3jxayEgi37OIoEwIqyKUVoGbGLJ/+LySh7k SvguNqWr5Y7W36tE3d7YYTOY7exa+22sLUQ9lNPebCMmkelvtytNXEnDQLzafa0+v4gF aVMawi/AV7cS86Ys4YGvdPQ+hO68w3hLnZ4NgRzKDLHxq3vAPsL0lntorHzBxlimhHJ6 US/9pQ/7BlzCAMgc7WxOd+35Euz2F+/IKFzZhA1w4gKNQLCgQsaP+l75H1pMl7czZ1hj F+OQ== X-Gm-Message-State: AG10YOT3xbElN2LHreUUiSIw3vWQBw1lgK9Mu1PeXMmgAX5qE9kW7IfFGw4Zu8vTtzdhtA== X-Received: by 10.98.70.28 with SMTP id t28mr17890179pfa.110.1455000291668; Mon, 08 Feb 2016 22:44:51 -0800 (PST) Received: from ?IPv6:2001:44b8:31ae:7b01:ada3:f1e4:c013:2537? (2001-44b8-31ae-7b01-ada3-f1e4-c013-2537.static.ipv6.internode.on.net. [2001:44b8:31ae:7b01:ada3:f1e4:c013:2537]) by smtp.gmail.com with ESMTPSA id x88sm26322115pfi.66.2016.02.08.22.44.48 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 08 Feb 2016 22:44:51 -0800 (PST) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: svn commit: r408523 - in head/devel: . py-should_dsl References: <201602090642.u196geTf011673@gw.catspoiler.org> To: Don Lewis Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org, python@FreeBSD.org From: Kubilay Kocak Message-ID: <56B98ADB.5040007@FreeBSD.org> Date: Tue, 9 Feb 2016 17:44:43 +1100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:44.0) Gecko/20100101 Thunderbird/44.0 MIME-Version: 1.0 In-Reply-To: <201602090642.u196geTf011673@gw.catspoiler.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 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: Tue, 09 Feb 2016 06:44:52 -0000 On 9/02/2016 5:42 PM, Don Lewis wrote: > On 9 Feb, Kubilay Kocak wrote: >> On 9/02/2016 12:37 PM, Don Lewis wrote: >>> Author: truckman >>> Date: Tue Feb 9 01:37:03 2016 >>> New Revision: 408523 >>> URL: https://svnweb.freebsd.org/changeset/ports/408523 >>> >>> Log: >>> Add py-should_dsl port: >>> >>> Should assertions in Python as clear and readable as possible >>> >>> The goal of Should-DSL is to write should expectations in Python >>> as clear and readable as possible, using "almost" natural language >>> (limited - sometimes - by the Python language constraints). >>> >>> Sponsored by: Farsight Security, Inc. >>> >>> Added: >>> head/devel/py-should_dsl/ >>> head/devel/py-should_dsl/Makefile (contents, props changed) >>> head/devel/py-should_dsl/distinfo (contents, props changed) >>> head/devel/py-should_dsl/pkg-descr (contents, props changed) >>> Modified: >>> head/devel/Makefile >>> >>> Modified: head/devel/Makefile >>> ============================================================================== >>> --- head/devel/Makefile Tue Feb 9 01:34:41 2016 (r408522) >>> +++ head/devel/Makefile Tue Feb 9 01:37:03 2016 (r408523) >>> @@ -4340,6 +4340,7 @@ >>> SUBDIR += py-setuptools_hg >>> SUBDIR += py-setuptools_scm >>> SUBDIR += py-sh >>> + SUBDIR += py-should_dsl >>> SUBDIR += py-shapely >>> SUBDIR += py-simplegeneric >>> SUBDIR += py-simplejson >>> >>> Added: head/devel/py-should_dsl/Makefile >>> ============================================================================== >>> --- /dev/null 00:00:00 1970 (empty, because file is newly added) >>> +++ head/devel/py-should_dsl/Makefile Tue Feb 9 01:37:03 2016 (r408523) >>> @@ -0,0 +1,19 @@ >>> +# $FreeBSD$ >>> + >>> +PORTNAME= should_dsl >>> +PORTVERSION= 2.1.2 >>> +CATEGORIES= devel python >>> +MASTER_SITES= CHEESESHOP >>> +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >>> + >>> +MAINTAINER= truckman@FreeBSD.org >>> +COMMENT= Should assertions in Python as clear and readable as possible >>> + >>> +LICENSE= MIT >>> +LICENSE_FILE= ${WRKSRC}/LICENSE >>> + >>> +NO_ARCH= yes >>> +USES= python >> >> Since the last update of this package was in 2012 and the trove >> classifiers in the PyPI only specify "up to 3.2": >> >> Programming Language :: Python >> Programming Language :: Python :: 2 >> Programming Language :: Python :: 2.4 >> Programming Language :: Python :: 2.5 >> Programming Language :: Python :: 2.6 >> Programming Language :: Python :: 3 >> Programming Language :: Python :: 3.2 >> >> .. it's probably worth limiting this to :-3.2 (if not :-2.7) unless it >> explicitly passes runtime and unit tests (if it has them) on all 3.x >> versions. > > It definitely seems to work with 2.7. It doesn't have any unit tests. I'd go with -3.2 (default to what upstream says( until it can be tested for all 3.x versions. Shame about the lack of tests, these are super handy in these situations > >> For all Python porters: >> >> Use of USES=python should be limited to those cases where *all or any* >> python versions are explicitly declared, supported and tested, whether >> those versions are in the tree as lang/pythonXY ports or not. >> >> TLDR: When it comes to declaring dependencies in general, and python >> version dependencies in particular: >> >> Explicit > Implicit (PEP20) >> Declarative > Imperative >> >>> +USE_PYTHON= distutils autoplist >>> + >>> +.include >>> >>> Added: head/devel/py-should_dsl/distinfo >>> ============================================================================== >>> --- /dev/null 00:00:00 1970 (empty, because file is newly added) >>> +++ head/devel/py-should_dsl/distinfo Tue Feb 9 01:37:03 2016 (r408523) >>> @@ -0,0 +1,2 @@ >>> +SHA256 (should_dsl-2.1.2.tar.gz) = 36f753d90fbdf84ef2b7a9e07813e3efac725376feb7a793549f3fff7a03232a >>> +SIZE (should_dsl-2.1.2.tar.gz) = 13650 >>> >>> Added: head/devel/py-should_dsl/pkg-descr >>> ============================================================================== >>> --- /dev/null 00:00:00 1970 (empty, because file is newly added) >>> +++ head/devel/py-should_dsl/pkg-descr Tue Feb 9 01:37:03 2016 (r408523) >>> @@ -0,0 +1,3 @@ >>> +Should assertions in Python as clear and readable as possible >>> + >>> +WWW: https://pypi.python.org/pypi/should_dsl >> >> Minor nit: PyPI packages pkg-descr WWW: URL should match that in the >> setup.py:homepage (or url) field: >> >> http://www.should-dsl.info > > It looks like that domain has changed hands ... Gah! :) Carry on!