pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/py-bugzilla py-bugzilla: updated to 2.2.0
details: https://anonhg.NetBSD.org/pkgsrc/rev/460ab8168c92
branches: trunk
changeset: 389585:460ab8168c92
user: adam <adam%pkgsrc.org@localhost>
date: Fri Jan 04 08:49:33 2019 +0000
description:
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
diffstat:
devel/py-bugzilla/ALTERNATIVES | 2 ++
devel/py-bugzilla/Makefile | 26 +++++++++++++++++++++-----
devel/py-bugzilla/PLIST | 20 ++++++++++++--------
devel/py-bugzilla/distinfo | 10 +++++-----
4 files changed, 40 insertions(+), 18 deletions(-)
diffs (97 lines):
diff -r b5f1b00d2fc0 -r 460ab8168c92 devel/py-bugzilla/ALTERNATIVES
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-bugzilla/ALTERNATIVES Fri Jan 04 08:49:33 2019 +0000
@@ -0,0 +1,2 @@
+bin/bugzilla @PREFIX@/bin/bugzilla-@PYVERSSUFFIX@
+man/man1/bugzilla @PREFIX@/man/man1/bugzilla-@PYVERSSUFFIX@.1
diff -r b5f1b00d2fc0 -r 460ab8168c92 devel/py-bugzilla/Makefile
--- a/devel/py-bugzilla/Makefile Fri Jan 04 08:34:28 2019 +0000
+++ b/devel/py-bugzilla/Makefile Fri Jan 04 08:49:33 2019 +0000
@@ -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 @@
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"
diff -r b5f1b00d2fc0 -r 460ab8168c92 devel/py-bugzilla/PLIST
--- a/devel/py-bugzilla/PLIST Fri Jan 04 08:34:28 2019 +0000
+++ b/devel/py-bugzilla/PLIST Fri Jan 04 08:49:33 2019 +0000
@@ -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/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
diff -r b5f1b00d2fc0 -r 460ab8168c92 devel/py-bugzilla/distinfo
--- a/devel/py-bugzilla/distinfo Fri Jan 04 08:34:28 2019 +0000
+++ b/devel/py-bugzilla/distinfo Fri Jan 04 08:49:33 2019 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index