summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-04-04 15:20:13 +0000
committerjlam <jlam@pkgsrc.org>2008-04-04 15:20:13 +0000
commitc2cf0ebfbdc5bdb000426f1fc20f93507783a5bd (patch)
treeda1f5864bf30bd61afc9bd753e45cc15ea09afb0 /misc
parent103ec37cf418eb88987ad6731d6fb7af931c3ea8 (diff)
downloadpkgsrc-c2cf0ebfbdc5bdb000426f1fc20f93507783a5bd.tar.gz
Initial import of ruby18-transaction-simple-1.4.0 as
misc/ruby-transaction-simple. Transaction::Simple provides a generic way to add active transaction support to objects. The transaction methods added by this module will work with most objects, excluding those that cannot be Marshal-ed (bindings, procedure objects, IO instances, or singleton objects).
Diffstat (limited to 'misc')
-rw-r--r--misc/ruby-transaction-simple/DESCR4
-rw-r--r--misc/ruby-transaction-simple/Makefile22
-rw-r--r--misc/ruby-transaction-simple/PLIST25
-rw-r--r--misc/ruby-transaction-simple/distinfo5
4 files changed, 56 insertions, 0 deletions
diff --git a/misc/ruby-transaction-simple/DESCR b/misc/ruby-transaction-simple/DESCR
new file mode 100644
index 00000000000..547099a80a1
--- /dev/null
+++ b/misc/ruby-transaction-simple/DESCR
@@ -0,0 +1,4 @@
+Transaction::Simple provides a generic way to add active transaction
+support to objects. The transaction methods added by this module will
+work with most objects, excluding those that cannot be Marshal-ed
+(bindings, procedure objects, IO instances, or singleton objects).
diff --git a/misc/ruby-transaction-simple/Makefile b/misc/ruby-transaction-simple/Makefile
new file mode 100644
index 00000000000..8ed7deee2ad
--- /dev/null
+++ b/misc/ruby-transaction-simple/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1.1.1 2008/04/04 15:20:13 jlam Exp $
+
+DISTNAME= transaction-simple-1.4.0
+PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME}
+CATEGORIES= misc
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+COMMENT= Mixin library for adding transaction support to objects
+
+DEPENDS+= hoe>=1.5.1:../../devel/hoe
+
+# Newer version of hoe look for README.txt, not Readme.txt.
+SUBST_CLASSES= readme
+SUBST_STAGE.readme= pre-build
+SUBST_FILES.readme= Manifest.txt Rakefile lib/transaction/simple.rb
+SUBST_SED.readme= -e "s,Readme,README,g"
+
+post-extract:
+ cd ${WRKSRC} && mv Readme.txt README.txt
+
+.include "../../misc/rubygems/rubygem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/misc/ruby-transaction-simple/PLIST b/misc/ruby-transaction-simple/PLIST
new file mode 100644
index 00000000000..7f1f5158cc3
--- /dev/null
+++ b/misc/ruby-transaction-simple/PLIST
@@ -0,0 +1,25 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2008/04/04 15:20:13 jlam Exp $
+${GEM_HOME}/cache/transaction-simple-${PKGVERSION}.gem
+${GEM_LIBDIR}/History.txt
+${GEM_LIBDIR}/Install.txt
+${GEM_LIBDIR}/Licence.txt
+${GEM_LIBDIR}/Manifest.txt
+${GEM_LIBDIR}/README.txt
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/lib/transaction/simple.rb
+${GEM_LIBDIR}/lib/transaction/simple/group.rb
+${GEM_LIBDIR}/lib/transaction/simple/threadsafe.rb
+${GEM_LIBDIR}/lib/transaction/simple/threadsafe/group.rb
+${GEM_LIBDIR}/setup.rb
+${GEM_LIBDIR}/test/test_all.rb
+${GEM_LIBDIR}/test/test_broken_graph.rb
+${GEM_LIBDIR}/test/test_transaction_simple.rb
+${GEM_LIBDIR}/test/test_transaction_simple_group.rb
+${GEM_LIBDIR}/test/test_transaction_simple_threadsafe.rb
+${GEM_HOME}/specifications/transaction-simple-${PKGVERSION}.gemspec
+@dirrm ${GEM_LIBDIR}/test
+@dirrm ${GEM_LIBDIR}/lib/transaction/simple/threadsafe
+@dirrm ${GEM_LIBDIR}/lib/transaction/simple
+@dirrm ${GEM_LIBDIR}/lib/transaction
+@dirrm ${GEM_LIBDIR}/lib
+@dirrm ${GEM_LIBDIR}
diff --git a/misc/ruby-transaction-simple/distinfo b/misc/ruby-transaction-simple/distinfo
new file mode 100644
index 00000000000..566572b5aef
--- /dev/null
+++ b/misc/ruby-transaction-simple/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2008/04/04 15:20:13 jlam Exp $
+
+SHA1 (transaction-simple-1.4.0.gem) = 29c50149fe44e99e1b580f82e6fe5c46418bcba2
+RMD160 (transaction-simple-1.4.0.gem) = 021a0b7fee8e958c665474c7d2ba3801a1a5c25e
+Size (transaction-simple-1.4.0.gem) = 25600 bytes