diff options
| author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2025-07-11 12:28:15 +0800 |
|---|---|---|
| committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2025-07-11 12:31:46 +0800 |
| commit | 86ba5d1aacbf92a0d3297706dadccc42fbfae6f0 (patch) | |
| tree | aef414d3991a26be4eb14ff26c30e838f02de0c4 /databases | |
| parent | databases/py-apsw: Update to 3.50.2.0 (diff) | |
databases/py-python-swiftclient: Convert to USE_PYTHON=pep517
- Update COMMENT
- Update WWW
- Update pkg-descr
- Bump PORTREVISION for dependency and package change
- Take maintainership
Diffstat (limited to 'databases')
| -rw-r--r-- | databases/py-python-swiftclient/Makefile | 26 | ||||
| -rw-r--r-- | databases/py-python-swiftclient/files/patch-setup.cfg | 11 | ||||
| -rw-r--r-- | databases/py-python-swiftclient/pkg-descr | 10 |
3 files changed, 28 insertions, 19 deletions
diff --git a/databases/py-python-swiftclient/Makefile b/databases/py-python-swiftclient/Makefile index 3573546dba77..6b777eeb8ddd 100644 --- a/databases/py-python-swiftclient/Makefile +++ b/databases/py-python-swiftclient/Makefile @@ -1,29 +1,27 @@ PORTNAME= python-swiftclient PORTVERSION= 3.13.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= databases python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} -MAINTAINER= ports@FreeBSD.org -COMMENT= Python client library for OpenStack Object Storage (Swift) -WWW= https://launchpad.net/python-swiftclient +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= OpenStack Object Storage API Client Library +WWW= https://docs.openstack.org/python-swiftclient/latest/ \ + https://github.com/openstack/python-swiftclient LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE -BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=0.5.21:devel/py-pbr@${PY_FLAVOR} - -RUN_DEPENDS:= ${BUILD_DEPENDS} -RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}requests>=1.1:www/py-requests@${PY_FLAVOR} +BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pbr>=0:devel/py-pbr@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}setuptools>=0:devel/py-setuptools@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}wheel>=0:devel/py-wheel@${PY_FLAVOR} +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}requests>=1.1.0:www/py-requests@${PY_FLAVOR} \ + ${PYTHON_PKGNAMEPREFIX}six>=1.9.0:devel/py-six@${PY_FLAVOR} USES= python -USE_PYTHON= distutils autoplist -NO_ARCH= yes +USE_PYTHON= autoplist concurrent pep517 -post-install: - ${INSTALL_MAN} ${WRKSRC}/doc/manpages/swift.1 \ - ${STAGEDIR}${PREFIX}/share/man/man1 +NO_ARCH= yes .include <bsd.port.mk> diff --git a/databases/py-python-swiftclient/files/patch-setup.cfg b/databases/py-python-swiftclient/files/patch-setup.cfg new file mode 100644 index 000000000000..fae6d6ea7406 --- /dev/null +++ b/databases/py-python-swiftclient/files/patch-setup.cfg @@ -0,0 +1,11 @@ +--- setup.cfg.orig 2022-02-23 09:45:42 UTC ++++ setup.cfg +@@ -25,8 +25,6 @@ packages = + [files] + packages = + swiftclient +-scripts = +- bin/swift + data_files = + share/man/man1 = doc/manpages/swift.1 + diff --git a/databases/py-python-swiftclient/pkg-descr b/databases/py-python-swiftclient/pkg-descr index 1132c3d5ad78..96aca59daef8 100644 --- a/databases/py-python-swiftclient/pkg-descr +++ b/databases/py-python-swiftclient/pkg-descr @@ -1,6 +1,6 @@ -This is a python client for the Swift API. There's a Python API (the -``swiftclient`` module), and a command-line script (``swift``). +This is a python client for the Swift API. There's a Python API (the swiftclient +module), and a command-line script (swift). -This code is based on the original client previously included with -OpenStack's swift -- a highly available, distributed, eventually -consistent object/blob store. +This code is based on the original client previously included with OpenStack's +Swift. The python-swiftclient is licensed under the Apache License like the rest +of OpenStack. |
