git: 4fed5c0681ae - main - devel/rubygem-with_advisory_lock: Add new port.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 14 Mar 2024 07:01:06 UTC
The branch main has been updated by delphij: URL: https://cgit.FreeBSD.org/ports/commit/?id=4fed5c0681aea1cd4c15c0a01b64e37749c50b6b commit 4fed5c0681aea1cd4c15c0a01b64e37749c50b6b Author: Xin LI <delphij@FreeBSD.org> AuthorDate: 2024-03-14 06:59:43 +0000 Commit: Xin LI <delphij@FreeBSD.org> CommitDate: 2024-03-14 07:00:46 +0000 devel/rubygem-with_advisory_lock: Add new port. with_advisory_lock adds advisory locking (mutexes) to ActiveRecord 6.0+, with ruby 2.7+, jruby or truffleruby, when used with MySQL or PostgreSQL. --- devel/Makefile | 1 + devel/rubygem-with_advisory_lock/Makefile | 20 ++++++++++++++++++++ devel/rubygem-with_advisory_lock/distinfo | 3 +++ devel/rubygem-with_advisory_lock/pkg-descr | 2 ++ 4 files changed, 26 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 877d787e61f3..92708e150d09 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7650,6 +7650,7 @@ SUBDIR += rubygem-will_paginate SUBDIR += rubygem-windows_error SUBDIR += rubygem-wisper + SUBDIR += rubygem-with_advisory_lock SUBDIR += rubygem-with_env SUBDIR += rubygem-wmi-lite SUBDIR += rubygem-xdg diff --git a/devel/rubygem-with_advisory_lock/Makefile b/devel/rubygem-with_advisory_lock/Makefile new file mode 100644 index 000000000000..517a38d1c55f --- /dev/null +++ b/devel/rubygem-with_advisory_lock/Makefile @@ -0,0 +1,20 @@ +PORTNAME= with_advisory_lock +PORTVERSION= 5.1.0 +CATEGORIES= devel rubygems +MASTER_SITES= RG + +MAINTAINER= ruby@FreeBSD.org +COMMENT= Advisory locking for ActiveRecord +WWW= https://github.com/ClosureTree/with_advisory_lock + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +RUN_DEPENDS= rubygem-activerecord61>=6.1.5:databases/rubygem-activerecord61 \ + rubygem-zeitwerk>=2.6<3:devel/rubygem-zeitwerk + +USES= gem + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/devel/rubygem-with_advisory_lock/distinfo b/devel/rubygem-with_advisory_lock/distinfo new file mode 100644 index 000000000000..ba6a87a85946 --- /dev/null +++ b/devel/rubygem-with_advisory_lock/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1710398477 +SHA256 (rubygem/with_advisory_lock-5.1.0.gem) = 0692cd82013b271c59aa5e1f603b741ab94926dbce098990fbace5dd5412fed7 +SIZE (rubygem/with_advisory_lock-5.1.0.gem) = 18944 diff --git a/devel/rubygem-with_advisory_lock/pkg-descr b/devel/rubygem-with_advisory_lock/pkg-descr new file mode 100644 index 000000000000..11b0d6049a9d --- /dev/null +++ b/devel/rubygem-with_advisory_lock/pkg-descr @@ -0,0 +1,2 @@ +with_advisory_lock adds advisory locking (mutexes) to ActiveRecord 6.0+, +with ruby 2.7+, jruby or truffleruby, when used with MySQL or PostgreSQL.