net/rubygem-amq-protocol: Use USES=python:env and USES=shebangfix for python shebang fix

- Bump PORTREVISION for package change
This commit is contained in:
Po-Chuan Hsieh 2021-11-01 21:30:01 +08:00
parent 0b3a28a27f
commit f90fbcad25
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B

View file

@ -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>