Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Apr 2024 19:28:31 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: 1fc3054cda00 - main - science/py-HofstadterTools: New port: Package for analyzing the Hofstadter model of particles in the lattice
Message-ID:  <202404191928.43JJSVCm072016@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=1fc3054cda000f70cee77649fcab104dc6a20c77

commit 1fc3054cda000f70cee77649fcab104dc6a20c77
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-04-19 19:27:23 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-04-19 19:28:24 +0000

    science/py-HofstadterTools: New port: Package for analyzing the Hofstadter model of particles in the lattice
---
 science/Makefile                     |  1 +
 science/py-HofstadterTools/Makefile  | 28 ++++++++++++++++++++++++++++
 science/py-HofstadterTools/distinfo  |  3 +++
 science/py-HofstadterTools/pkg-descr |  6 ++++++
 4 files changed, 38 insertions(+)

diff --git a/science/Makefile b/science/Makefile
index a3605755af46..3fc8ac08b67d 100644
--- a/science/Makefile
+++ b/science/Makefile
@@ -278,6 +278,7 @@
     SUBDIR += py-GPy
     SUBDIR += py-GPyOpt
     SUBDIR += py-HepMC3
+    SUBDIR += py-HofstadterTools
     SUBDIR += py-MDAnalysis
     SUBDIR += py-MDAnalysisTests
     SUBDIR += py-OpenFermion
diff --git a/science/py-HofstadterTools/Makefile b/science/py-HofstadterTools/Makefile
new file mode 100644
index 000000000000..cac1ea51b518
--- /dev/null
+++ b/science/py-HofstadterTools/Makefile
@@ -0,0 +1,28 @@
+PORTNAME=	HofstadterTools
+DISTVERSION=	1.0.4
+CATEGORIES=	science python # physics
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Package for analyzing the Hofstadter model of particles in the lattice
+WWW=		https://hofstadter.tools/
+
+LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}wheel>0:devel/py-wheel@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ipython>0:devel/ipython@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}numpy>0:math/py-numpy@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}prettytable>0:devel/py-prettytable@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} \
+		${PYTHON_PKGNAMEPREFIX}tqdm>0:misc/py-tqdm@${PY_FLAVOR}
+
+USES=		compiler:c++11-lang python pyqt:5
+USE_PYQT=	pyqt5
+USE_PYTHON=	pep517 concurrent autoplist pytest
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/science/py-HofstadterTools/distinfo b/science/py-HofstadterTools/distinfo
new file mode 100644
index 000000000000..4e895671b22c
--- /dev/null
+++ b/science/py-HofstadterTools/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1713512739
+SHA256 (HofstadterTools-1.0.4.tar.gz) = c14a80164c72cb905cac9a58739aa985caa44443a042b803e3a2efab4d28a42f
+SIZE (HofstadterTools-1.0.4.tar.gz) = 1377624
diff --git a/science/py-HofstadterTools/pkg-descr b/science/py-HofstadterTools/pkg-descr
new file mode 100644
index 000000000000..8c8133b92f2a
--- /dev/null
+++ b/science/py-HofstadterTools/pkg-descr
@@ -0,0 +1,6 @@
+HofstadterTools (HT) is a set of Python programs and classes for analyzing the
+Hofstadter model, which describes the behavior of non-interacting quantum
+particles hopping on a lattice coupled to a gauge field. This package can be
+used to compute the band structure of a generalized Hofstadter model on any
+regular Euclidean lattice, as well as its key properties, such as quantum
+geometry and topology.



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