From nobody Tue Aug 01 09:43:15 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RFVY54cCgz4q1nn; Tue, 1 Aug 2023 09:43: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 4RFVXg5Yl0z3R76; Tue, 1 Aug 2023 09:43:15 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690882995; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=B8AWnNzho14yOh+dqFAgsRTHIN6yB6B5cM1GCV9udV4=; b=EbMVgBOfPT/e1QXkMD4mX7RGZs57TuFBXtDVjlUyH7BpjM1Aj3XZdhdYRGR6IiybOeiQ5q AtOtCv/ii3Y6WMFlRQBHRkkRZDYMalQXIerGARO9R9P0intMqAl8QHPL83QcynyjaE6aZZ hdAKl4nJ5EMJ4GDp28fKlJjKtsC3DS7GZ1A/HX84PbNV7Pty1nUFGRBoFN9oi1DC15XEsU KoVhTQk9nmj7/xUqyXmFK1atoIBY/9XiClL0yVfAt9TQW9W/wcIyysUUr0Be4221IXWDYV jn/mgetrgndsMgveSEqdfIIIcwYaHai8IS/lQxWGr7rkf0stUyOQ78OsFH5GJg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690882995; a=rsa-sha256; cv=none; b=SEROcwZhgSQ3CQ+Tencm2lm4IHYjLZgWFi+Kyry5368xF+28q1ZqYb+IlqT07N96TKPlkl 7VerCYHjyVecHNpa4TU90XsJKjpkrlFPotUvCMIUmCksaJBXrs4+X/tJEwEb90R7oWCQKc CH/5vb0nkJfP7BPdxVmjW9wx5tHJida7EpXsElV7hDyaU2bbDcWdLAComvQdocsHHpgRKB B/gI78lxjTeHDslJc0CzhiKgyVC17+0ofgvDlPW2Vy0d5xgQuNp7QsrVHTDxj2jftAdfO6 HOCP33R7q/k3p3BOmyG7chBzXP0u1W7InnUmFOJ8RDPqAANcGCmiWEjrhZJclQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690882995; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=B8AWnNzho14yOh+dqFAgsRTHIN6yB6B5cM1GCV9udV4=; b=jTHGuABhn20/8KEKYp83Xi+IR4x+JF8b0BuFgkSnL8uYu17Dk3Mg9pBSaAX7+D9jiubSuY W77xmlmL1KwzEZyCPpvoUHLg5RP2Yg9oGjKQthgneOKhS7ndNBmJSnAwDKS9zBzWTPXMfb 4zcVMmITFmFhTXAuaaAshydPjYpxQjddHywS/O6F3McCEyr1NDNB/iUlk3grZ0/wilI7XC axDZdPOO3t4LJoVSXE9RcONgYIieP/0Y2UQHDKfCP8DlDUjBo0UYDHYoQsULFPcBiOgo9k 5gqnEOItxjg/fQdyomkDG/wGgOPrCT/kDu99+h7zuPgfjVDo0Z0KMddUEiQrNQ== 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 4RFVXg34ckzXgB; Tue, 1 Aug 2023 09:43:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3719hF0W084609; Tue, 1 Aug 2023 09:43:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3719hFgQ084608; Tue, 1 Aug 2023 09:43:15 GMT (envelope-from git) Date: Tue, 1 Aug 2023 09:43:15 GMT Message-Id: <202308010943.3719hFgQ084608@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: a275c86efd8d - main - science/py-nglview: New port: IPython widget to view molecular structures and trajectories List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org 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: a275c86efd8d9045a96d3b50c9450c9535ff3ab8 Auto-Submitted: auto-generated The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=a275c86efd8d9045a96d3b50c9450c9535ff3ab8 commit a275c86efd8d9045a96d3b50c9450c9535ff3ab8 Author: Yuri Victorovich AuthorDate: 2023-08-01 09:30:48 +0000 Commit: Yuri Victorovich CommitDate: 2023-08-01 09:43:04 +0000 science/py-nglview: New port: IPython widget to view molecular structures and trajectories --- science/Makefile | 1 + science/py-nglview/Makefile | 25 +++++++++++++++++++++++++ science/py-nglview/distinfo | 3 +++ science/py-nglview/files/patch-pyproject.toml | 7 +++++++ science/py-nglview/pkg-descr | 5 +++++ 5 files changed, 41 insertions(+) diff --git a/science/Makefile b/science/Makefile index 8ec7b1043716..0a3c26bb4dd5 100644 --- a/science/Makefile +++ b/science/Makefile @@ -368,6 +368,7 @@ SUBDIR += py-mrchem SUBDIR += py-netCDF4 SUBDIR += py-netcdf-flattener + SUBDIR += py-nglview SUBDIR += py-nibabel SUBDIR += py-nilearn SUBDIR += py-obspy diff --git a/science/py-nglview/Makefile b/science/py-nglview/Makefile new file mode 100644 index 000000000000..b9951c1e4921 --- /dev/null +++ b/science/py-nglview/Makefile @@ -0,0 +1,25 @@ +PORTNAME= nglview +DISTVERSION= 3.0.6 +CATEGORIES= science python +MASTER_SITES= PYPI +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= yuri@FreeBSD.org +COMMENT= IPython widget to view molecular structures and trajectories +WWW= http://nglviewer.org/nglview/latest/ + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}jupyter-packaging>=0.7.9:devel/py-jupyter-packaging@${PY_FLAVOR} \ + ${PY_SETUPTOOLS} \ + ${PYTHON_PKGNAMEPREFIX}versioneer-518>0:devel/py-versioneer-518@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ipywidgets>0:devel/py-ipywidgets@${PY_FLAVOR} + +USES= python +USE_PYTHON= pep517 autoplist pytest # 28 tests fail because of missing test dependencies + +NO_ARCH= yes + +.include diff --git a/science/py-nglview/distinfo b/science/py-nglview/distinfo new file mode 100644 index 000000000000..a27e597b1bfe --- /dev/null +++ b/science/py-nglview/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1690880651 +SHA256 (nglview-3.0.6.tar.gz) = 2afd95128118953813634472a7ec5eb596bff4b0d8acf5900045ccc2aa783bbb +SIZE (nglview-3.0.6.tar.gz) = 6726127 diff --git a/science/py-nglview/files/patch-pyproject.toml b/science/py-nglview/files/patch-pyproject.toml new file mode 100644 index 000000000000..05acfb963d8a --- /dev/null +++ b/science/py-nglview/files/patch-pyproject.toml @@ -0,0 +1,7 @@ +--- pyproject.toml.orig 2023-08-01 09:06:19 UTC ++++ pyproject.toml +@@ -1,3 +1,3 @@ + [build-system] +-requires = ["jupyter_packaging~=0.7.9", "setuptools>=40.8.0", "wheel", "versioneer-518"] ++requires = ["jupyter_packaging", "setuptools>=40.8.0", "wheel", "versioneer-518"] + build-backend = "setuptools.build_meta" diff --git a/science/py-nglview/pkg-descr b/science/py-nglview/pkg-descr new file mode 100644 index 000000000000..9bb15d5f3ebd --- /dev/null +++ b/science/py-nglview/pkg-descr @@ -0,0 +1,5 @@ +nglview is an IPython/Jupyter widget to interactively view molecular structures +and trajectories. Utilizes the embeddable NGL Viewer for rendering. Support for +showing data from the file-system, RCSB PDB, simpletraj and from objects of +analysis libraries mdtraj, pytraj, mdanalysis, ParmEd, rdkit, ase, HTMD, +biopython, cctbx, pyrosetta, schrodinger's Structure.