pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-swiftclient



Module Name:    pkgsrc
Committed By:   triaxx
Date:           Fri Jan 26 17:20:08 UTC 2018

Modified Files:
        pkgsrc/www/py-swiftclient: Makefile PLIST distinfo
Added Files:
        pkgsrc/www/py-swiftclient/patches: patch-setup.cfg
Removed Files:
        pkgsrc/www/py-swiftclient: buildlink3.mk

Log Message:
* debl3ification
* fix invalid MANPATH


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/www/py-swiftclient/Makefile \
    pkgsrc/www/py-swiftclient/PLIST pkgsrc/www/py-swiftclient/distinfo
cvs rdiff -u -r1.1 -r0 pkgsrc/www/py-swiftclient/buildlink3.mk
cvs rdiff -u -r0 -r1.1 pkgsrc/www/py-swiftclient/patches/patch-setup.cfg

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-swiftclient/Makefile
diff -u pkgsrc/www/py-swiftclient/Makefile:1.1 pkgsrc/www/py-swiftclient/Makefile:1.2
--- pkgsrc/www/py-swiftclient/Makefile:1.1      Fri Jan 26 14:35:31 2018
+++ pkgsrc/www/py-swiftclient/Makefile  Fri Jan 26 17:20:08 2018
@@ -1,22 +1,28 @@
-# $NetBSD: Makefile,v 1.1 2018/01/26 14:35:31 triaxx Exp $
+# $NetBSD: Makefile,v 1.2 2018/01/26 17:20:08 triaxx Exp $
 
 DISTNAME=      python-swiftclient-3.4.0
 PKGNAME=       ${DISTNAME:S/python/${PYPKGPREFIX}/}
 CATEGORIES=    www
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/python-swiftclient/}
 
-PYTHON_VERSIONS_INCOMPATIBLE=  35 36
-
 MAINTAINER=    triaxx%NetBSD.org@localhost
 HOMEPAGE=      https://github.com/openstack/python-swiftclient
 COMMENT=       Python bindings to the OpenStack Object Storage API
 LICENSE=       apache-2.0
 
+PYTHON_VERSIONS_INCOMPATIBLE=  35 36
+
 DEPENDS+= ${PYPKGPREFIX}-futures>=3.1:../../devel/py-futures
 DEPENDS+= ${PYPKGPREFIX}-keystone>=0.7.0:../../emulators/py-keystone
 DEPENDS+= ${PYPKGPREFIX}-requests>=1.1:../../devel/py-requests
 DEPENDS+= ${PYPKGPREFIX}-six>=1.5.2:../../lang/py-six
 
+SUBST_CLASSES+=                manpath
+SUBST_STAGE.manpath=   pre-configure
+SUBST_MESSAGE.manpath= fixing man path
+SUBST_FILES.manpath=   setup.cfg
+SUBST_SED.manpath=     -e 's,@PKGMANDIR@,${PKGMANDIR},'
+
 .include "../../lang/python/application.mk"
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/py-swiftclient/PLIST
diff -u pkgsrc/www/py-swiftclient/PLIST:1.1 pkgsrc/www/py-swiftclient/PLIST:1.2
--- pkgsrc/www/py-swiftclient/PLIST:1.1 Fri Jan 26 14:35:31 2018
+++ pkgsrc/www/py-swiftclient/PLIST     Fri Jan 26 17:20:08 2018
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2018/01/26 14:35:31 triaxx Exp $
+@comment $NetBSD: PLIST,v 1.2 2018/01/26 17:20:08 triaxx Exp $
 bin/swift
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -38,4 +38,4 @@ ${PYSITELIB}/swiftclient/utils.pyo
 ${PYSITELIB}/swiftclient/version.py
 ${PYSITELIB}/swiftclient/version.pyc
 ${PYSITELIB}/swiftclient/version.pyo
-share/man/man1/swift.1
+man/man1/swift.1
Index: pkgsrc/www/py-swiftclient/distinfo
diff -u pkgsrc/www/py-swiftclient/distinfo:1.1 pkgsrc/www/py-swiftclient/distinfo:1.2
--- pkgsrc/www/py-swiftclient/distinfo:1.1      Fri Jan 26 14:35:31 2018
+++ pkgsrc/www/py-swiftclient/distinfo  Fri Jan 26 17:20:08 2018
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1 2018/01/26 14:35:31 triaxx Exp $
+$NetBSD: distinfo,v 1.2 2018/01/26 17:20:08 triaxx Exp $
 
 SHA1 (python-swiftclient-3.4.0.tar.gz) = 99806d83a5cd12a663b41ce87c98643f9c4c58d7
 RMD160 (python-swiftclient-3.4.0.tar.gz) = f954bcd88b58774b3e88f89c3f63ee620cb77d97
 SHA512 (python-swiftclient-3.4.0.tar.gz) = c7def24f22ced03316ccb74fcd7426b071597a3c7576c14f98fd6d864d6ee3e8a7666966ca2d07b6d996546bfcc2497ab654a67ab0228705f078985a35b97457
 Size (python-swiftclient-3.4.0.tar.gz) = 175823 bytes
+SHA1 (patch-setup.cfg) = d1c8b80afbbda1d2c37a0a88bc4f55c3180d4980

Added files:

Index: pkgsrc/www/py-swiftclient/patches/patch-setup.cfg
diff -u /dev/null pkgsrc/www/py-swiftclient/patches/patch-setup.cfg:1.1
--- /dev/null   Fri Jan 26 17:20:08 2018
+++ pkgsrc/www/py-swiftclient/patches/patch-setup.cfg   Fri Jan 26 17:20:08 2018
@@ -0,0 +1,15 @@
+$NetBSD: patch-setup.cfg,v 1.1 2018/01/26 17:20:08 triaxx Exp $
+
+Fix the invalid hardcoded MANPATH.
+
+--- setup.cfg.orig     2017-07-27 08:00:29.000000000 +0000
++++ setup.cfg
+@@ -30,7 +30,7 @@ packages = 
+ scripts = 
+       bin/swift
+ data_files = 
+-      share/man/man1 = doc/manpages/swift.1
++      @PKGMANDIR@/man1 = doc/manpages/swift.1
+ 
+ [extras]
+ keystone = 



Home | Main Index | Thread Index | Old Index