88a4c6ac47
order (according to the return values of their <=> methods) when iterating over them. Every element in SortedSet must be mutually comparable to every other: comparison with <=> must not return nil for any pair of elements. Otherwise ArgumentError will be raised. ruby-sorted_set is functionality spun out from the Set included with Ruby in 3.x feedback and ok jeremy@
22 lines
405 B
Makefile
22 lines
405 B
Makefile
COMMENT = a set whose elements are sorted in ascending order
|
|
|
|
DISTNAME = sorted_set-1.0.3
|
|
|
|
CATEGORIES = devel
|
|
|
|
HOMEPAGE = https://github.com/knu/sorted_set
|
|
|
|
MAINTAINER = Kurt Mosiejczuk <kmos@openbsd.org>
|
|
|
|
# BSD 2 clause
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MODULES = lang/ruby
|
|
|
|
BUILD_DEPENDS = ${RUN_DEPENDS}
|
|
RUN_DEPENDS = devel/ruby-rbtree,${MODRUBY_FLAVOR}
|
|
|
|
CONFIGURE_STYLE = ruby gem
|
|
|
|
.include <bsd.port.mk>
|