pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/ruby-tsort



Module Name:    pkgsrc
Committed By:   taca
Date:           Wed Feb 11 07:27:17 UTC 2026

Added Files:
        pkgsrc/devel/ruby-tsort: DESCR Makefile PLIST distinfo

Log Message:
devel/ruby-tsort: add version 0.2.0

tsort gem 0.2.0 is default gem but it is required by
devel/ruby-erailties{71,72,80} packages on ruby32.

TSort

TSort implements topological sorting using Tarjan's algorithm for
strongly connected components.

TSort is designed to be able to be used with any object which can be
interpreted as a directed graph.

TSort requires two methods to interpret an object as a graph,
tsort_each_node and tsort_each_child.

* tsort_each_node is used to iterate for all nodes over a graph.
* tsort_each_child is used to iterate for child nodes of a given node.

The equality of nodes are defined by eql? and hash since
TSort uses Hash internally.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/ruby-tsort/DESCR \
    pkgsrc/devel/ruby-tsort/Makefile pkgsrc/devel/ruby-tsort/PLIST \
    pkgsrc/devel/ruby-tsort/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/devel/ruby-tsort/DESCR
diff -u /dev/null pkgsrc/devel/ruby-tsort/DESCR:1.1
--- /dev/null   Wed Feb 11 07:27:17 2026
+++ pkgsrc/devel/ruby-tsort/DESCR       Wed Feb 11 07:27:17 2026
@@ -0,0 +1,16 @@
+TSort
+
+TSort implements topological sorting using Tarjan's algorithm for
+strongly connected components.
+
+TSort is designed to be able to be used with any object which can be
+interpreted as a directed graph.
+
+TSort requires two methods to interpret an object as a graph,
+tsort_each_node and tsort_each_child.
+
+* tsort_each_node is used to iterate for all nodes over a graph.
+* tsort_each_child is used to iterate for child nodes of a given node.
+
+The equality of nodes are defined by eql? and hash since
+TSort uses Hash internally.
Index: pkgsrc/devel/ruby-tsort/Makefile
diff -u /dev/null pkgsrc/devel/ruby-tsort/Makefile:1.1
--- /dev/null   Wed Feb 11 07:27:17 2026
+++ pkgsrc/devel/ruby-tsort/Makefile    Wed Feb 11 07:27:17 2026
@@ -0,0 +1,17 @@
+# $NetBSD: Makefile,v 1.1 2026/02/11 07:27:17 taca Exp $
+
+DISTNAME=      tsort-0.2.0
+CATEGORIES=    devel
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/ruby/tsort
+COMMENT=       Topological sorting using Tarjan's algorithm
+LICENSE=       2-clause-bsd OR ruby-license
+
+USE_LANGUAGES= # none
+
+# This packages is for ruby-railties72 on ruby32.
+RUBY_VERSIONS_ACCEPTED=        32
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/devel/ruby-tsort/PLIST
diff -u /dev/null pkgsrc/devel/ruby-tsort/PLIST:1.1
--- /dev/null   Wed Feb 11 07:27:17 2026
+++ pkgsrc/devel/ruby-tsort/PLIST       Wed Feb 11 07:27:17 2026
@@ -0,0 +1,14 @@
+@comment $NetBSD: PLIST,v 1.1 2026/02/11 07:27:17 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/.github/dependabot.yml
+${GEM_LIBDIR}/.github/workflows/test.yml
+${GEM_LIBDIR}/.gitignore
+${GEM_LIBDIR}/Gemfile
+${GEM_LIBDIR}/LICENSE.txt
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/bin/console
+${GEM_LIBDIR}/bin/setup
+${GEM_LIBDIR}/lib/tsort.rb
+${GEM_LIBDIR}/tsort.gemspec
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
Index: pkgsrc/devel/ruby-tsort/distinfo
diff -u /dev/null pkgsrc/devel/ruby-tsort/distinfo:1.1
--- /dev/null   Wed Feb 11 07:27:17 2026
+++ pkgsrc/devel/ruby-tsort/distinfo    Wed Feb 11 07:27:17 2026
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2026/02/11 07:27:17 taca Exp $
+
+BLAKE2s (tsort-0.2.0.gem) = 015895cfb4a4da77af2c41e2a9d1fa4f69a82ecaf164cbf655b4e782959d628e
+SHA512 (tsort-0.2.0.gem) = 5b868917cb19582a92d0d76f3220e8b1544be72bd4ea23be9d9e420b1320ac06c609d06c03c11ecc31dff6c2524eac45b789ef959d45bdcc18cb6fbab11155f8
+Size (tsort-0.2.0.gem) = 10240 bytes



Home | Main Index | Thread Index | Old Index