1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00
freebsd-ports/net/py-s3cmd/Makefile
Po-Chuan Hsieh 84a372ad5f
devel/py-python-dateutil: Move devel/py-dateutil to devel/py-python-dateutil
- Convert to USE_PYTHON=pep517
- Bump PORTREVISION of dependent ports for dependency change
- While I'm here, update audio/py-pyradio to use PYTHON_PKGNAMEPREFIX instead of PKGNAMEPREFIX for *_DEPENDS
2024-04-13 22:47:51 +08:00

42 lines
1.0 KiB
Makefile

PORTNAME= s3cmd
DISTVERSION= 2.4.0
PORTREVISION= 2
CATEGORIES= net python
MASTER_SITES= SF/s3tools/${PORTNAME}/${DISTVERSION}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
MAINTAINER= bofh@FreeBSD.org
COMMENT= Unix-like tools to manipulate stored files from the command line
WWW= https://s3tools.org/s3cmd
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSE
OPTIONS_SINGLE= SG1
OPTIONS_SINGLE_SG1= MAGIC PYTHON_MAGIC
OPTIONS_DEFAULT= MAGIC
MAGIC_DESC= Use devel/py-magic
PYTHON_MAGIC_DESC= Use devel/py-python-magic
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-dateutil>0:devel/py-python-dateutil@${PY_FLAVOR}
MAGIC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}magic>0:devel/py-magic@${PY_FLAVOR}
PYTHON_MAGIC_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}python-magic>0:devel/py-python-magic@${PY_FLAVOR}
USES= python
USE_PYTHON= autoplist distutils
NO_ARCH= yes
OPTIONS_DEFINE= DOCS
post-patch-DOCS-on:
${REINPLACE_CMD} -e 's,doc/packages,doc,' ${WRKSRC}/setup.py
post-patch-DOCS-off:
${REINPLACE_CMD} -e '/(doc_path+/d' ${WRKSRC}/setup.py
.include <bsd.port.mk>