diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2022-11-22 13:03:44 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2022-11-22 13:04:54 +0000 |
commit | 36f9207f15e8014cb1f3cde1456a1ab4caee8d48 (patch) | |
tree | ae8f592e50efcc892258bb61454fc0109823444a | |
parent | c3aa37c126e21308f0e21947d96ff8b0e85e0fa8 (diff) | |
download | ports-36f9207f15e8014cb1f3cde1456a1ab4caee8d48.tar.gz ports-36f9207f15e8014cb1f3cde1456a1ab4caee8d48.zip |
devel/rubygem-smart_properties: New port
SmartProperties are a more flexible and feature-rich alternative to
traditional Ruby accessors. They provide support for input conversion,
input validation, specifying default values and presence checking.
Sponsored by: Nepustil
-rw-r--r-- | devel/Makefile | 1 | ||||
-rw-r--r-- | devel/rubygem-smart_properties/Makefile | 22 | ||||
-rw-r--r-- | devel/rubygem-smart_properties/distinfo | 3 | ||||
-rw-r--r-- | devel/rubygem-smart_properties/pkg-descr | 3 |
4 files changed, 29 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile index 335e7f13c96c..df739af8f4c4 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7014,6 +7014,7 @@ SUBDIR += rubygem-slop SUBDIR += rubygem-slop3 SUBDIR += rubygem-slow_enumerator_tools + SUBDIR += rubygem-smart_properties SUBDIR += rubygem-snaky_hash SUBDIR += rubygem-snowplow-tracker SUBDIR += rubygem-soap4r diff --git a/devel/rubygem-smart_properties/Makefile b/devel/rubygem-smart_properties/Makefile new file mode 100644 index 000000000000..d930cdd60d85 --- /dev/null +++ b/devel/rubygem-smart_properties/Makefile @@ -0,0 +1,22 @@ +PORTNAME= smart_properties +PORTVERSION= 1.17.0 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= bofh@FreeBSD.org +COMMENT= Flexible and feature-rich alternative to Ruby accessors +WWW= https://github.com/t6d/smart_properties + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= rubygem-pry>0:devel/rubygem-pry \ + rubygem-rake>=13.0:devel/rubygem-rake \ + rubygem-rspec>=3.0:devel/rubygem-rspec + +USES= gem +USE_RUBY= yes + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/rubygem-smart_properties/distinfo b/devel/rubygem-smart_properties/distinfo new file mode 100644 index 000000000000..6aeeb0b508a4 --- /dev/null +++ b/devel/rubygem-smart_properties/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1669119645 +SHA256 (rubygem/smart_properties-1.17.0.gem) = f9323f8122e932341756ddec8e0ac9ec6e238408a7661508be99439ca6d6384b +SIZE (rubygem/smart_properties-1.17.0.gem) = 23040 diff --git a/devel/rubygem-smart_properties/pkg-descr b/devel/rubygem-smart_properties/pkg-descr new file mode 100644 index 000000000000..1e2f1665955f --- /dev/null +++ b/devel/rubygem-smart_properties/pkg-descr @@ -0,0 +1,3 @@ +SmartProperties are a more flexible and feature-rich alternative to traditional +Ruby accessors. They provide support for input conversion, input validation, +specifying default values and presence checking. |