From owner-svn-ports-all@freebsd.org Tue Feb 9 06:30:17 2016 Return-Path: Delivered-To: svn-ports-all@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 6AF30AA156B; Tue, 9 Feb 2016 06:30:17 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pf0-x233.google.com (mail-pf0-x233.google.com [IPv6:2607:f8b0:400e:c00::233]) (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 3C4A41788; Tue, 9 Feb 2016 06:30:17 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pf0-x233.google.com with SMTP id c10so55901912pfc.2; Mon, 08 Feb 2016 22:30:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:reply-to:subject:references:to:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=77ItMlJ09a4+kuqP7zQeX9Q7rvVoQJ9nooTldd2t90o=; b=dpyDv9O8qdGKF7MF4H8BLfLVUgw/I3fGC4gEPudMvfoG6ODc8vejdvw7sBpuEi32ph aPyCZmBuwiVOTlqQRM37X08eFpgZncO9Q+frLYuO5oiXw3T5prFKwwZWH9cJo+rpDxkp 2cQvS2DquRxDeJx6YDYpRUvPtecTo+qgl52MJgz3bhwOIAo19wua2l5IAzvHDDrlURc9 ybE5EMIkwOaMtyTb1M9Qf0cG4YzfedVsJ16aCFOJYwxM3c0U84bGpjxf+cOz0M3elqhL ADCqIkJhu2lSlNme9KuMFyNKch5CzuZdtGd0z3pNPqxCAjjnB5eMgaWB4DNlqMe+FkDx nMeg== 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:from :message-id:date:user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=77ItMlJ09a4+kuqP7zQeX9Q7rvVoQJ9nooTldd2t90o=; b=IEv77BEq+/oJbndx8R2SomeVxz9ITgeN4WG2FTs0HfTAupoqzWl95suZ/3s6+vtMGE 3/3BD8Ap9ekalN3AbW2DfQnKHVcsvZChBN4ej9H9diLZY+DqoA8AD8RyKBAgbtx8qI59 18wkyCCb1+mMvwnhCQKIMJvn/te9WS2/yjDCgMb8qdxZbngkpkLDs015NlpiMz1SQk40 zHympB9Jlat6TCz1V29LYy4pSCHeUXCZYhSEqFUhEa0ZRVYX1UH20fl5JrJBZJ9hN/Hh Ly0rofjx8C+2dmIyuA/K3XpvMWRbXgF94efiZDuAi7xU+kwo1LMyiJM+nUS5ULEOE6jc tfxQ== X-Gm-Message-State: AG10YOTJgqdXefWh0hRHuX5jyOpOFP1SyJhHzzyLwGZoEEbWDz6Tyh269BnEY8fo3OtwSQ== X-Received: by 10.98.8.200 with SMTP id 69mr48814143pfi.39.1454999416835; Mon, 08 Feb 2016 22:30:16 -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 z3sm47620418par.17.2016.02.08.22.30.14 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 08 Feb 2016 22:30:16 -0800 (PST) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: svn commit: r408523 - in head/devel: . py-should_dsl References: <201602090137.u191b3Bv016576@repo.freebsd.org> To: Don Lewis , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org, python From: Kubilay Kocak X-Enigmail-Draft-Status: N1110 Message-ID: <56B98771.7050706@FreeBSD.org> Date: Tue, 9 Feb 2016 17:30:09 +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: <201602090137.u191b3Bv016576@repo.freebsd.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Feb 2016 06:30:17 -0000 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. 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