Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jun 2021 17:56:43 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 60cd6ed1241d - main - science/py-avogadrolibs: Update 1.93.0 -> 1.94.0
Message-ID:  <202106041756.154Huhht093285@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=60cd6ed1241d7c4ee6af7330a37f615e5f54d4bb

commit 60cd6ed1241d7c4ee6af7330a37f615e5f54d4bb
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-06-04 17:55:47 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-06-04 17:56:40 +0000

    science/py-avogadrolibs: Update 1.93.0 -> 1.94.0
---
 science/py-avogadrolibs/Makefile                   | 12 +++++-------
 science/py-avogadrolibs/distinfo                   |  6 +++---
 science/py-avogadrolibs/files/patch-CMakeLists.txt |  4 +++-
 3 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/science/py-avogadrolibs/Makefile b/science/py-avogadrolibs/Makefile
index b44585144203..5045c6c30f36 100644
--- a/science/py-avogadrolibs/Makefile
+++ b/science/py-avogadrolibs/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	avogadrolibs
-DISTVERSION=	1.93.0
-PORTREVISION=	1
+DISTVERSION=	1.94.0
 CATEGORIES=	science
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
 
@@ -10,22 +9,21 @@ COMMENT=	Python bindings for Avogadro2 chemistry libraries
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/../LICENSE
 
-BROKEN=		fails to configure
-
 BUILD_DEPENDS=	${LOCALBASE}/include/pybind11/pybind11.h:devel/pybind11
 LIB_DEPENDS=	libAvogadroCore.so:science/avogadrolibs
 
 USES=		cmake compiler:c++11-lang eigen:3 python:3.5+
+USE_PYTHON=	flavors
+
 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
+		${PYTHON_SITELIBDIR}/avogadro/core${PYTHON_EXT_SUFFIX}.so \
+		${PYTHON_SITELIBDIR}/avogadro/io${PYTHON_EXT_SUFFIX}.so
 
 .include <bsd.port.mk>
diff --git a/science/py-avogadrolibs/distinfo b/science/py-avogadrolibs/distinfo
index 58eb31f10df6..ab7478715656 100644
--- a/science/py-avogadrolibs/distinfo
+++ b/science/py-avogadrolibs/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1580973013
-SHA256 (OpenChemistry-avogadrolibs-1.93.0_GH0.tar.gz) = 01fea1f3b21c69091c60739616f86123db92f445e4c9ca53f1dec09624aceab4
-SIZE (OpenChemistry-avogadrolibs-1.93.0_GH0.tar.gz) = 2735862
+TIMESTAMP = 1622827081
+SHA256 (OpenChemistry-avogadrolibs-1.94.0_GH0.tar.gz) = 5e9efa3dd34a715e66afe33e61776fd87446f6076138b46109c319dea14bacff
+SIZE (OpenChemistry-avogadrolibs-1.94.0_GH0.tar.gz) = 10893919
diff --git a/science/py-avogadrolibs/files/patch-CMakeLists.txt b/science/py-avogadrolibs/files/patch-CMakeLists.txt
index 27d6380e3b8a..e02a15326a35 100644
--- a/science/py-avogadrolibs/files/patch-CMakeLists.txt
+++ b/science/py-avogadrolibs/files/patch-CMakeLists.txt
@@ -1,3 +1,5 @@
+- make this file into a project CMake file
+
 --- CMakeLists.txt.orig	2018-10-18 17:54:14 UTC
 +++ CMakeLists.txt
 @@ -1,4 +1,8 @@
@@ -6,7 +8,7 @@
 +
 +link_directories(${CMAKE_INSTALL_PREFIX}/lib)
 +
-+find_package(Python3 REQUIRED)
++find_package(PythonInterp 3 REQUIRED)
  find_package(PythonLibs 3 REQUIRED)
  set(PYBIND11_PYTHON_VERSION "3" CACHE STRING "")
  set(PYBIND11_CPP_STANDARD "-std=c++11" CACHE STRING "")



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202106041756.154Huhht093285>