git: 7268240d35a6 - main - devel/rubygem-contracts016: Add rubygem-contracts016 0.16.1 (copied from rubygem-contracts)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 25 Oct 2021 16:01:06 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=7268240d35a6583bdcd569003759671a5e430778 commit 7268240d35a6583bdcd569003759671a5e430778 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2021-10-25 14:43:55 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2021-10-25 15:57:06 +0000 devel/rubygem-contracts016: Add rubygem-contracts016 0.16.1 (copied from rubygem-contracts) Contracts let you clearly -- even beautifully -- express how your code behaves, and free you from writing tons of boilerplate, defensive code. You can think of contracts as assert on steroids. WWW: https://github.com/egonSchiele/contracts.ruby --- devel/Makefile | 1 + devel/rubygem-contracts016/Makefile | 20 ++++++++++++++++++++ devel/rubygem-contracts016/distinfo | 3 +++ devel/rubygem-contracts016/pkg-descr | 6 ++++++ 4 files changed, 30 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 68ac62edf252..70b91eaba8d4 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -6158,6 +6158,7 @@ SUBDIR += rubygem-configuration SUBDIR += rubygem-console SUBDIR += rubygem-contracts + SUBDIR += rubygem-contracts016 SUBDIR += rubygem-cookbook-omnifetch SUBDIR += rubygem-cool.io SUBDIR += rubygem-corefines diff --git a/devel/rubygem-contracts016/Makefile b/devel/rubygem-contracts016/Makefile new file mode 100644 index 000000000000..838965c0d526 --- /dev/null +++ b/devel/rubygem-contracts016/Makefile @@ -0,0 +1,20 @@ +# Created by: Matthias Fechner <mfechner@FreeBSD.org> + +PORTNAME= contracts +PORTVERSION= 0.16.1 +CATEGORIES= devel rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= 016 + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Contracts for Ruby + +LICENSE= BSD2CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +USES= gem +USE_RUBY= yes + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/rubygem-contracts016/distinfo b/devel/rubygem-contracts016/distinfo new file mode 100644 index 000000000000..22fbcb6a5f27 --- /dev/null +++ b/devel/rubygem-contracts016/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1634391088 +SHA256 (rubygem/contracts-0.16.1.gem) = 29fddcd80a3cefbdf57bbeb5bab18adc50fc64e3cea311d7cb35c63489058d66 +SIZE (rubygem/contracts-0.16.1.gem) = 57856 diff --git a/devel/rubygem-contracts016/pkg-descr b/devel/rubygem-contracts016/pkg-descr new file mode 100644 index 000000000000..0c55128e2359 --- /dev/null +++ b/devel/rubygem-contracts016/pkg-descr @@ -0,0 +1,6 @@ +Contracts let you clearly -- even beautifully -- express how your code behaves, +and free you from writing tons of boilerplate, defensive code. + +You can think of contracts as assert on steroids. + +WWW: https://github.com/egonSchiele/contracts.ruby