1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

devel/gitinspector: Convert REINPLACE_CMD to patch file

This commit is contained in:
Po-Chuan Hsieh 2024-03-09 21:44:50 +08:00
parent 697fc9120e
commit ff3006d508
No known key found for this signature in database
GPG Key ID: 9A4BD10F002DD04B
2 changed files with 10 additions and 3 deletions

View File

@ -22,7 +22,4 @@ NO_ARCH= yes
GH_ACCOUNT= ejwa
USE_GITHUB= yes
post-patch:
@${REINPLACE_CMD} -e '/data_files/d' ${WRKSRC}/setup.py
.include <bsd.port.mk>

View File

@ -0,0 +1,10 @@
--- setup.py.orig 2016-02-03 13:25:05 UTC
+++ setup.py
@@ -46,7 +46,6 @@ setup(
],
packages = find_packages(exclude = ['tests']),
package_data = {"": ["html/*", "translations/*"]},
- data_files = [("share/doc/gitinspector", glob("*.txt"))],
entry_points = {"console_scripts": ["gitinspector = gitinspector.gitinspector:main"]},
zip_safe = False
)