mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
devel/rubygem-gitlab-pygments.rb: convert to patches
While here, pet portlint. Bump PORTREVISION due to minor change to package.
This commit is contained in:
parent
ecfe774ad5
commit
3e0a08c829
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=518956
@ -2,7 +2,7 @@
|
||||
|
||||
PORTNAME= gitlab-pygments.rb
|
||||
PORTVERSION= 0.5.4
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= devel rubygems
|
||||
MASTER_SITES= RG
|
||||
|
||||
@ -15,21 +15,18 @@ LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
RUN_DEPENDS= rubygem-posix-spawn>=0.3.6:devel/rubygem-posix-spawn \
|
||||
rubygem-yajl-ruby>=1.1.0:devel/rubygem-yajl-ruby
|
||||
|
||||
USES= gem python:env shebangfix
|
||||
|
||||
NO_ARCH= yes
|
||||
USE_RUBY= yes
|
||||
USES= gem
|
||||
REINPLACE_ARGS= -i ''
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '1d' \
|
||||
${WRKSRC}/vendor/pygments-main/external/lasso-builtins-generator-9.lasso \
|
||||
${WRKSRC}/vendor/pygments-main/scripts/find_error.py \
|
||||
${WRKSRC}/vendor/pygments-main/scripts/reindent.py \
|
||||
${WRKSRC}/vendor/pygments-main/scripts/check_sources.py \
|
||||
${WRKSRC}/vendor/pygments-main/scripts/find_codetags.py \
|
||||
${WRKSRC}/vendor/pygments-main/setup.py \
|
||||
${WRKSRC}/vendor/pygments-main/ez_setup.py \
|
||||
${WRKSRC}/vendor/pygments-main/docs/generate.py \
|
||||
${WRKSRC}/vendor/simplejson/scripts/make_docs.py
|
||||
SHEBANG_FILES= lib/pygments/mentos.py vendor/pygments-main/docs/generate.py \
|
||||
vendor/pygments-main/external/lasso-builtins-generator-9.lasso \
|
||||
vendor/pygments-main/pygmentize \
|
||||
vendor/pygments-main/scripts/check_sources.py \
|
||||
vendor/pygments-main/scripts/find_codetags.py \
|
||||
vendor/pygments-main/scripts/find_error.py \
|
||||
vendor/pygments-main/scripts/reindent.py \
|
||||
vendor/pygments-main/setup.py \
|
||||
vendor/simplejson/scripts/make_docs.py
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -0,0 +1,7 @@
|
||||
--- vendor/pygments-main/external/lasso-builtins-generator-9.lasso.orig 2019-12-03 17:21:36 UTC
|
||||
+++ vendor/pygments-main/external/lasso-builtins-generator-9.lasso
|
||||
@@ -1,4 +1,3 @@
|
||||
-#!/usr/bin/lasso9
|
||||
|
||||
/*
|
||||
Builtins Generator for Lasso 9
|
@ -0,0 +1,7 @@
|
||||
--- vendor/pygments-main/ez_setup.py.orig 2019-12-03 17:55:19 UTC
|
||||
+++ vendor/pygments-main/ez_setup.py
|
||||
@@ -1,4 +1,3 @@
|
||||
-#!python
|
||||
"""Bootstrap setuptools installation
|
||||
|
||||
If you want to use setuptools in your package's setup.py, just include this
|
Loading…
Reference in New Issue
Block a user