From owner-svn-ports-all@freebsd.org Sun Oct 21 17:52:37 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 02A68FFC452; Sun, 21 Oct 2018 17:52:37 +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 AC8C171EC8; Sun, 21 Oct 2018 17:52:36 +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 A76A410E5B; Sun, 21 Oct 2018 17:52:36 +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 w9LHqafL078312; Sun, 21 Oct 2018 17:52:36 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w9LHqZo8078306; Sun, 21 Oct 2018 17:52:35 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201810211752.w9LHqZo8078306@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sun, 21 Oct 2018 17:52:35 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r482717 - in head/science: . py-avogadrolibs py-avogadrolibs/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/science: . py-avogadrolibs py-avogadrolibs/files X-SVN-Commit-Revision: 482717 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.29 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: Sun, 21 Oct 2018 17:52:37 -0000 Author: yuri Date: Sun Oct 21 17:52:35 2018 New Revision: 482717 URL: https://svnweb.freebsd.org/changeset/ports/482717 Log: New port: science/py-avogadrolibs: Python bindings for Avogadro2 chemistry libraries Added: head/science/py-avogadrolibs/ head/science/py-avogadrolibs/Makefile (contents, props changed) head/science/py-avogadrolibs/distinfo (contents, props changed) head/science/py-avogadrolibs/files/ head/science/py-avogadrolibs/files/patch-CMakeLists.txt (contents, props changed) head/science/py-avogadrolibs/pkg-descr (contents, props changed) Modified: head/science/Makefile Modified: head/science/Makefile ============================================================================== --- head/science/Makefile Sun Oct 21 17:49:53 2018 (r482716) +++ head/science/Makefile Sun Oct 21 17:52:35 2018 (r482717) @@ -208,6 +208,7 @@ SUBDIR += py-SimpleSpectral SUBDIR += py-abipy SUBDIR += py-ase + SUBDIR += py-avogadrolibs SUBDIR += py-cdo SUBDIR += py-chempy SUBDIR += py-coards Added: head/science/py-avogadrolibs/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/py-avogadrolibs/Makefile Sun Oct 21 17:52:35 2018 (r482717) @@ -0,0 +1,31 @@ +# $FreeBSD$ + +PORTNAME= avogadrolibs +DISTVERSION= 1.91.0-107 +DISTVERSIONSUFFIX= -g60c69b0 +CATEGORIES= science +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Python bindings for Avogadro2 chemistry libraries + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/../LICENSE + +BUILD_DEPENDS= ${LOCALBASE}/include/pybind11/pybind11.h:devel/pybind11 +LIB_DEPENDS= libAvogadroCore.so:science/avogadrolibs + +USES= cmake:outsource compiler:c++11-lang eigen:3 python:3.5+ +USE_GITHUB= yes +GH_ACCOUNT= OpenChemistry +USE_PYTHON= flavors + +WRKSRC_SUBDIR= python + +CMAKE_ARGS= -DINSTALL_LIBRARY_DIR:STRING=${PYTHON_SITELIBDIR} + +PLIST_FILES= ${PYTHON_SITELIBDIR}/avogadro/__init__.py \ + ${PYTHON_SITELIBDIR}/avogadro/core.so \ + ${PYTHON_SITELIBDIR}/avogadro/io.so + +.include Added: head/science/py-avogadrolibs/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/py-avogadrolibs/distinfo Sun Oct 21 17:52:35 2018 (r482717) @@ -0,0 +1,3 @@ +TIMESTAMP = 1539886254 +SHA256 (OpenChemistry-avogadrolibs-1.91.0-107-g60c69b0_GH0.tar.gz) = 576868081a8e858ed8fa1eef0f84130ef1699391fa98bc1fd29f83116ca43c2f +SIZE (OpenChemistry-avogadrolibs-1.91.0-107-g60c69b0_GH0.tar.gz) = 2706803 Added: head/science/py-avogadrolibs/files/patch-CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/py-avogadrolibs/files/patch-CMakeLists.txt Sun Oct 21 17:52:35 2018 (r482717) @@ -0,0 +1,12 @@ +--- CMakeLists.txt.orig 2018-10-18 17:54:14 UTC ++++ CMakeLists.txt +@@ -1,4 +1,8 @@ +-find_package(PythonInterp 3 REQUIRED) ++cmake_minimum_required(VERSION 3.12) ++ ++link_directories(${CMAKE_INSTALL_PREFIX}/lib) ++ ++find_package(Python3 REQUIRED) + find_package(PythonLibs 3 REQUIRED) + set(PYBIND11_PYTHON_VERSION "3" CACHE STRING "") + set(PYBIND11_CPP_STANDARD "-std=c++11" CACHE STRING "") Added: head/science/py-avogadrolibs/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/py-avogadrolibs/pkg-descr Sun Oct 21 17:52:35 2018 (r482717) @@ -0,0 +1,8 @@ +Python bindings for Avogadro2 libraries, libraries that are a foundation of the +Avogadro 2 project. + +Avogadro 2 is a chemical editor and visualization application, it is also a set +of reusable software libraries written in C++ using principles of modularity for +maximum reuse. + +WWW: https://www.openchemistry.org/projects/avogadro2/