svn commit: r503935 - in head/lang: . qmasm

Yuri Victorovich yuri at FreeBSD.org
Tue Jun 11 01:45:20 UTC 2019


Author: yuri
Date: Tue Jun 11 01:45:18 2019
New Revision: 503935
URL: https://svnweb.freebsd.org/changeset/ports/503935

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

Added:
  head/lang/qmasm/
  head/lang/qmasm/Makefile   (contents, props changed)
  head/lang/qmasm/distinfo   (contents, props changed)
  head/lang/qmasm/pkg-descr   (contents, props changed)
Modified:
  head/lang/Makefile

Modified: head/lang/Makefile
==============================================================================
--- head/lang/Makefile	Tue Jun 11 00:52:07 2019	(r503934)
+++ head/lang/Makefile	Tue Jun 11 01:45:18 2019	(r503935)
@@ -309,6 +309,7 @@
     SUBDIR += python35
     SUBDIR += python36
     SUBDIR += python37
+    SUBDIR += qmasm
     SUBDIR += qscheme
     SUBDIR += quack
     SUBDIR += racket

Added: head/lang/qmasm/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/qmasm/Makefile	Tue Jun 11 01:45:18 2019	(r503935)
@@ -0,0 +1,27 @@
+# $FreeBSD$
+
+PORTNAME=	qmasm
+DISTVERSIONPREFIX=	v
+DISTVERSION=	3.0-34
+DISTVERSIONSUFFIX=	-gb02225f
+CATEGORIES=	lang
+
+MAINTAINER=	yuri at 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>

Added: head/lang/qmasm/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/qmasm/distinfo	Tue Jun 11 01:45:18 2019	(r503935)
@@ -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

Added: head/lang/qmasm/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/lang/qmasm/pkg-descr	Tue Jun 11 01:45:18 2019	(r503935)
@@ -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


More information about the svn-ports-all mailing list