From owner-svn-ports-all@freebsd.org Sat Jul 21 09:00:08 2018 Return-Path: Delivered-To: svn-ports-all@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 6F0B21042090; Sat, 21 Jul 2018 09:00:08 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 20A9F82AE7; Sat, 21 Jul 2018 09:00:08 +0000 (UTC) (envelope-from yuri@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 022571CDC6; Sat, 21 Jul 2018 09:00:08 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w6L907d8071128; Sat, 21 Jul 2018 09:00:07 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w6L907fU071123; Sat, 21 Jul 2018 09:00:07 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201807210900.w6L907fU071123@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sat, 21 Jul 2018 09:00:07 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r475056 - in head/math: . py-libpoly py-libpoly/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/math: . py-libpoly py-libpoly/files X-SVN-Commit-Revision: 475056 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.27 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: Sat, 21 Jul 2018 09:00:08 -0000 Author: yuri Date: Sat Jul 21 09:00:06 2018 New Revision: 475056 URL: https://svnweb.freebsd.org/changeset/ports/475056 Log: New port: math/py-libpoly: Python binding for libpoly Added: head/math/py-libpoly/ head/math/py-libpoly/Makefile (contents, props changed) head/math/py-libpoly/distinfo (contents, props changed) head/math/py-libpoly/files/ head/math/py-libpoly/files/patch-CMakeLists.txt (contents, props changed) head/math/py-libpoly/pkg-descr (contents, props changed) Modified: head/math/Makefile Modified: head/math/Makefile ============================================================================== --- head/math/Makefile Sat Jul 21 08:52:56 2018 (r475055) +++ head/math/Makefile Sat Jul 21 09:00:06 2018 (r475056) @@ -680,6 +680,7 @@ SUBDIR += py-intspan SUBDIR += py-keras SUBDIR += py-levmar + SUBDIR += py-libpoly SUBDIR += py-luminol SUBDIR += py-mathdom SUBDIR += py-matplotlib Added: head/math/py-libpoly/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-libpoly/Makefile Sat Jul 21 09:00:06 2018 (r475056) @@ -0,0 +1,35 @@ +# $FreeBSD$ + +PORTNAME= libpoly +DISTVERSIONPREFIX= v +DISTVERSION= 0.1.7 +CATEGORIES= math +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Python binding for libpoly + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENCE + +LIB_DEPENDS= libpoly.so:math/libpoly + +USES= cmake:outsource localbase:ldflags python:2.7 +USE_GITHUB= yes +GH_ACCOUNT= SRI-CSL +USE_LDCONFIG= yes +USE_PYTHON= distutils autoplist + +CFLAGS+= -I${WRKSRC}/include +LDFLAGS+= -lpoly + +BUILD_WRKSRC= ${WRKSRC}/python +INSTALL_WRKSRC= ${WRKSRC}/python + +do-build: + @cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} ${PYDISTUTILS_BUILD_TARGET} ${PYDISTUTILS_BUILDARGS} + +do-install: + @cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP} ${PYDISTUTILS_INSTALL_TARGET} ${PYDISTUTILS_INSTALLARGS} + +.include Added: head/math/py-libpoly/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-libpoly/distinfo Sat Jul 21 09:00:06 2018 (r475056) @@ -0,0 +1,3 @@ +TIMESTAMP = 1532161301 +SHA256 (SRI-CSL-libpoly-v0.1.7_GH0.tar.gz) = 71d08cc1e97219bde8a0af60dd436ce4266dc3f19ff3a2cabc640bd14f4d8f4d +SIZE (SRI-CSL-libpoly-v0.1.7_GH0.tar.gz) = 491593 Added: head/math/py-libpoly/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-libpoly/files/patch-CMakeLists.txt Sat Jul 21 09:00:06 2018 (r475056) @@ -0,0 +1,19 @@ +--- CMakeLists.txt.orig 2018-07-21 08:36:33 UTC ++++ CMakeLists.txt +@@ -50,7 +50,7 @@ if(HAVE_OPEN_MEMSTREAM) + endif() + + # Configure the library source +-add_subdirectory(src) ++#add_subdirectory(src) + + # Configure the headers + add_subdirectory(include) +@@ -61,6 +61,6 @@ if(LIBPOLY_BUILD_PYTHON_API) + add_subdirectory(python) + + # Configure the tests +- add_subdirectory(test) ++ #add_subdirectory(test) + + endif() Added: head/math/py-libpoly/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/math/py-libpoly/pkg-descr Sat Jul 21 09:00:06 2018 (r475056) @@ -0,0 +1,3 @@ +The python binding for libpoly, the C library for manipulating polynomials. + +WWW: https://github.com/SRI-CSL/libpoly