pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/py-swiftclient * debl3ification



details:   https://anonhg.NetBSD.org/pkgsrc/rev/12c79e3f03c1
branches:  trunk
changeset: 374644:12c79e3f03c1
user:      triaxx <triaxx%pkgsrc.org@localhost>
date:      Fri Jan 26 17:20:08 2018 +0000

description:
* debl3ification
* fix invalid MANPATH

diffstat:

 www/py-swiftclient/Makefile                |  12 +++++++++---
 www/py-swiftclient/PLIST                   |   4 ++--
 www/py-swiftclient/buildlink3.mk           |  12 ------------
 www/py-swiftclient/distinfo                |   3 ++-
 www/py-swiftclient/patches/patch-setup.cfg |  15 +++++++++++++++
 5 files changed, 28 insertions(+), 18 deletions(-)

diffs (97 lines):

diff -r af138e20d9ba -r 12c79e3f03c1 www/py-swiftclient/Makefile
--- a/www/py-swiftclient/Makefile       Fri Jan 26 17:18:23 2018 +0000
+++ b/www/py-swiftclient/Makefile       Fri Jan 26 17:20:08 2018 +0000
@@ -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"
diff -r af138e20d9ba -r 12c79e3f03c1 www/py-swiftclient/PLIST
--- a/www/py-swiftclient/PLIST  Fri Jan 26 17:18:23 2018 +0000
+++ b/www/py-swiftclient/PLIST  Fri Jan 26 17:20:08 2018 +0000
@@ -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/version.py
 ${PYSITELIB}/swiftclient/version.pyc
 ${PYSITELIB}/swiftclient/version.pyo
-share/man/man1/swift.1
+man/man1/swift.1
diff -r af138e20d9ba -r 12c79e3f03c1 www/py-swiftclient/buildlink3.mk
--- a/www/py-swiftclient/buildlink3.mk  Fri Jan 26 17:18:23 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,12 +0,0 @@
-# $NetBSD: buildlink3.mk,v 1.1 2018/01/26 14:35:31 triaxx Exp $
-
-BUILDLINK_TREE+=       py-swiftclient
-
-.if !defined(PY_SWIFTCLIENT_BUILDLINK3_MK)
-PY_SWIFTCLIENT_BUILDLINK3_MK:=
-
-BUILDLINK_API_DEPENDS.py-swiftclient+= ${PYPKGPREFIX}-swiftclient>=3.1.0
-BUILDLINK_PKGSRCDIR.py-swiftclient?=   ../../www/py-swiftclient
-.endif # PY_SWIFTCLIENT_BUILDLINK3_MK
-
-BUILDLINK_TREE+=       -py-swiftclient
diff -r af138e20d9ba -r 12c79e3f03c1 www/py-swiftclient/distinfo
--- a/www/py-swiftclient/distinfo       Fri Jan 26 17:18:23 2018 +0000
+++ b/www/py-swiftclient/distinfo       Fri Jan 26 17:20:08 2018 +0000
@@ -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
diff -r af138e20d9ba -r 12c79e3f03c1 www/py-swiftclient/patches/patch-setup.cfg
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/py-swiftclient/patches/patch-setup.cfg        Fri Jan 26 17:20:08 2018 +0000
@@ -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