pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/py-apache-libcloud Fix make package with '${RM} -f...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e7bb96e7ca8f
branches:  trunk
changeset: 323415:e7bb96e7ca8f
user:      mef <mef%pkgsrc.org@localhost>
date:      Fri May 10 14:58:37 2019 +0000

description:
Fix make package with '${RM} -f' for following problem
  => Creating installation directories
  /bin/rm /tmp/net/py-apache-libcloud/work/apache-libcloud-2.4.0/libcloud/compute/drivers/azure.py.orig
  rm: /tmp/net/py-apache-libcloud/work/apache-libcloud-2.4.0/libcloud/compute/drivers/azure.py.orig: No such file or directory
  *** Error code 1

diffstat:

 net/py-apache-libcloud/Makefile |  7 ++++---
 net/py-apache-libcloud/PLIST    |  3 +--
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (38 lines):

diff -r 4dabdcc33c49 -r e7bb96e7ca8f net/py-apache-libcloud/Makefile
--- a/net/py-apache-libcloud/Makefile   Fri May 10 13:14:18 2019 +0000
+++ b/net/py-apache-libcloud/Makefile   Fri May 10 14:58:37 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2019/02/22 08:59:49 adam Exp $
+# $NetBSD: Makefile,v 1.13 2019/05/10 14:58:37 mef Exp $
 
 DISTNAME=      apache-libcloud-2.4.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
@@ -18,8 +18,9 @@
 TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
 
 pre-install:
-       ${RM} ${WRKSRC}/libcloud/compute/drivers/azure.py.orig
-       ${RM} ${WRKSRC}/build/lib/libcloud/compute/drivers/azure.py.orig
+       ${RM} -f ${WRKSRC}/libcloud/compute/drivers/azure.py.orig
+       ${RM} -f ${WRKSRC}/build/lib/libcloud/compute/drivers/azure.py.orig
+       ${RM} -f ${WRKSRC}/build/lib/libcloud/compute/drivers/azure.py.rej
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 4dabdcc33c49 -r e7bb96e7ca8f net/py-apache-libcloud/PLIST
--- a/net/py-apache-libcloud/PLIST      Fri May 10 13:14:18 2019 +0000
+++ b/net/py-apache-libcloud/PLIST      Fri May 10 14:58:37 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2019/02/22 08:59:49 adam Exp $
+@comment $NetBSD: PLIST,v 1.9 2019/05/10 14:58:37 mef Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -183,7 +183,6 @@
 ${PYSITELIB}/libcloud/compute/drivers/auroracompute.pyc
 ${PYSITELIB}/libcloud/compute/drivers/auroracompute.pyo
 ${PYSITELIB}/libcloud/compute/drivers/azure.py
-${PYSITELIB}/libcloud/compute/drivers/azure.py.rej
 ${PYSITELIB}/libcloud/compute/drivers/azure.pyc
 ${PYSITELIB}/libcloud/compute/drivers/azure.pyo
 ${PYSITELIB}/libcloud/compute/drivers/azure_arm.py



Home | Main Index | Thread Index | Old Index