pkgsrc-WIP-changes archive

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

py-hg-cinnabarclone: Import a copy of devel/py-hg-cinnabarclone.



Module Name:	pkgsrc-wip
Committed By:	Taylor R Campbell <riastradh%NetBSD.org@localhost>
Pushed By:	riastradh
Date:		Thu Dec 5 00:39:31 2024 +0000
Changeset:	fe854d59ae31bd328588964308b4f6996805084c

Added Files:
	py-hg-cinnabarclone/DESCR
	py-hg-cinnabarclone/Makefile
	py-hg-cinnabarclone/PLIST

Log Message:
py-hg-cinnabarclone: Import a copy of devel/py-hg-cinnabarclone.

This serves to test updates to wip/git-cinnabar/Makefile.common.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fe854d59ae31bd328588964308b4f6996805084c

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

diffstat:
 py-hg-cinnabarclone/DESCR    |  5 +++++
 py-hg-cinnabarclone/Makefile | 33 +++++++++++++++++++++++++++++++++
 py-hg-cinnabarclone/PLIST    |  4 ++++
 3 files changed, 42 insertions(+)

diffs:
diff --git a/py-hg-cinnabarclone/DESCR b/py-hg-cinnabarclone/DESCR
new file mode 100644
index 0000000000..52a5f0bf83
--- /dev/null
+++ b/py-hg-cinnabarclone/DESCR
@@ -0,0 +1,5 @@
+"cinnabarclone" is a mercurial server-side extension used to advertise
+the existence of pre-generated, externally hosted git repository or
+bundle providing git-cinnabar metadata corresponding to the mercurial
+repository.  Cloning from such a git repository can be faster than
+cloning from mercurial directly.
diff --git a/py-hg-cinnabarclone/Makefile b/py-hg-cinnabarclone/Makefile
new file mode 100644
index 0000000000..e1d65af5f7
--- /dev/null
+++ b/py-hg-cinnabarclone/Makefile
@@ -0,0 +1,33 @@
+#	$NetBSD: Makefile,v 1.2 2024/06/14 14:21:02 wiz Exp $
+#
+
+.include "../../wip/git-cinnabar/Makefile.common"
+
+PKGNAME=	${PYPKGPREFIX}-hg-cinnabarclone-${VERSION}
+CATEGORIES=	devel
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+COMMENT=	Mercurial extension to accelerate git-cinnabar clone
+
+DEPENDS+=	${PYPKGPREFIX}-mercurial>=6.0:../../devel/py-mercurial
+
+USE_LANGUAGES=	# none
+
+PYTHON_VERSIONS_INCOMPATIBLE=	27
+
+NO_CONFIGURE=	yes
+NO_BUILD=	yes
+
+PLIST_SUBST+=	PYSITELIB=${PYSITELIB:Q}
+PLIST_SUBST+=	PYVERS=${PYVERSSUFFIX:S/.//}
+
+INSTALLATION_DIRS+=	${PYSITELIB}/hgext3rd
+
+do-install:
+	${INSTALL_DATA} ${WRKSRC:Q}/mercurial/cinnabarclone.py \
+		${DESTDIR:Q}${PREFIX:Q}/${PYSITELIB:Q}/hgext3rd
+	${PY_COMPILE_ALL} ${DESTDIR:Q}${PREFIX:Q}/${PYSITELIB:Q}/hgext3rd
+	${PY_COMPILE_O_ALL} ${DESTDIR:Q}${PREFIX:Q}/${PYSITELIB:Q}/hgext3rd
+
+.include "../../lang/python/extension.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-hg-cinnabarclone/PLIST b/py-hg-cinnabarclone/PLIST
new file mode 100644
index 0000000000..39816157ad
--- /dev/null
+++ b/py-hg-cinnabarclone/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.2 2024/06/14 14:21:02 wiz Exp $
+${PYSITELIB}/hgext3rd/cinnabarclone.py
+${PYSITELIB}/hgext3rd/cinnabarclone.pyc
+${PYSITELIB}/hgext3rd/cinnabarclone.pyo


Home | Main Index | Thread Index | Old Index