From owner-svn-ports-head@freebsd.org Wed Mar 27 09:27:03 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AC92A154A3B4; Wed, 27 Mar 2019 09:27:03 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2D2A86D8CA; Wed, 27 Mar 2019 09:27:03 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pf1-x443.google.com with SMTP id t21so9451211pfe.2; Wed, 27 Mar 2019 02:27:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:reply-to:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=T2yQbX06J5JtaqGno6vEAuiDO4AkjOlmau8op7EA/54=; b=O8BLdcIYc+QPp5Tb7Bl3sMSKojwi2LjVmkNtjy/TVU5Un152A/jkd7vhYfTH/SofJD VvD5GiLHK9qXfrm1A2teafw/qNRWraYZrKSP6Fn24mCEDVxs8OdaY0VzGWM6PM2b77mk XJv9NK7L7mQ1z+a7NIFfuA/+65104baOjSUZWoYyW8X/iihC1LpwZs20f5TYia7Yzi4z hiOIwyijXVUuIQ3brigdSOtHg5AH7H1UIPiaBMcE1MuigTXOrVr3r4EqSW+CF5BokQHk D0k3yGMc4b15zX7asTvfF31UInQeZSuYyhKlrXOPd9IitZzv9W5pKx4rmbg8zW22ie39 PdFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:reply-to:subject:to:references:from :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=T2yQbX06J5JtaqGno6vEAuiDO4AkjOlmau8op7EA/54=; b=BpwrOFMR795gMkaoNaOZYtyLzKHB5oE0DQhsQy1Nv4iivogL5TMyqNF2kpJ4vS6x8J n0JMbRAX7n4pDqlOMLFv7fvhcRV4dGJmKgaXJm9yhJMf69HHAwhyVkg1Yl49zXgY28wA 5KvkQO2tK19OMUusndJKV5KYuTxyhjTCYch9AUCjkonbqfz01bhFCi3ZzgKKEuMmw0L/ /1oS8aCgfDx308Zg79WKyDby/TOXF4StIJ3Smiy55YjUCN3pNMrZhWGUgYvcjqLRTmfM vCu1xydrOfauxd9BpImGd5fG9vwr+aBjeXLhnh5oyVQNEIAQSW7iYZO88VleQ3aPTrAe AD+Q== X-Gm-Message-State: APjAAAW+BTWda/DuuHlkUTRJKDjKRo5GGgdLldq2FSJBOWg7LhT4KZug mI8RIz83eIimoXvJEBPGziNU4yhl X-Google-Smtp-Source: APXvYqx+9n9ig5VyyweCq01mv7+BRWUXTIBqkwhcXyyK//gVLGYJq5vV1YWFLap75FWGhFelUFK3CA== X-Received: by 2002:a62:1bc7:: with SMTP id b190mr7396733pfb.29.1553678821651; Wed, 27 Mar 2019 02:27:01 -0700 (PDT) Received: from ?IPv6:2403:5800:7100:5d01:f1a8:59de:ec2c:25f8? (2403-5800-7100-5d01-f1a8-59de-ec2c-25f8.ip6.aussiebb.net. [2403:5800:7100:5d01:f1a8:59de:ec2c:25f8]) by smtp.gmail.com with ESMTPSA id z128sm44653209pfz.107.2019.03.27.02.26.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 27 Mar 2019 02:27:00 -0700 (PDT) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: svn commit: r496937 - in head/devel: . py-cftime To: Wen Heping , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org, python References: <201903270836.x2R8aVaj030148@repo.freebsd.org> From: Kubilay Kocak Message-ID: Date: Wed, 27 Mar 2019 20:26:56 +1100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:66.0) Gecko/20100101 Thunderbird/66.0 MIME-Version: 1.0 In-Reply-To: <201903270836.x2R8aVaj030148@repo.freebsd.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 2D2A86D8CA X-Spamd-Bar: ------ Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-6.96 / 15.00]; NEURAL_HAM_MEDIUM(-0.99)[-0.992,0]; NEURAL_HAM_SHORT(-0.97)[-0.970,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 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: Wed, 27 Mar 2019 09:27:03 -0000 On 27/03/2019 7:36 pm, Wen Heping wrote: > +do-test: > + @cd ${WRKSRC} && py.test Use the specific Python version for this invocation, as only the default version of py.test gets the version-less script name, so it wont work for non-default builds of this port. ${PYTHON_CMD} -m pytest (preferred) or LOCALBASE/bin/py.test-${PYTHON_VER) If the setup.py file has an integrated test command (try python setup.py test to check), this becomes the preferred method: ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test