From owner-svn-ports-all@freebsd.org Thu May 28 20:23:49 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id F328A2FCA49; Thu, 28 May 2020 20:23:48 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49Xzg866gmz46Bw; Thu, 28 May 2020 20:23:48 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id CD43CC15B; Thu, 28 May 2020 20:23:48 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 04SKNmeo032343; Thu, 28 May 2020 20:23:48 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 04SKNla1032338; Thu, 28 May 2020 20:23:47 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <202005282023.04SKNla1032338@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Thu, 28 May 2020 20:23:47 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r536815 - in head/devel: . py-hypothesmith py-hypothesmith/files X-SVN-Group: ports-head X-SVN-Commit-Author: amdmi3 X-SVN-Commit-Paths: in head/devel: . py-hypothesmith py-hypothesmith/files X-SVN-Commit-Revision: 536815 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 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: Thu, 28 May 2020 20:23:49 -0000 Author: amdmi3 Date: Thu May 28 20:23:47 2020 New Revision: 536815 URL: https://svnweb.freebsd.org/changeset/ports/536815 Log: Add devel/py-hypothesmith Hypothesis strategies for generating Python programs, something like CSmith. WWW: https://github.com/Zac-HD/hypothesmith Added: head/devel/py-hypothesmith/ head/devel/py-hypothesmith/Makefile (contents, props changed) head/devel/py-hypothesmith/distinfo (contents, props changed) head/devel/py-hypothesmith/files/ head/devel/py-hypothesmith/files/patch-setup.py (contents, props changed) head/devel/py-hypothesmith/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Thu May 28 20:00:47 2020 (r536814) +++ head/devel/Makefile Thu May 28 20:23:47 2020 (r536815) @@ -4469,6 +4469,7 @@ SUBDIR += py-humanize SUBDIR += py-hvac SUBDIR += py-hypothesis + SUBDIR += py-hypothesmith SUBDIR += py-icalendar SUBDIR += py-ice SUBDIR += py-ice37 Added: head/devel/py-hypothesmith/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-hypothesmith/Makefile Thu May 28 20:23:47 2020 (r536815) @@ -0,0 +1,27 @@ +# Created by: Dmitry Marakasov +# $FreeBSD$ + +PORTNAME= hypothesmith +PORTVERSION= 0.1.2 +CATEGORIES= devel +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= amdmi3@FreeBSD.org +COMMENT= Hypothesis strategies for generating Python programs + +LICENSE= MPL20 + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}hypothesis>=0:devel/py-hypothesis@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}lark-parser>=0:devel/py-lark-parser@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}libcst>=0:devel/py-libcst@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}tox>0:devel/py-tox@${PY_FLAVOR} + +USES= python:3.6+ +USE_PYTHON= autoplist distutils +NO_ARCH= yes + +do-test: + @cd ${WRKSRC} && ${SETENV} ${TEST_ENV} ${LOCALBASE}/bin/tox-${PYTHON_VER} --sitepackages + +.include Added: head/devel/py-hypothesmith/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-hypothesmith/distinfo Thu May 28 20:23:47 2020 (r536815) @@ -0,0 +1,3 @@ +TIMESTAMP = 1590688634 +SHA256 (hypothesmith-0.1.2.tar.gz) = 46ebfac39be46d77c119e9725b9f611453573a053358cf7a2a64db79b50e6324 +SIZE (hypothesmith-0.1.2.tar.gz) = 13046 Added: head/devel/py-hypothesmith/files/patch-setup.py ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-hypothesmith/files/patch-setup.py Thu May 28 20:23:47 2020 (r536815) @@ -0,0 +1,14 @@ +Allow to use hypothesis 4.x, which works just fine. + +Remove this patch when py-hypothesis is updated to >=5.10.4 +--- setup.py.orig 2020-05-17 15:41:01 UTC ++++ setup.py +@@ -32,7 +32,7 @@ setuptools.setup( + license="MPL 2.0", + description="Hypothesis strategies for generating Python programs, something like CSmith", + zip_safe=False, +- install_requires=["hypothesis>=5.10.4", "lark-parser>=0.7.2", "libcst>=0.3.4"], ++ install_requires=["hypothesis>=4.57.1", "lark-parser>=0.7.2", "libcst>=0.3.4"], + python_requires=">=3.6", + classifiers=[ + "Development Status :: 2 - Pre-Alpha", Added: head/devel/py-hypothesmith/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-hypothesmith/pkg-descr Thu May 28 20:23:47 2020 (r536815) @@ -0,0 +1,3 @@ +Hypothesis strategies for generating Python programs, something like CSmith. + +WWW: https://github.com/Zac-HD/hypothesmith