1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-08 06:48:28 +00:00

New port: lang/qmasm: Quantum macro assembler for D-Wave systems

This commit is contained in:
Yuri Victorovich 2019-06-11 01:45:18 +00:00
parent b32e777b21
commit 7cd6efc0e6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=503935
4 changed files with 40 additions and 0 deletions

View File

@ -309,6 +309,7 @@
SUBDIR += python35
SUBDIR += python36
SUBDIR += python37
SUBDIR += qmasm
SUBDIR += qscheme
SUBDIR += quack
SUBDIR += racket

27
lang/qmasm/Makefile Normal file
View File

@ -0,0 +1,27 @@
# $FreeBSD$
PORTNAME= qmasm
DISTVERSIONPREFIX= v
DISTVERSION= 3.0-34
DISTVERSIONSUFFIX= -gb02225f
CATEGORIES= lang
MAINTAINER= yuri@FreeBSD.org
COMMENT= Quantum macro assembler for D-Wave systems
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE.md
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}PuLP>0:math/py-PuLP@${PY_FLAVOR}
USES= python
USE_GITHUB= yes
GH_ACCOUNT= lanl
USE_PYTHON= distutils noflavors autoplist
POST_PLIST= fix-plist
fix-plist: # https://github.com/lanl/qmasm/issues/9
@${REINPLACE_CMD} -E "s|^bin/([a-z0-9-]*).py$$|bin/\1|" ${TMPPLIST}
.include <bsd.port.mk>

3
lang/qmasm/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1560215686
SHA256 (lanl-qmasm-v3.0-34-gb02225f_GH0.tar.gz) = dc8e20a0e3e31401386c61d285229dcf7f450dbc2739686281f5921d3be3e642
SIZE (lanl-qmasm-v3.0-34-gb02225f_GH0.tar.gz) = 65888

9
lang/qmasm/pkg-descr Normal file
View File

@ -0,0 +1,9 @@
QMASM fills a gap in the software ecosystem for D-Wave's adiabatic quantum
computers by shielding the programmer from having to know system-specific
hardware details while still enabling programs to be expressed at a fairly low
level of abstraction. It is therefore analogous to a conventional macro
assembler and can be used in much the same way: as a target either for
programmers who want a great deal of control over the hardware or for compilers
that implement higher-level languages.
WWW: https://github.com/lanl/qmasm