[packages/epydoc] Rel 7; fix shebang

arekm arekm at pld-linux.org
Mon Jul 8 14:22:31 CEST 2024


commit e1a1527fdf26f97abb62077216e167ae39df2372
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Jul 8 13:33:17 2024 +0200

    Rel 7; fix shebang

 epydoc.spec | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/epydoc.spec b/epydoc.spec
index 0690250..65d8bed 100644
--- a/epydoc.spec
+++ b/epydoc.spec
@@ -2,7 +2,7 @@ Summary:	Tool for generating API documentation for Python modules
 Summary(pl.UTF-8):	Narzędzie do generowania dokumentacji API modułów Pythona
 Name:		epydoc
 Version:	3.0.1
-Release:	6
+Release:	7
 License:	MIT
 Group:		Development/Languages/Python
 Source0:	http://downloads.sourceforge.net/epydoc/%{name}-%{version}.zip
@@ -75,6 +75,9 @@ Ten pakiet zawiera graficzny interfejs użytkownika (GUI) dla epydoc.
 %patch1 -p1
 %patch2 -p1
 
+%{__sed} -E -i -e '1s,#!\s*/usr/bin/env\s+python(\s|$),#!%{__python}\1,' \
+	scripts/epydoc scripts/epydoc.py scripts/apirst2html.py scripts/epydocgui
+
 %build
 %py_build
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/epydoc.git/commitdiff/e1a1527fdf26f97abb62077216e167ae39df2372



More information about the pld-cvs-commit mailing list