pkgsrc-WIP-changes archive

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

py-cherry_picker: import new package



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <tk%giga.or.at@localhost>
Pushed By:	wiz
Date:		Tue Apr 26 23:42:20 2022 +0200
Changeset:	c53c22f21d58ee2a5082d909bbee5b2fdc19f108

Modified Files:
	Makefile
Added Files:
	py-cherry_picker/DESCR
	py-cherry_picker/Makefile
	py-cherry_picker/PLIST
	py-cherry_picker/distinfo

Log Message:
py-cherry_picker: import new package

This tool is used to backport CPython changes from main into one
or more of the maintenance branches.

cherry_picker can be configured to backport other projects with
similar workflow as CPython.

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

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

diffstat:
 Makefile                  |  1 +
 py-cherry_picker/DESCR    |  5 +++++
 py-cherry_picker/Makefile | 27 +++++++++++++++++++++++++++
 py-cherry_picker/PLIST    | 20 ++++++++++++++++++++
 py-cherry_picker/distinfo |  5 +++++
 5 files changed, 58 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index dde0720354..6a1c2d65de 100644
--- a/Makefile
+++ b/Makefile
@@ -3555,6 +3555,7 @@ SUBDIR+=	py-checkov
 SUBDIR+=	py-chemlab
 SUBDIR+=	py-chempy
 SUBDIR+=	py-chemview
+SUBDIR+=	py-cherry_picker
 SUBDIR+=	py-chinup
 SUBDIR+=	py-chm
 SUBDIR+=	py-chompack
diff --git a/py-cherry_picker/DESCR b/py-cherry_picker/DESCR
new file mode 100644
index 0000000000..03eb7e4a3c
--- /dev/null
+++ b/py-cherry_picker/DESCR
@@ -0,0 +1,5 @@
+This tool is used to backport CPython changes from main into one
+or more of the maintenance branches.
+
+cherry_picker can be configured to backport other projects with
+similar workflow as CPython.
diff --git a/py-cherry_picker/Makefile b/py-cherry_picker/Makefile
new file mode 100644
index 0000000000..fdc75a6310
--- /dev/null
+++ b/py-cherry_picker/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.29 2020/05/03 18:29:16 adam Exp $
+
+DISTNAME=	cherry_picker-2.1.0
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	devel python
+MASTER_SITES=	${MASTER_SITE_PYPI:=c/cherry_picker/}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://pypi.org/project/cherry_picker/
+COMMENT=	Backport CPython changes from main to maintenance branches
+LICENSE=	apache-2.0
+
+DEPENDS+=	${PYPKGPREFIX}-click>=6.0:../../devel/py-click
+DEPENDS+=	${PYPKGPREFIX}-gidgethub-[0-9]*:../../devel/py-gidgethub
+DEPENDS+=	${PYPKGPREFIX}-toml-[0-9]*:../../textproc/py-toml
+DEPENDS+=	${PYPKGPREFIX}-requests-[0-9]*:../../devel/py-requests
+DEPENDS+=	git-base-[0-9]*:../../devel/git-base
+TEST_DEPENDS+=	${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+
+# as of 2.1.0
+# 15 failed, 45 passed
+# (or 14 if cherry_picker is installed first)
+do-test:
+	cd ${WRKSRC} && ${SETENV} ${TEST_ENV} pytest-${PYVERSSUFFIX}
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-cherry_picker/PLIST b/py-cherry_picker/PLIST
new file mode 100644
index 0000000000..9529a62b0e
--- /dev/null
+++ b/py-cherry_picker/PLIST
@@ -0,0 +1,20 @@
+@comment $NetBSD$
+bin/cherry_picker
+${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}/cherry_picker/__init__.py
+${PYSITELIB}/cherry_picker/__init__.pyc
+${PYSITELIB}/cherry_picker/__init__.pyo
+${PYSITELIB}/cherry_picker/__main__.py
+${PYSITELIB}/cherry_picker/__main__.pyc
+${PYSITELIB}/cherry_picker/__main__.pyo
+${PYSITELIB}/cherry_picker/cherry_picker.py
+${PYSITELIB}/cherry_picker/cherry_picker.pyc
+${PYSITELIB}/cherry_picker/cherry_picker.pyo
+${PYSITELIB}/cherry_picker/test.py
+${PYSITELIB}/cherry_picker/test.pyc
+${PYSITELIB}/cherry_picker/test.pyo
diff --git a/py-cherry_picker/distinfo b/py-cherry_picker/distinfo
new file mode 100644
index 0000000000..2962c0c9f4
--- /dev/null
+++ b/py-cherry_picker/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.27 2021/10/26 10:18:44 nia Exp $
+
+BLAKE2s (cherry_picker-2.1.0.tar.gz) = 0fce943bf7a9ab20bc60d2690e58a760bb8cd8fe2779c9dc5ec3ed23433859d9
+SHA512 (cherry_picker-2.1.0.tar.gz) = 26cbcad812177b1de4bbce8e2f6a573421d434f574329dfc593c41c30b74eef56c23fba9875d3fa54d142ccb2de607f28dffdd18f9e48bd1dbb8e7ad5b8b74b9
+Size (cherry_picker-2.1.0.tar.gz) = 25484 bytes


Home | Main Index | Thread Index | Old Index