Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109613231
D37232.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D37232.diff
View Options
diff --git a/sysutils/py-borgmatic/Makefile b/sysutils/py-borgmatic/Makefile
--- a/sysutils/py-borgmatic/Makefile
+++ b/sysutils/py-borgmatic/Makefile
@@ -1,6 +1,6 @@
PORTNAME= borgmatic
PORTVERSION= 1.5.24
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -17,12 +17,17 @@
${PYTHON_PKGNAMEPREFIX}pykwalify>=0:textproc/py-pykwalify@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}requests>=0:www/py-requests@${PY_FLAVOR} \
${PYTHON_PKGNAMEPREFIX}ruamel.yaml>=0:devel/py-ruamel.yaml@${PY_FLAVOR}
-
USES= python:3.6+
USE_PYTHON= autoplist distutils
NO_ARCH= yes
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_VER} == "3.8"
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}pkgutil-resolve-name>=1.3.10:devel/py-pkgutil-resolve-name@${PY_FLAVOR}
+.endif
+
post-patch:
@cd ${WRKSRC} && \
${REINPLACE_CMD} -e 's|/etc/borgmatic|${PREFIX}/etc/borgmatic|g' \
@@ -34,4 +39,4 @@
borgmatic/config/schema.yaml \
tests/unit/config/test_collect.py
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Feb 8, 11:15 AM (1 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16525876
Default Alt Text
D37232.diff (1 KB)
Attached To
Mode
D37232: sysutils/py-borgmatic: Fix runtime dependency with python 3.8
Attached
Detach File
Event Timeline
Log In to Comment