Skip to content

Commit

Permalink
devel/gitinspector: Convert REINPLACE_CMD to patch file
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed Mar 9, 2024
1 parent 697fc91 commit ff3006d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
3 changes: 0 additions & 3 deletions devel/gitinspector/Makefile
Expand Up @@ -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>
10 changes: 10 additions & 0 deletions devel/gitinspector/files/patch-setup.py
@@ -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
)

0 comments on commit ff3006d

Please sign in to comment.