View | Details | Raw Unified | Return to bug 265445
Collapse All | Expand All

(-)b/textproc/py-sphinx-autoapi/Makefile (-4 / +3 lines)
Lines 1-5 Link Here
1
PORTNAME=	sphinx-autoapi
1
PORTNAME=	sphinx-autoapi
2
PORTVERSION=	1.8.4
2
PORTVERSION=	1.9.0
3
CATEGORIES=	textproc python
3
CATEGORIES=	textproc python
4
MASTER_SITES=	CHEESESHOP
4
MASTER_SITES=	CHEESESHOP
5
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
5
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
Lines 10-17 COMMENT= Sphinx API documentation generator Link Here
10
LICENSE=	MIT
10
LICENSE=	MIT
11
LICENSE_FILE=	${WRKSRC}/LICENSE.rst
11
LICENSE_FILE=	${WRKSRC}/LICENSE.rst
12
12
13
# Upstream switched to PEP-517 packaging
13
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools>0:devel/py-setuptools@${PY_FLAVOR}
14
BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=1.15.0:devel/py-setuptools_scm@${PY_FLAVOR}
15
14
16
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}astroid>=2.7:devel/py-astroid@${PY_FLAVOR} \
15
RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}astroid>=2.7:devel/py-astroid@${PY_FLAVOR} \
17
		${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \
16
		${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \
Lines 19-25 RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}astroid>=2.7:devel/py-astroid@${PY_FLAVOR} \ Link Here
19
		${PYTHON_PKGNAMEPREFIX}unidecode>0:converters/py-unidecode@${PY_FLAVOR} \
18
		${PYTHON_PKGNAMEPREFIX}unidecode>0:converters/py-unidecode@${PY_FLAVOR} \
20
		${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR}
19
		${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml@${PY_FLAVOR}
21
20
22
USES=		python:3.6+
21
USES=		python:3.7+
23
USE_PYTHON=	autoplist concurrent distutils
22
USE_PYTHON=	autoplist concurrent distutils
24
23
25
NO_ARCH=	yes
24
NO_ARCH=	yes
(-)b/textproc/py-sphinx-autoapi/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1630237683
1
TIMESTAMP = 1658827293
2
SHA256 (sphinx-autoapi-1.8.4.tar.gz) = 8c4ec5fbedc1e6e8f4692bcc4fcd1abcfb9e8dfca8a4ded60ad811a743c22ccc
2
SHA256 (sphinx-autoapi-1.9.0.tar.gz) = c897ea337df16ad0cde307cbdfe2bece207788dde1587fa4fc8b857d1fc5dcba
3
SIZE (sphinx-autoapi-1.8.4.tar.gz) = 42152704
3
SIZE (sphinx-autoapi-1.9.0.tar.gz) = 42158275
(-)a/textproc/py-sphinx-autoapi/files/patch-setup.py (-8 lines)
Removed Link Here
1
--- setup.py.orig	2021-04-05 03:23:24 UTC
2
+++ setup.py
3
@@ -1,2 +1,4 @@
4
+# Upstream switched to PEP-517 packaging
5
 from setuptools import setup
6
-setup()
7
+if __name__ == "__main__":
8
+    setup(use_scm_version=True)

Return to bug 265445