pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
py-buildbot*: pkglint fixes, add a test dependency
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Tue Feb 17 20:13:51 2026 +0100
Changeset: 9c3e946104d610456a30c102028993771730fa53
Modified Files:
py-buildbot-console-view/Makefile
py-buildbot-grid-view/Makefile
py-buildbot-pkg/Makefile
py-buildbot-waterfall-view/Makefile
py-buildbot-worker/Makefile
py-buildbot-www/Makefile
py-buildbot/Makefile
py-buildbot/Makefile.common
Log Message:
py-buildbot*: pkglint fixes, add a test dependency
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=9c3e946104d610456a30c102028993771730fa53
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
py-buildbot-console-view/Makefile | 1 +
py-buildbot-grid-view/Makefile | 1 +
py-buildbot-pkg/Makefile | 1 +
py-buildbot-waterfall-view/Makefile | 2 +-
py-buildbot-worker/Makefile | 3 ++-
py-buildbot-www/Makefile | 1 +
py-buildbot/Makefile | 7 ++++++-
py-buildbot/Makefile.common | 7 ++++++-
8 files changed, 19 insertions(+), 4 deletions(-)
diffs:
diff --git a/py-buildbot-console-view/Makefile b/py-buildbot-console-view/Makefile
index 7d146a5bcd..fd65bfe71c 100644
--- a/py-buildbot-console-view/Makefile
+++ b/py-buildbot-console-view/Makefile
@@ -12,3 +12,4 @@ TOOL_DEPENDS+= ${PYPKGPREFIX}-buildbot-pkg-[0-9]*:../../wip/py-buildbot-pkg
USE_LANGUAGES= # none
.include "../../wip/py-buildbot/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-buildbot-grid-view/Makefile b/py-buildbot-grid-view/Makefile
index 71c5a614b3..9aa9fa6d2d 100644
--- a/py-buildbot-grid-view/Makefile
+++ b/py-buildbot-grid-view/Makefile
@@ -12,3 +12,4 @@ TOOL_DEPENDS+= ${PYPKGPREFIX}-buildbot-pkg-[0-9]*:../../wip/py-buildbot-pkg
USE_LANGUAGES= # none
.include "../../wip/py-buildbot/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-buildbot-pkg/Makefile b/py-buildbot-pkg/Makefile
index 350cbf9a93..99817161f4 100644
--- a/py-buildbot-pkg/Makefile
+++ b/py-buildbot-pkg/Makefile
@@ -15,3 +15,4 @@ USE_LANGUAGES= # none
MAKE_ENV+= BUILDBOT_VERSION=${PKGVERSION_NOREV}
.include "../../wip/py-buildbot/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-buildbot-waterfall-view/Makefile b/py-buildbot-waterfall-view/Makefile
index 45124a0818..8abf4b363f 100644
--- a/py-buildbot-waterfall-view/Makefile
+++ b/py-buildbot-waterfall-view/Makefile
@@ -6,10 +6,10 @@ CATEGORIES= devel net python
MASTER_SITES= ${MASTER_SITE_PYPI:=b/buildbot-waterfall-view/}
COMMENT= Waterfall Plugin for the buildbot CI system
-LICENSE= gnu-gpl-v2
TOOL_DEPENDS+= ${PYPKGPREFIX}-buildbot-pkg-[0-9]*:../../wip/py-buildbot-pkg
USE_LANGUAGES= # none
.include "../../wip/py-buildbot/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-buildbot-worker/Makefile b/py-buildbot-worker/Makefile
index ef5b980b30..b14aa1530d 100644
--- a/py-buildbot-worker/Makefile
+++ b/py-buildbot-worker/Makefile
@@ -22,9 +22,10 @@ post-install:
${MV} buildbot-worker buildbot-worker-${PYVERSSUFFIX} && \
${MV} buildbot_worker_windows_service buildbot_worker_windows_service-${PYVERSSUFFIX} || ${TRUE}
-TEST_ENV+= PYTHONPATH=.
+TEST_ENV+= PYTHONPATH=.
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} trial-${PYVERSSUFFIX} buildbot_worker.test
.include "../../wip/py-buildbot/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-buildbot-www/Makefile b/py-buildbot-www/Makefile
index 584d4bcbba..abe44e3951 100644
--- a/py-buildbot-www/Makefile
+++ b/py-buildbot-www/Makefile
@@ -12,3 +12,4 @@ TOOL_DEPENDS+= ${PYPKGPREFIX}-buildbot-pkg-[0-9]*:../../wip/py-buildbot-pkg
USE_LANGUAGES= # none
.include "../../wip/py-buildbot/Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-buildbot/Makefile b/py-buildbot/Makefile
index 8e6fea9cb9..d45a21d3e6 100644
--- a/py-buildbot/Makefile
+++ b/py-buildbot/Makefile
@@ -43,11 +43,15 @@ TEST_DEPENDS+= ${PYPKGPREFIX}-markdown>=3:../../textproc/py-markdown
TEST_DEPENDS+= ${PYPKGPREFIX}-parameterized-[0-9]*:../../devel/py-parameterized
USE_LANGUAGES= # none
+USE_TOOLS+= git:test
TEST_ENV+= PYTHONPATH=.
+.if make(test)
+ALLOW_NETWORK_ACCESS= yes
+.endif
# as of 4.3.0
-# FAILED (skips=40, errors=421, successes=653)
+# FAILED (skips=45, errors=420, successes=651)
do-test:
cd ${WRKSRC} && ${SETENV} ${TEST_ENV} trial-${PYVERSSUFFIX} buildbot.test
@@ -57,3 +61,4 @@ post-install:
${MV} buildbot_windows_service buildbot_windows_service-${PYVERSSUFFIX} || ${TRUE}
.include "Makefile.common"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-buildbot/Makefile.common b/py-buildbot/Makefile.common
index 673988e16a..63e6f388b7 100644
--- a/py-buildbot/Makefile.common
+++ b/py-buildbot/Makefile.common
@@ -1,4 +1,10 @@
# $NetBSD$
+# used by wip/py-buildbot-console-view/Makefile
+# used by wip/py-buildbot-grid-view/Makefile
+# used by wip/py-buildbot-pkg/Makefile
+# used by wip/py-buildbot-waterfall-view/Makefile
+# used by wip/py-buildbot-worker/Makefile
+# used by wip/py-buildbot-www/Makefile
BBVERSION= 4.3.0
MAINTAINER= root%zta.lk@localhost
@@ -7,4 +13,3 @@ PKGNAME?= ${PYPKGPREFIX}-${DISTNAME}
LICENSE= gnu-gpl-v2
.include "../../lang/python/wheel.mk"
-.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index