From owner-dev-commits-ports-all@freebsd.org Wed Sep 29 05:34:31 2021 Return-Path: Delivered-To: dev-commits-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 1D0BE66BC5A; Wed, 29 Sep 2021 05:34:31 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HK4nL75Lqz4ST0; Wed, 29 Sep 2021 05:34:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C3AB612579; Wed, 29 Sep 2021 05:34:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 18T5YUIU048683; Wed, 29 Sep 2021 05:34:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 18T5YUxF048682; Wed, 29 Sep 2021 05:34:30 GMT (envelope-from git) Date: Wed, 29 Sep 2021 05:34:30 GMT Message-Id: <202109290534.18T5YUxF048682@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: ac0d262392a0 - main - math/py-pytanque: New port: Petanque static python bindings MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ac0d262392a0d3175881eba4f19e47c30c9b9886 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Sep 2021 05:34:31 -0000 The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=ac0d262392a0d3175881eba4f19e47c30c9b9886 commit ac0d262392a0d3175881eba4f19e47c30c9b9886 Author: Yuri Victorovich AuthorDate: 2021-09-29 05:32:45 +0000 Commit: Yuri Victorovich CommitDate: 2021-09-29 05:33:24 +0000 math/py-pytanque: New port: Petanque static python bindings --- math/Makefile | 1 + math/py-pytanque/Makefile | 15 +++++++++++++++ math/py-pytanque/distinfo | 3 +++ math/py-pytanque/files/patch-setup.py | 16 ++++++++++++++++ math/py-pytanque/pkg-descr | 4 ++++ 5 files changed, 39 insertions(+) diff --git a/math/Makefile b/math/Makefile index bc7e1deff7f0..a5c3c9072703 100644 --- a/math/Makefile +++ b/math/Makefile @@ -895,6 +895,7 @@ SUBDIR += py-pysmt SUBDIR += py-pystan SUBDIR += py-pysym + SUBDIR += py-pytanque SUBDIR += py-python-fcl SUBDIR += py-python-igraph SUBDIR += py-python-louvain diff --git a/math/py-pytanque/Makefile b/math/py-pytanque/Makefile new file mode 100644 index 000000000000..3f26c47d212b --- /dev/null +++ b/math/py-pytanque/Makefile @@ -0,0 +1,15 @@ +PORTNAME= pytanque +DISTVERSION= 1.1.0 +CATEGORIES= math +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Petanque static python bindings + +LICENSE= BSD3CLAUSE + +USES= compiler:c++14-lang python:3.6+ +USE_PYTHON= distutils autoplist + +.include diff --git a/math/py-pytanque/distinfo b/math/py-pytanque/distinfo new file mode 100644 index 000000000000..88643b6b6b24 --- /dev/null +++ b/math/py-pytanque/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1632892777 +SHA256 (pytanque-1.1.0.tar.gz) = 9365ab2038306508b673a46bed7f5425cc096d2763810f7801395a517d524cc4 +SIZE (pytanque-1.1.0.tar.gz) = 695935 diff --git a/math/py-pytanque/files/patch-setup.py b/math/py-pytanque/files/patch-setup.py new file mode 100644 index 000000000000..b3f749f6ad8c --- /dev/null +++ b/math/py-pytanque/files/patch-setup.py @@ -0,0 +1,16 @@ +--- setup.py.orig 2021-09-29 05:21:08 UTC ++++ setup.py +@@ -3,11 +3,11 @@ import glob + import platform + import subprocess + +-if platform.system() in ("Linux","Darwin"): ++if platform.system() in ("Linux","Darwin","FreeBSD"): + # This will work w/ GCC and clang + compile_args = ['-std=c++14','-flto','-Dpetanque_STATIC'] + link_args = ['-flto'] +- if platform.system() == "Linux": ++ if platform.system() == "Linux" or platform.system() == "FreeBSD": + link_args = ["-Wl,--strip-all","-Wl,-gc-sections"] + elif platform.system() == "Windows": + compile_args = ['/Dpetanque_STATIC','/TP', '/EHsc'] diff --git a/math/py-pytanque/pkg-descr b/math/py-pytanque/pkg-descr new file mode 100644 index 000000000000..637cff268e84 --- /dev/null +++ b/math/py-pytanque/pkg-descr @@ -0,0 +1,4 @@ +Python binding for petanque, a library that helps manipulate symbolic boolean +expressions. + +WWW: https://github.com/quarkslab/arybo/tree/master/petanque