git: 3c9296de8e32 - main - devel/py-setuptools_git_ls_files: add port: Python setuptools plugin to list all files tracked by git

From: Hiroki Tagato <tagattie_at_FreeBSD.org>
Date: Tue, 28 Mar 2023 06:40:53 UTC
The branch main has been updated by tagattie:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3c9296de8e32cd2111af7f3f686c09c3f6f29218

commit 3c9296de8e32cd2111af7f3f686c09c3f6f29218
Author:     Ting-Wei Lan <lantw44@gmail.com>
AuthorDate: 2023-03-28 06:27:00 +0000
Commit:     Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2023-03-28 06:40:38 +0000

    devel/py-setuptools_git_ls_files: add port: Python setuptools plugin to list all files tracked by git
    
    setuptools_git_ls_files is a plugin for setuptools that finds all git tracked
    files, including submodules.
    
    WWW: https://github.com/anthrotype/setuptools_git_ls_files
    
    PR:             270140
    Reported by:    Ting-Wei Lan <lantw44@gmail.com>
---
 devel/Makefile                             |  1 +
 devel/py-setuptools_git_ls_files/Makefile  | 22 ++++++++++++++++++++++
 devel/py-setuptools_git_ls_files/distinfo  |  3 +++
 devel/py-setuptools_git_ls_files/pkg-descr |  2 ++
 4 files changed, 28 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 73442b7f68fb..4672233672b5 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -5430,6 +5430,7 @@
     SUBDIR += py-setuptools-rust
     SUBDIR += py-setuptools44
     SUBDIR += py-setuptools58
+    SUBDIR += py-setuptools_git_ls_files
     SUBDIR += py-setuptools_hg
     SUBDIR += py-setuptools_scm
     SUBDIR += py-setuptools_scm_git_archive
diff --git a/devel/py-setuptools_git_ls_files/Makefile b/devel/py-setuptools_git_ls_files/Makefile
new file mode 100644
index 000000000000..75f48c6a8abc
--- /dev/null
+++ b/devel/py-setuptools_git_ls_files/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	setuptools_git_ls_files
+DISTVERSION=	0.1.2
+CATEGORIES=	devel python
+MASTER_SITES=	PYPI
+PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER=	lantw44@gmail.com
+COMMENT=	Python setuptools plugin to list all files tracked by git
+WWW=		https://github.com/anthrotype/setuptools_git_ls_files
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
+RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>=0:devel/py-setuptools_scm@${PY_FLAVOR}
+
+USES=		python
+USE_PYTHON=	autoplist distutils
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/devel/py-setuptools_git_ls_files/distinfo b/devel/py-setuptools_git_ls_files/distinfo
new file mode 100644
index 000000000000..24f74e313c3a
--- /dev/null
+++ b/devel/py-setuptools_git_ls_files/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1678540376
+SHA256 (setuptools_git_ls_files-0.1.2.tar.gz) = 7d612087430dc912f0dca7a35c99bf791b2f86b7fa5a40c5a562192947c86efa
+SIZE (setuptools_git_ls_files-0.1.2.tar.gz) = 2504
diff --git a/devel/py-setuptools_git_ls_files/pkg-descr b/devel/py-setuptools_git_ls_files/pkg-descr
new file mode 100644
index 000000000000..52bccdbd36cf
--- /dev/null
+++ b/devel/py-setuptools_git_ls_files/pkg-descr
@@ -0,0 +1,2 @@
+setuptools_git_ls_files is a plugin for setuptools that finds all git tracked
+files, including submodules.