Bug 178822 - [patch] [maintainer] sysutils/ansible
Summary: [patch] [maintainer] sysutils/ansible
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: William Grzybowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-21 21:10 UTC by Nikolai Lifanov
Modified: 2013-05-23 17:40 UTC (History)
0 users

See Also:


Attachments
ansible-shebangfix.shar (16.96 KB, text/plain)
2013-05-21 21:10 UTC, Nikolai Lifanov
no flags Details
ansible.diff (696 bytes, patch)
2013-05-22 13:19 UTC, Nikolai Lifanov
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolai Lifanov 2013-05-21 21:10:00 UTC
	This is functionally a no-op, but makes use of USES=shebangfix
	in place of a bit of custom logic.

Fix: Replace with this shar:
Comment 1 William Grzybowski 2013-05-22 12:05:21 UTC
Hi,

As you're the maintainer, it is much appreciated if you post a patch
using patch(1), or even better, svn diff, of a svn checkout of the
ports with the changes.

Thank you.

--
William Grzybowski
------------------------------------------
Curitiba/PR - Brasil
Comment 2 Nikolai Lifanov 2013-05-22 13:19:35 UTC
On 2013-05-22 07:05, William Grzybowski wrote:
> Hi,
> 
> As you're the maintainer, it is much appreciated if you post a patch
> using patch(1), or even better, svn diff, of a svn checkout of the
> ports with the changes.
> 
> Thank you.
> 
> --
> William Grzybowski
> ------------------------------------------
> Curitiba/PR - Brasil

Absolutely!
Comment 3 William Grzybowski freebsd_committer freebsd_triage 2013-05-22 13:21:51 UTC
Responsible Changed
From-To: freebsd-ports-bugs->wg

I'll take it.
Comment 4 dfilter service freebsd_committer freebsd_triage 2013-05-23 17:36:44 UTC
Author: wg
Date: Thu May 23 16:36:28 2013
New Revision: 318885
URL: http://svnweb.freebsd.org/changeset/ports/318885

Log:
  - Use shebangfix instead of manual replace
  
  PR:		ports/178822
  Submitted by:	Nikolai Lifanov <lifanov@mail.lifanov.com> (maintainer)
  Approved by:	culot (mentor)

Modified:
  head/sysutils/ansible/Makefile

Modified: head/sysutils/ansible/Makefile
==============================================================================
--- head/sysutils/ansible/Makefile	Thu May 23 16:33:59 2013	(r318884)
+++ head/sysutils/ansible/Makefile	Thu May 23 16:36:28 2013	(r318885)
@@ -19,6 +19,9 @@ RUN_DEPENDS:=	${BUILD_DEPENDS}
 USE_PYTHON=	-2.7
 USE_PYDISTUTILS=	yes
 
+USES=		shebangfix
+SHEBANG_FILES=	${WRKSRC}/library/*
+
 SUB_FILES=	pkg-message
 PORTEXAMPLES=	*
 MAN1=	ansible-doc.1 ansible-playbook.1 ansible-pull.1 ansible.1
@@ -40,8 +43,6 @@ post-patch-script:
 		${WRKSRC}/lib/ansible/constants.py \
 		${WRKSRC}/lib/ansible/playbook/__init__.py \
 		${WRKSRC}/lib/ansible/runner/__init__.py
-	@${REINPLACE_CMD} -e "s|/usr/bin/python|/usr/bin/env python|" \
-		${WRKSRC}/library/*
 
 pre-install-script:
 	@(cd ${WRKSRC} && ${FIND} . -type f -name '*.bak' -exec ${RM} {} +)
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 5 William Grzybowski freebsd_committer freebsd_triage 2013-05-23 17:36:45 UTC
State Changed
From-To: open->closed

Thank you for the updated patch. Committed.  Thanks!