1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-16 07:58:04 +00:00

devel/rubygem-license_finder: added new port

Is required for gitlab-ce.
This commit is contained in:
Matthias Fechner 2021-11-05 07:02:57 +01:00
parent 85a4f39831
commit 071dde0dea
10 changed files with 105 additions and 0 deletions

View File

@ -6467,6 +6467,7 @@
SUBDIR += rubygem-librarian
SUBDIR += rubygem-librarianp
SUBDIR += rubygem-libyajl2
SUBDIR += rubygem-license_finder
SUBDIR += rubygem-licensee
SUBDIR += rubygem-listen
SUBDIR += rubygem-little-plugger
@ -6832,6 +6833,7 @@
SUBDIR += rubygem-test-unit
SUBDIR += rubygem-thor
SUBDIR += rubygem-thor0
SUBDIR += rubygem-thor10
SUBDIR += rubygem-thread_safe
SUBDIR += rubygem-thread_safe1
SUBDIR += rubygem-thrift
@ -6921,6 +6923,7 @@
SUBDIR += rubygem-will_paginate
SUBDIR += rubygem-windows_error
SUBDIR += rubygem-wisper
SUBDIR += rubygem-with_env
SUBDIR += rubygem-wmi-lite
SUBDIR += rubygem-xdg
SUBDIR += rubygem-xdg2

View File

@ -0,0 +1,33 @@
# Created by: Matthias Fechner <mfechner@FreeBSD.org>
PORTNAME= license_finder
PORTVERSION= 6.14.2
CATEGORIES= devel rubygems
MASTER_SITES= RG
MAINTAINER= mfechner@FreeBSD.org
COMMENT= Generate, verify and enforce software licenses
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
RUN_DEPENDS= rubygem-bundler>=0:sysutils/rubygem-bundler \
rubygem-rubyzip>=1<3:archivers/rubygem-rubyzip \
rubygem-thor10>=1.0.1<1.1:devel/rubygem-thor10 \
rubygem-tomlrb>=1.3<2.1:textproc/rubygem-tomlrb \
rubygem-with_env>=1.1.0<1.1.1:devel/rubygem-with_env \
rubygem-xml-simple>=1.1.5<1.2:textproc/rubygem-xml-simple
USES= gem python:run shebangfix
USE_RUBY= yes
NO_ARCH= yes
SHEBANG_FILES= dlf \
bin/license_finder_pip.py \
ci/scripts/*.sh
PLIST_FILES= bin/license_finder \
bin/license_finder_pip.py
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1636089645
SHA256 (rubygem/license_finder-6.14.2.gem) = 690995460f0709eb9f78d61df262df7c1a25f35b8847e9e8d49fd3e3982cea58
SIZE (rubygem/license_finder-6.14.2.gem) = 169984

View File

@ -0,0 +1,6 @@
LicenseFinder works with your package managers to find dependencies,
detect the licenses of the packages in them, compare those licenses
against a user-defined list of permitted licenses, and give you an
actionable exception report.
WWW: https://github.com/pivotal/LicenseFinder

View File

@ -0,0 +1,25 @@
# Created by: Matthias Fechner <mfechner@FreeBSD.org>
#
PORTNAME= thor
PORTVERSION= 1.0.1
CATEGORIES= devel rubygems
MASTER_SITES= RG
PKGNAMESUFFIX= 10
MAINTAINER= mfechner@FreeBSD.org
COMMENT= Scripting framework that replaces rake, sake, and rubigen
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.md
USES= gem
USE_RUBY= yes
NO_ARCH= yes
PORTSCOUT= limit:^1\.0\.
post-install:
${RM} ${STAGEDIR}${PREFIX}/bin/thor
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1636090411
SHA256 (rubygem/thor-1.0.1.gem) = 7572061e3cbe6feee57828670e6a25a66dd397f05c1f8515d49f770a7d9d70f5
SIZE (rubygem/thor-1.0.1.gem) = 56320

View File

@ -0,0 +1,3 @@
A scripting framework that replaces rake, sake and rubigen
WWW: https://github.com/erikhuda/thor

View File

@ -0,0 +1,21 @@
# Created by: Matthias Fechner <mfechner@FreeBSD.org>
PORTNAME= with_env
PORTVERSION= 1.1.0
CATEGORIES= devel rubygems
MASTER_SITES= RG
MAINTAINER= mfechner@FreeBSD.org
COMMENT= Execute code with env variables
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= gem shebangfix
USE_RUBY= yes
NO_ARCH= yes
SHEBANG_FILES= bin/setup
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
TIMESTAMP = 1636089840
SHA256 (rubygem/with_env-1.1.0.gem) = 50b3e4f0a6cda8f90d8a6bd87a6261f6c381429abafb161c4c69ad4a0cd0b6e4
SIZE (rubygem/with_env-1.1.0.gem) = 7168

View File

@ -0,0 +1,5 @@
WithEnv is an extremely small helper module for executing code with ENV
variables. It exists because I got tired of re-writing or copying over
a #with_env helper method for the 131st time.
WWW: https://github.com/mhs/with_env-rb