Skip to content

Commit

Permalink
devel/py-setuptools_git_ls_files: add port: Python setuptools plugin …
Browse files Browse the repository at this point in the history
…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>
  • Loading branch information
lantw44 authored and Hiroki Tagato committed Mar 28, 2023
1 parent f105633 commit 3c9296d
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions devel/Makefile
Expand Up @@ -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
Expand Down
22 changes: 22 additions & 0 deletions 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>
3 changes: 3 additions & 0 deletions 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
2 changes: 2 additions & 0 deletions 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.

0 comments on commit 3c9296d

Please sign in to comment.