Date: Tue, 3 Sep 2019 14:42:17 +0000 (UTC) From: Kai Knoblich <kai@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r510951 - in head/textproc: . py-dparse Message-ID: <201909031442.x83EgHQC078014@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kai Date: Tue Sep 3 14:42:17 2019 New Revision: 510951 URL: https://svnweb.freebsd.org/changeset/ports/510951 Log: [NEW PORT]: textproc/py-dparse Parses and updates Python dependency files. Following files are supported: * requirements.txt * conda.yml * tox.ini * Pipfile * Pifile.lock WWW: https://github.com/pyupio/dparse Added: head/textproc/py-dparse/ head/textproc/py-dparse/Makefile (contents, props changed) head/textproc/py-dparse/distinfo (contents, props changed) head/textproc/py-dparse/pkg-descr (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Tue Sep 3 14:36:00 2019 (r510950) +++ head/textproc/Makefile Tue Sep 3 14:42:17 2019 (r510951) @@ -1251,6 +1251,7 @@ SUBDIR += py-docutils SUBDIR += py-docx2txt SUBDIR += py-dominate + SUBDIR += py-dparse SUBDIR += py-dsv SUBDIR += py-duecredit SUBDIR += py-elasticsearch Added: head/textproc/py-dparse/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-dparse/Makefile Tue Sep 3 14:42:17 2019 (r510951) @@ -0,0 +1,30 @@ +# $FreeBSD$ + +PORTNAME= dparse +DISTVERSION= 0.4.1 +CATEGORIES= textproc python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= kai@FreeBSD.org +COMMENT= Parser for Python dependency files + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}packaging>0:devel/py-packaging@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>0:devel/py-six@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR} +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest@${PY_FLAVOR} + +USES= python +USE_PYTHON= distutils autoplist + +NO_ARCH= yes + +# test_update_pipfile fails with devel/py-pipenv >= 11.10.2 which is an +# optional dependency. See also: https://github.com/pyupio/dparse/issues/37 +do-test: + @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -rs -v -k 'not pip' + +.include <bsd.port.mk> Added: head/textproc/py-dparse/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-dparse/distinfo Tue Sep 3 14:42:17 2019 (r510951) @@ -0,0 +1,3 @@ +TIMESTAMP = 1565552698 +SHA256 (dparse-0.4.1.tar.gz) = 00a5fdfa900629e5159bf3600d44905b333f4059a3366f28e0dbd13eeab17b19 +SIZE (dparse-0.4.1.tar.gz) = 31653 Added: head/textproc/py-dparse/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/py-dparse/pkg-descr Tue Sep 3 14:42:17 2019 (r510951) @@ -0,0 +1,9 @@ +Parses and updates Python dependency files. Following files are supported: + +* requirements.txt +* conda.yml +* tox.ini +* Pipfile +* Pifile.lock + +WWW: https://github.com/pyupio/dparse
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201909031442.x83EgHQC078014>