devel/ruby-paint: add package version 2.3.0
Required by ruby-lolcat package. Ruby Paint Paint creates terminal colors and effects for you. It combines the strengths of term-ansicolor, rainbow, and similar projects into a simple to use, however still flexible terminal colors gem with no core extensions by default. Features * No string extensions (suitable for library development) * Simple API * Faster than other terminal color gems (as of July 2022) * Supports true color or 256 colors (for capable terminals) * Allows you to set any terminal effects * Paint.mode: Fall-back modes for terminals with less colors, supported modes: o 0xFFFFFF (= 16777215) colors (true color) o 256 colors (palette) o 16 colors (only ANSI colors, combined with bright effect) o 8 colors (only ANSI colors) o 0 colors (no colors / deactivate)
This commit is contained in:
parent
98da7c43b3
commit
1663787912
4 changed files with 59 additions and 0 deletions
22
devel/ruby-paint/DESCR
Normal file
22
devel/ruby-paint/DESCR
Normal file
|
@ -0,0 +1,22 @@
|
|||
Ruby Paint
|
||||
|
||||
Paint creates terminal colors and effects for you. It combines the
|
||||
strengths of term-ansicolor, rainbow, and similar projects into a simple to
|
||||
use, however still flexible terminal colors gem with no core extensions by
|
||||
default.
|
||||
|
||||
Features
|
||||
|
||||
* No string extensions (suitable for library development)
|
||||
* Simple API
|
||||
* Faster than other terminal color gems (as of July 2022)
|
||||
* Supports true color or 256 colors (for capable terminals)
|
||||
* Allows you to set any terminal effects
|
||||
* Paint.mode: Fall-back modes for terminals with less colors, supported
|
||||
modes:
|
||||
|
||||
o 0xFFFFFF (= 16777215) colors (true color)
|
||||
o 256 colors (palette)
|
||||
o 16 colors (only ANSI colors, combined with bright effect)
|
||||
o 8 colors (only ANSI colors)
|
||||
o 0 colors (no colors / deactivate)
|
14
devel/ruby-paint/Makefile
Normal file
14
devel/ruby-paint/Makefile
Normal file
|
@ -0,0 +1,14 @@
|
|||
# $NetBSD: Makefile,v 1.1 2022/11/11 14:02:52 taca Exp $
|
||||
|
||||
DISTNAME= paint-2.3.0
|
||||
CATEGORIES= devel
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= https://github.com/janlelis/paint
|
||||
COMMENT= Terminal painter with RGB and 256 (fallback) color
|
||||
LICENSE= mit
|
||||
|
||||
USE_LANGUAGES= # none
|
||||
|
||||
.include "../../lang/ruby/gem.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
18
devel/ruby-paint/PLIST
Normal file
18
devel/ruby-paint/PLIST
Normal file
|
@ -0,0 +1,18 @@
|
|||
@comment $NetBSD: PLIST,v 1.1 2022/11/11 14:02:52 taca Exp $
|
||||
${GEM_HOME}/cache/${GEM_NAME}.gem
|
||||
${GEM_LIBDIR}/.github/workflows/codeql-analysis.yml
|
||||
${GEM_LIBDIR}/.github/workflows/test.yml
|
||||
${GEM_LIBDIR}/.rspec
|
||||
${GEM_LIBDIR}/CHANGELOG.md
|
||||
${GEM_LIBDIR}/MIT-LICENSE.txt
|
||||
${GEM_LIBDIR}/README.md
|
||||
${GEM_LIBDIR}/Rakefile
|
||||
${GEM_LIBDIR}/data/rgb_colors.marshal.gz
|
||||
${GEM_LIBDIR}/lib/paint.rb
|
||||
${GEM_LIBDIR}/lib/paint/constants.rb
|
||||
${GEM_LIBDIR}/lib/paint/pa.rb
|
||||
${GEM_LIBDIR}/lib/paint/rgb_colors.rb
|
||||
${GEM_LIBDIR}/lib/paint/util.rb
|
||||
${GEM_LIBDIR}/lib/paint/version.rb
|
||||
${GEM_LIBDIR}/paint.gemspec
|
||||
${GEM_HOME}/specifications/${GEM_NAME}.gemspec
|
5
devel/ruby-paint/distinfo
Normal file
5
devel/ruby-paint/distinfo
Normal file
|
@ -0,0 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.1 2022/11/11 14:02:52 taca Exp $
|
||||
|
||||
BLAKE2s (paint-2.3.0.gem) = 174ac3d94bd598a12bc993223c79aeeb0ec90adf10be0b36a516351fdc69868e
|
||||
SHA512 (paint-2.3.0.gem) = 76bf5ef168487fd8427c43a2e899edda3b3365f9d946785cc9428180d62f82d45b6d7597787a91392dac0b987f71a1b0166696d7965956c3ee3c8160c2e94f83
|
||||
Size (paint-2.3.0.gem) = 22016 bytes
|
Loading…
Reference in a new issue