Date: Thu, 18 Feb 2021 21:06:54 +0000 (UTC) From: Mateusz Piotrowski <0mp@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r565987 - in head/sysutils: . py-qmk py-qmk/files Message-ID: <202102182106.11IL6sDP013839@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: 0mp Date: Thu Feb 18 21:06:54 2021 New Revision: 565987 URL: https://svnweb.freebsd.org/changeset/ports/565987 Log: Add sysutils/py-qmk A program to help users work with QMK keyboard firmware. Features: - Interact with your qmk_firmware tree from any location - Use qmk clone to pull down anyone's qmk_firmware fork - Setup your build environment with qmk setup - Check that your environment is correctly setup with qmk doctor WWW: https://github.com/qmk/qmk_cli Added: head/sysutils/py-qmk/ head/sysutils/py-qmk/Makefile (contents, props changed) head/sysutils/py-qmk/distinfo (contents, props changed) head/sysutils/py-qmk/files/ head/sysutils/py-qmk/files/pkg-message.in (contents, props changed) head/sysutils/py-qmk/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Thu Feb 18 21:01:16 2021 (r565986) +++ head/sysutils/Makefile Thu Feb 18 21:06:54 2021 (r565987) @@ -1032,6 +1032,7 @@ SUBDIR += py-pywatchman SUBDIR += py-pyznap SUBDIR += py-queuelib + SUBDIR += py-qmk SUBDIR += py-ranger SUBDIR += py-rdiff-backup SUBDIR += py-resolve-march-native Added: head/sysutils/py-qmk/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/py-qmk/Makefile Thu Feb 18 21:06:54 2021 (r565987) @@ -0,0 +1,43 @@ +# $FreeBSD$ + +PORTNAME= qmk +PORTVERSION= 0.0.39 +CATEGORIES= sysutils python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= 0mp@FreeBSD.org +COMMENT= CLI program for working with QMK firmware + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}appdirs>=0:devel/py-appdirs@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}argcomplete>=0:devel/py-argcomplete@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}colorama>=0:devel/py-colorama@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}dotty-dict>=0:devel/py-dotty-dict@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}flake8>=0:devel/py-flake8@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}hjson>=0:textproc/py-hjson@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}jsonschema>=0:devel/py-jsonschema@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}milc>=1.0.8:devel/py-milc@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}nose2>=0:devel/py-nose2@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}pygments>=0:textproc/py-pygments@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}yapf>=0:textproc/py-yapf@${PY_FLAVOR} \ + arm-none-eabi-gcc>0:devel/arm-none-eabi-gcc \ + avr-gcc>0:devel/avr-gcc \ + avr-libc>0:devel/avr-libc \ + avrdude>0:devel/avrdude \ + dfu-programmer>0:comms/dfu-programmer \ + dfu-util>0:comms/dfu-util \ + git:devel/git + +USES= python shebangfix +USE_PYTHON= autoplist concurrent distutils +SHEBANG_GLOB= *.py + +NO_ARCH= yes + +SUB_FILES= pkg-message +SUB_LIST= PYTHON_CMD=${PYTHON_CMD} + +.include <bsd.port.mk> Added: head/sysutils/py-qmk/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/py-qmk/distinfo Thu Feb 18 21:06:54 2021 (r565987) @@ -0,0 +1,3 @@ +TIMESTAMP = 1613584355 +SHA256 (qmk-0.0.39.tar.gz) = 21532ca4daa40c01f0727a162f9b67e5cd070cacfc636739b87460065a5f1863 +SIZE (qmk-0.0.39.tar.gz) = 9457 Added: head/sysutils/py-qmk/files/pkg-message.in ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/py-qmk/files/pkg-message.in Thu Feb 18 21:06:54 2021 (r565987) @@ -0,0 +1,13 @@ +[ +{ type: install + message: <<EOM +Before finishing the setup of QMK by running `qmk setup`, it is advised to +install the python3 package first: + + pkg install python3 + +The reason for this is that the qmk_firmware scripts which are downloaded +during the setup expect python3 to be installed (instead of %%PYTHON_CMD%%). +EOM +} +] Added: head/sysutils/py-qmk/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/py-qmk/pkg-descr Thu Feb 18 21:06:54 2021 (r565987) @@ -0,0 +1,9 @@ +A program to help users work with QMK keyboard firmware. + +Features: +- Interact with your qmk_firmware tree from any location +- Use qmk clone to pull down anyone's qmk_firmware fork +- Setup your build environment with qmk setup +- Check that your environment is correctly setup with qmk doctor + +WWW: https://github.com/qmk/qmk_cli
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102182106.11IL6sDP013839>