git: f90fbcad2557 - main - net/rubygem-amq-protocol: Use USES=python:env and USES=shebangfix for python shebang fix
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 01 Nov 2021 13:48:37 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f90fbcad255736dc5ab37d0123f92f09708240a4
commit f90fbcad255736dc5ab37d0123f92f09708240a4
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-11-01 13:30:01 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-11-01 13:42:20 +0000
net/rubygem-amq-protocol: Use USES=python:env and USES=shebangfix for python shebang fix
- Bump PORTREVISION for package change
---
net/rubygem-amq-protocol/Makefile | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/net/rubygem-amq-protocol/Makefile b/net/rubygem-amq-protocol/Makefile
index 56f1c979a50d..8ce1df1fa4f6 100644
--- a/net/rubygem-amq-protocol/Makefile
+++ b/net/rubygem-amq-protocol/Makefile
@@ -2,6 +2,7 @@
PORTNAME= amq-protocol
PORTVERSION= 2.3.2
+PORTREVISION= 1
CATEGORIES= net rubygems
MASTER_SITES= RG
@@ -11,13 +12,12 @@ COMMENT= AMQP serialization library for Ruby
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= gem
+USES= gem python:env shebangfix
USE_RUBY= yes
NO_ARCH= yes
REINPLACE_ARGS= -i ''
-post-patch:
- @${REINPLACE_CMD} -e '1d' ${WRKSRC}/codegen/codegen.py
+SHEBANG_FILES= codegen/codegen.py
.include <bsd.port.mk>