mirror of
https://git.freebsd.org/ports.git
synced 2026-06-02 11:08:52 +00:00
devel/py-defusedcsv: add new port
defusedcsv is a drop-in replacement for Python's csv module that mitigates CSV injection attacks in spreadsheet software. WWW: https://github.com/raphaelm/defusedcsv Sponsored by: Netzkommune GmbH
This commit is contained in:
@@ -4882,6 +4882,7 @@
|
||||
SUBDIR += py-decoratortools
|
||||
SUBDIR += py-deepdiff
|
||||
SUBDIR += py-deepmerge
|
||||
SUBDIR += py-defusedcsv
|
||||
SUBDIR += py-defusedxml
|
||||
SUBDIR += py-demjson
|
||||
SUBDIR += py-dep-logic
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
PORTNAME= defusedcsv
|
||||
DISTVERSION= 3.0.0
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= PYPI
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= joneum@FreeBSD.org
|
||||
COMMENT= Drop-in replacement for Python CSV mitigating CSV injection
|
||||
WWW= https://github.com/raphaelm/defusedcsv
|
||||
|
||||
LICENSE= APACHE20
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>=63.1.0:devel/py-setuptools@${PY_FLAVOR} \
|
||||
${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR}
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist pep517
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
@@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1779981659
|
||||
SHA256 (defusedcsv-3.0.0.tar.gz) = 018678533bc375f3bf2f70f9721e48daf3800a88320dc325c1dac67ee09e2a45
|
||||
SIZE (defusedcsv-3.0.0.tar.gz) = 9083
|
||||
@@ -0,0 +1,3 @@
|
||||
defusedcsv is a drop-in replacement for Python's standard csv module.
|
||||
It helps mitigate CSV injection attacks by escaping values that may be
|
||||
interpreted as formulas by spreadsheet applications.
|
||||
Reference in New Issue
Block a user