Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F140122866
D21303.id.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
D21303.id.diff
View Options
Index: sysutils/py-ploy_fabric/Makefile
===================================================================
--- sysutils/py-ploy_fabric/Makefile
+++ sysutils/py-ploy_fabric/Makefile
@@ -3,6 +3,7 @@
PORTNAME= ploy_fabric
DISTVERSION= 1.1.0
+PORTREVISION= 1
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -14,9 +15,23 @@
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ploy>=1.0.0:sysutils/py-ploy@${PY_FLAVOR} \
- ${PYTHON_PKGNAMEPREFIX}fabric>=1.4.0,1:devel/py-fabric@${PY_FLAVOR}
+ ${PYTHON_PKGNAMEPREFIX}fabric1>=1.4.0,1:devel/py-fabric1@${PY_FLAVOR}
USES= python:-2.7 zip
USE_PYTHON= autoplist distutils
+
+NO_ARCH= yes
+
+post-patch:
+ ${FIND} ${WRKSRC} -type f -exec \
+ ${REINPLACE_CMD} \
+ -e 's|import fabric|import fabric1|g' \
+ -e 's|from fabric\.|from fabric1\.|g' \
+ -e 's|with fabric\.|with fabric1\.|g' \
+ -e 's|= fabric\.|= fabric1\.|g' \
+ -e 's|instance\.fabric|'instance\.fabric1'|g' \
+ -e 's|fabric =|fabric1 =|g' \
+ -e 's|fabric\.state\.|fabric1\.state\.|g' \
+ -e 's|fabric\.network\.|fabric1\.network\.|g' {} +
.include <bsd.port.mk>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 21, 1:22 PM (6 h, 58 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27113647
Default Alt Text
D21303.id.diff (1 KB)
Attached To
Mode
D21303: sysutils/py-ploy_fabric: Apply change to use py-fabric1
Attached
Detach File
Event Timeline
Log In to Comment