mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-21 08:42:23 +00:00
[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
This commit is contained in:
parent
7610a280b5
commit
cf60c9a938
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=510951
@ -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
|
||||
|
30
textproc/py-dparse/Makefile
Normal file
30
textproc/py-dparse/Makefile
Normal file
@ -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>
|
3
textproc/py-dparse/distinfo
Normal file
3
textproc/py-dparse/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1565552698
|
||||
SHA256 (dparse-0.4.1.tar.gz) = 00a5fdfa900629e5159bf3600d44905b333f4059a3366f28e0dbd13eeab17b19
|
||||
SIZE (dparse-0.4.1.tar.gz) = 31653
|
9
textproc/py-dparse/pkg-descr
Normal file
9
textproc/py-dparse/pkg-descr
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user