pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-bugzilla



Module Name:    pkgsrc
Committed By:   adam
Date:           Fri Jan  4 08:49:33 UTC 2019

Modified Files:
        pkgsrc/devel/py-bugzilla: Makefile PLIST distinfo
Added Files:
        pkgsrc/devel/py-bugzilla: ALTERNATIVES

Log Message:
py-bugzilla: updated to 2.2.0

Release 2.2.0:
- Port tests to pytest
- cli: --cert Client side certificate support
- cli: add ability to post comment while sending attachment
- cli: Add --comment-tag option
- cli: Add info --active-components
- Add a raw Product.get wrapper API


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-bugzilla/ALTERNATIVES
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-bugzilla/Makefile \
    pkgsrc/devel/py-bugzilla/PLIST pkgsrc/devel/py-bugzilla/distinfo

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

Modified files:

Index: pkgsrc/devel/py-bugzilla/Makefile
diff -u pkgsrc/devel/py-bugzilla/Makefile:1.1 pkgsrc/devel/py-bugzilla/Makefile:1.2
--- pkgsrc/devel/py-bugzilla/Makefile:1.1       Mon Apr  3 14:32:09 2017
+++ pkgsrc/devel/py-bugzilla/Makefile   Fri Jan  4 08:49:33 2019
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2017/04/03 14:32:09 joerg Exp $
+# $NetBSD: Makefile,v 1.2 2019/01/04 08:49:33 adam Exp $
 
-VERSION=       2.1.0
-DISTNAME=      python-bugzilla-${VERSION}
-PKGNAME=       ${PYPKGPREFIX}-bugzilla-${VERSION}
-CATEGORIES=    devel
+DISTNAME=      python-bugzilla-2.2.0
+PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/python-bugzilla/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -11,7 +10,24 @@ HOMEPAGE=    https://github.com/python-bugz
 COMMENT=       Bugzilla XMLRPC access module
 LICENSE=       gnu-gpl-v2
 
+DEPENDS+=      ${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
 USE_LANGUAGES= # none
 
+SUBST_CLASSES+=                mandir
+SUBST_STAGE.mandir=    pre-configure
+SUBST_MESSAGE.mandir=  Setting correct mandir.
+SUBST_FILES.mandir=    setup.py
+SUBST_SED.mandir=      -e 's,share/man,${PKGMANDIR},g'
+
+post-install:
+       cd ${DESTDIR}${PREFIX} && \
+       ${MV} bin/bugzilla bin/bugzilla-${PYVERSSUFFIX} && \
+       ${MV} ${PKGMANDIR}/man1/bugzilla.1 ${PKGMANDIR}/man1/bugzilla-${PYVERSSUFFIX}.1 || ${TRUE}
+
+do-test:
+       cd ${WRKSRC} && pytest-${PYVERSSUFFIX} tests
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/py-bugzilla/PLIST
diff -u pkgsrc/devel/py-bugzilla/PLIST:1.1 pkgsrc/devel/py-bugzilla/PLIST:1.2
--- pkgsrc/devel/py-bugzilla/PLIST:1.1  Mon Apr  3 14:32:09 2017
+++ pkgsrc/devel/py-bugzilla/PLIST      Fri Jan  4 08:49:33 2019
@@ -1,8 +1,17 @@
-@comment $NetBSD: PLIST,v 1.1 2017/04/03 14:32:09 joerg Exp $
-bin/bugzilla
+@comment $NetBSD: PLIST,v 1.2 2019/01/04 08:49:33 adam Exp $
+bin/bugzilla-${PYVERSSUFFIX}
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
 ${PYSITELIB}/bugzilla/__init__.py
 ${PYSITELIB}/bugzilla/__init__.pyc
 ${PYSITELIB}/bugzilla/__init__.pyo
+${PYSITELIB}/bugzilla/_cli.py
+${PYSITELIB}/bugzilla/_cli.pyc
+${PYSITELIB}/bugzilla/_cli.pyo
 ${PYSITELIB}/bugzilla/apiversion.py
 ${PYSITELIB}/bugzilla/apiversion.pyc
 ${PYSITELIB}/bugzilla/apiversion.pyo
@@ -21,9 +30,4 @@ ${PYSITELIB}/bugzilla/rhbugzilla.pyo
 ${PYSITELIB}/bugzilla/transport.py
 ${PYSITELIB}/bugzilla/transport.pyc
 ${PYSITELIB}/bugzilla/transport.pyo
-${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
-${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
-${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
-${PYSITELIB}/${EGG_INFODIR}/requires.txt
-${PYSITELIB}/${EGG_INFODIR}/top_level.txt
-share/man/man1/bugzilla.1
+man/man1/bugzilla-${PYVERSSUFFIX}.1
Index: pkgsrc/devel/py-bugzilla/distinfo
diff -u pkgsrc/devel/py-bugzilla/distinfo:1.1 pkgsrc/devel/py-bugzilla/distinfo:1.2
--- pkgsrc/devel/py-bugzilla/distinfo:1.1       Mon Apr  3 14:32:09 2017
+++ pkgsrc/devel/py-bugzilla/distinfo   Fri Jan  4 08:49:33 2019
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2017/04/03 14:32:09 joerg Exp $
+$NetBSD: distinfo,v 1.2 2019/01/04 08:49:33 adam Exp $
 
-SHA1 (python-bugzilla-2.1.0.tar.gz) = bb844d54ecffd65e279cdb74d32e15753b66b876
-RMD160 (python-bugzilla-2.1.0.tar.gz) = aa9887f0732f5f0fc572c7e392b61c525e8239ec
-SHA512 (python-bugzilla-2.1.0.tar.gz) = 40dd331e2dbb4d70ce6d356eb800d6242ef9878112310087761c8dccb7f05b259f0f5fdee6821713a84c68f1e5f9e0bb6ee45542bc385f00822b97344371239e
-Size (python-bugzilla-2.1.0.tar.gz) = 78791 bytes
+SHA1 (python-bugzilla-2.2.0.tar.gz) = 555eaa77da76704ce073c4f23a6c7585124fc726
+RMD160 (python-bugzilla-2.2.0.tar.gz) = 264a5200fbdba89dead30d9bb63f76bab9e329ae
+SHA512 (python-bugzilla-2.2.0.tar.gz) = 91e54d072ccf51f1c93037f9ca2fb9b80322d61b182b51fcc2fea5bb9ee56a10bd8f931bf2410f1878ccede8bfd368f8a3f4a58eef236c1592814ba7d49cffb5
+Size (python-bugzilla-2.2.0.tar.gz) = 79818 bytes

Added files:

Index: pkgsrc/devel/py-bugzilla/ALTERNATIVES
diff -u /dev/null pkgsrc/devel/py-bugzilla/ALTERNATIVES:1.1
--- /dev/null   Fri Jan  4 08:49:33 2019
+++ pkgsrc/devel/py-bugzilla/ALTERNATIVES       Fri Jan  4 08:49:33 2019
@@ -0,0 +1,2 @@
+bin/bugzilla @PREFIX@/bin/bugzilla-@PYVERSSUFFIX@
+man/man1/bugzilla @PREFIX@/man/man1/bugzilla-@PYVERSSUFFIX@.1



Home | Main Index | Thread Index | Old Index