pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
tnfrepo: New package for TNF repository configuration.
Module Name: pkgsrc-wip
Committed By: Taylor R Campbell <riastradh%NetBSD.org@localhost>
Pushed By: riastradh
Date: Fri Jul 4 22:52:45 2025 +0000
Changeset: 3c8f11ad4e73f8815582497bca384c1d381cc497
Added Files:
tnfrepo-dev/DESCR
tnfrepo-dev/Makefile
tnfrepo-dev/PLIST
Log Message:
tnfrepo: New package for TNF repository configuration.
As proposed here, with a timeline that has slipped somewhat:
https://mail-index.netbsd.org/tech-repository/2025/01/04/msg000805.html
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=3c8f11ad4e73f8815582497bca384c1d381cc497
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
tnfrepo-dev/DESCR | 5 +++++
tnfrepo-dev/Makefile | 53 ++++++++++++++++++++++++++++++++++++++++++++++++++++
tnfrepo-dev/PLIST | 27 ++++++++++++++++++++++++++
3 files changed, 85 insertions(+)
diffs:
diff --git a/tnfrepo-dev/DESCR b/tnfrepo-dev/DESCR
new file mode 100644
index 0000000000..b32f9def34
--- /dev/null
+++ b/tnfrepo-dev/DESCR
@@ -0,0 +1,5 @@
+Source repository configuration for The NetBSD Foundation.
+
+This package is meant to be used internally by The NetBSD Foundation.
+It may be useful for other purposes, and some components may be pushed
+upstream, but don't expect it to suit your needs if you're not TNF.
diff --git a/tnfrepo-dev/Makefile b/tnfrepo-dev/Makefile
new file mode 100644
index 0000000000..11f16fec49
--- /dev/null
+++ b/tnfrepo-dev/Makefile
@@ -0,0 +1,53 @@
+# $NetBSD$
+
+DISTNAME= tnfrepo-0.0a20250704.dev6
+PKGNAME= ${DISTNAME}
+CATEGORIES= sysutils
+HG_REPO= https://hg.mumble.net/campbell/tnfrepo
+HG_TAG= ede88ba6608480522bf7ffcf78abc3b3fac69197
+
+MAINTAINER= riastradh%NetBSD.org@localhost
+HOMEPAGE= https://hg.mumble.net/campbell/tnfrepo
+COMMENT= TNF source repository configuration
+LICENSE= 2-clause-bsd AND gnu-gpl-v2
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-flit_core>=3.12.0:../../devel/py-flit_core
+
+DEPENDS+= ${PYPKGPREFIX}-hg-evolve>=11.1.4:../../devel/py-hg-evolve
+DEPENDS+= ${PYPKGPREFIX}-mercurial>=6.8.1:../../devel/py-mercurial
+DEPENDS+= git-base>=2.47.1:../../devel/git-base
+DEPENDS+= git-cinnabar>=0.7.0beta1:../../devel/git-cinnabar
+
+TOOL_DEPENDS+= ${PYPKGPREFIX}-cram>=0.7:../../devel/py-cram
+
+USE_LANGUAGES= # none
+
+PYTHON_SELF_CONFLICT= yes
+PYTHON_VERSIONS_INCOMPATIBLE= 27
+
+PYSETUPSUBDIR= hghooks
+USE_PYTEST= no
+
+INSTALL_MAKE_FLAGS+= prefix=${PREFIX:Q}
+
+pre-build:
+ ${RUN}cd ${WRKSRC} && ${BUILD_MAKE_CMD}
+
+post-install:
+ ${RUN}cd ${WRKSRC} && \
+ ${PKGSRC_SETENV} ${INSTALL_ENV} ${MAKE_ENV} \
+ ${MAKE_PROGRAM} ${MAKE_FLAGS} ${INSTALL_MAKE_FLAGS} \
+ -f ${MAKE_FILE} ${INSTALL_TARGET}
+
+# Test requires install first. This is intentional, so that it checks
+# the Python modules were installed correctly and are functioning.
+# (You can also do `bmake test-env' and then run `make check' in order
+# to test without installing.)
+
+do-test:
+ ${RUN}cd ${WRKSRC} && \
+ cram-${PYVERSSUFFIX} --verbose tests/
+
+.include "../../lang/python/wheel.mk"
+.include "../../wip/mk/hg-package.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/tnfrepo-dev/PLIST b/tnfrepo-dev/PLIST
new file mode 100644
index 0000000000..fddbda7727
--- /dev/null
+++ b/tnfrepo-dev/PLIST
@@ -0,0 +1,27 @@
+@comment $NetBSD$
+${PYSITELIB}/netbsd_hghooks-${PKGVERSION}.dist-info/METADATA
+${PYSITELIB}/netbsd_hghooks-${PKGVERSION}.dist-info/RECORD
+${PYSITELIB}/netbsd_hghooks-${PKGVERSION}.dist-info/WHEEL
+${PYSITELIB}/netbsd_hghooks/__init__.py
+${PYSITELIB}/netbsd_hghooks/__init__.pyc
+${PYSITELIB}/netbsd_hghooks/__init__.pyo
+${PYSITELIB}/netbsd_hghooks/_version.py
+${PYSITELIB}/netbsd_hghooks/_version.pyc
+${PYSITELIB}/netbsd_hghooks/_version.pyo
+${PYSITELIB}/netbsd_hghooks/reject_bookmarks.py
+${PYSITELIB}/netbsd_hghooks/reject_bookmarks.pyc
+${PYSITELIB}/netbsd_hghooks/reject_bookmarks.pyo
+${PYSITELIB}/netbsd_hghooks/reject_new_heads.py
+${PYSITELIB}/netbsd_hghooks/reject_new_heads.pyc
+${PYSITELIB}/netbsd_hghooks/reject_new_heads.pyo
+${PYSITELIB}/netbsd_hghooks/reject_normcasecollision.py
+${PYSITELIB}/netbsd_hghooks/reject_normcasecollision.pyc
+${PYSITELIB}/netbsd_hghooks/reject_normcasecollision.pyo
+${PYSITELIB}/netbsd_hghooks/require_user_login.py
+${PYSITELIB}/netbsd_hghooks/require_user_login.pyc
+${PYSITELIB}/netbsd_hghooks/require_user_login.pyo
+share/tnfrepo/githooks/pre-receive.sh
+share/tnfrepo/githooks/reference-transaction.sh
+share/tnfrepo/githooks/update.sh
+share/tnfrepo/hgrc/draft
+share/tnfrepo/hgrc/public
Home |
Main Index |
Thread Index |
Old Index