aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-08-21 16:51:52 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2023-08-21 17:01:57 +0000
commit72093f0398ad47fef5f545d364c70ab1c6bf9852 (patch)
tree83d6c180c43a954248c088574d5c760f2278b56d
parent25e1aca9be8469fc191e22dcd5f690b0aa1784cb (diff)
downloadports-72093f0398ad47fef5f545d364c70ab1c6bf9852.tar.gz
ports-72093f0398ad47fef5f545d364c70ab1c6bf9852.zip
devel/py-all-repos: Add py-all-repos 1.26.0
all-repos clones all your repositories and apply sweeping changes.
-rw-r--r--devel/Makefile1
-rw-r--r--devel/py-all-repos/Makefile31
-rw-r--r--devel/py-all-repos/distinfo3
-rw-r--r--devel/py-all-repos/pkg-descr1
4 files changed, 36 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 3f3e42c01892..4cad503a7af9 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4215,6 +4215,7 @@
SUBDIR += py-aiorwlock
SUBDIR += py-aiosignal
SUBDIR += py-airtable-python-wrapper
+ SUBDIR += py-all-repos
SUBDIR += py-amalgamate
SUBDIR += py-aniso8601
SUBDIR += py-aniso86016
diff --git a/devel/py-all-repos/Makefile b/devel/py-all-repos/Makefile
new file mode 100644
index 000000000000..72cf08ec2b95
--- /dev/null
+++ b/devel/py-all-repos/Makefile
@@ -0,0 +1,31 @@
+PORTNAME= all-repos
+PORTVERSION= 1.26.0
+CATEGORIES= devel python
+MASTER_SITES= PYPI
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+DISTNAME= all_repos-${PORTVERSION}
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Clone all your repositories and apply sweeping changes
+WWW= https://github.com/asottile/all-repos
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+RUN_DEPENDS= git:devel/git \
+ jq:textproc/jq \
+ ${PYTHON_PKGNAMEPREFIX}identify>=0:devel/py-identify@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}packaging>=20.9:devel/py-packaging@${PY_FLAVOR}
+
+USES= python
+USE_PYTHON= autoplist concurrent distutils
+
+NO_ARCH= yes
+
+.include <bsd.port.pre.mk>
+
+.if ${PYTHON_REL} < 31100
+RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}contextlib-chdir>=0:devel/py-contextlib-chdir@${PY_FLAVOR}
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/py-all-repos/distinfo b/devel/py-all-repos/distinfo
new file mode 100644
index 000000000000..a541fb50c485
--- /dev/null
+++ b/devel/py-all-repos/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1692211611
+SHA256 (all_repos-1.26.0.tar.gz) = 52fd543c17064af11c06cfe344bb43eda550f5a69de2be767d5c98661a0783b2
+SIZE (all_repos-1.26.0.tar.gz) = 31007
diff --git a/devel/py-all-repos/pkg-descr b/devel/py-all-repos/pkg-descr
new file mode 100644
index 000000000000..6a6f1dd35800
--- /dev/null
+++ b/devel/py-all-repos/pkg-descr
@@ -0,0 +1 @@
+all-repos clones all your repositories and apply sweeping changes.