mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
84a372ad5f
- 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
42 lines
1.0 KiB
Makefile
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>
|