diff options
-rw-r--r-- | science/Makefile | 1 | ||||
-rw-r--r-- | science/py-HofstadterTools/Makefile | 28 | ||||
-rw-r--r-- | science/py-HofstadterTools/distinfo | 3 | ||||
-rw-r--r-- | science/py-HofstadterTools/pkg-descr | 6 |
4 files changed, 38 insertions, 0 deletions
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. |