Commit graph

16489 commits

Author SHA1 Message Date
taca
a832a2339e Update ruby-linecache package to 0.46.
0.46
06-12-19
- A require_relative dependency snuck in.
  Add a rbx-require-relative to handle this.
2011-06-19 10:36:43 +00:00
taca
77b8f477c5 Add and enable ruby-rbx-require-relative. 2011-06-19 10:33:29 +00:00
taca
710dac3c5e Import ruby18-rbx-require-relative pacakge version 0.0.5.
It is required by new ruby-linecache package.

Ruby 1.9's relative_relative for Rubinus and MRI 1.8

Here we add in Module RequireRelative method: *require_relative*,
and *abs_file*.

Example:
require 'rubygems'; require 'require_relative'
require_relative './lib/foo'
absolute_path = RequireRelative.abs_file

But why *abs_file*? Well, recall that ==__FILE__== does not give an absolute
path. So if you have chdir'd before using ==__FILE__==, you might not be
able to retrieve the full path.
2011-06-19 10:32:17 +00:00
obache
99114596ab + p5-Test-Approx p5-Algorithm-HowSimilar 2011-06-19 09:02:50 +00:00
obache
66fa8e29e8 Import p5-Algorithm-HowSimilar-0.01 as devel/p5-Algorithm-HowSimilar.
PR#44975 by David H. Gutteridge.

This module leverages Algorithm::Diff to let you compare the degree of
sameness of arrays or strings. It returns a result set that defines
exactly how similar these things are.
2011-06-19 08:59:07 +00:00
obache
d57cbfd5b4 Import p5-Test-Approx-0.03 as devel/p5-Test-Approx.
PR#44974 by David H. Gutteridge.

This module lets you test if two things are *approximately* equal. Yes,
that sounds a bit wrong at first - surely you know if they should be
equal or not? But there are actually valid cases when you don't/can't
know. This module is meant for those rare cases when close is good
enough.
2011-06-19 08:47:22 +00:00
dholland
9a312dcea7 Not MAKE_JOBS_SAFE 2011-06-19 05:59:25 +00:00
taca
40c8c661fe Fix build problem with ruby18-base. It was a kind of bootstrap
problem with rdoc itself.  Noted by dholland@.
2011-06-19 00:48:24 +00:00
bsiegert
a702f8677a Update version in Makefile 2011-06-18 22:43:34 +00:00
bsiegert
a63326713a Merge bmake-20110606, regenerate catman page 2011-06-18 22:39:46 +00:00
bsiegert
ed78fca6b3 Import bmake-20110606. Many changes, among them:
- unit-tests/modts now works on MirBSD
  - meta mode
  - ApplyModifiers: when we parse a variable which is not the entire modifier
    string, or not followed by ':', do not consider it as containing modifiers.
  - when long modifiers fail to match, check sysV style.
  - :hash - cheap 32bit hash of value
  - :localtime, :gmtime - use value as format string for strftime.
  - fix for use after free() in CondDoExists().
  - boot-strap (TOOL_DIFF): aparently at least on linux distro
    formats the output of 'type' differently - so eat any "()"
  - correct sysV substitution handling of empty lhs and variable
  - correct exists() check for dir with trailing /
  - correct handling of modifiers for non-existant variables during evaluation
    of conditionals.
  - fix for incorrect .PARSEDIR when .OBJDIR is re-computed after makefiles
    have been read.
  - fix example of :? modifier in man page.
  - sigcompat.c: convert to ansi so we can use higher warning levels.
  - parse.c: SunOS 5.8 at least does not have MAP_FILE
  - use mmap(2) if available, for reading makefiles
  - to ensure unit-tests results match, need to control LC_ALL as well as LANG.
  - if stale dependency is an IMPSRC, search via .PATH
  - machine.sh: like os.sh, allow for uname -p producing useless drivel
  - boot-strap: document configure knobs for meta and filemon.
2011-06-18 22:18:21 +00:00
bsiegert
e0e1b45d71 Import bmake-20110606. Many changes, among them:
- unit-tests/modts now works on MirBSD
  - meta mode
  - ApplyModifiers: when we parse a variable which is not the entire modifier
    string, or not followed by ':', do not consider it as containing modifiers.
  - when long modifiers fail to match, check sysV style.
  - :hash - cheap 32bit hash of value
  - :localtime, :gmtime - use value as format string for strftime.
  - fix for use after free() in CondDoExists().
  - boot-strap (TOOL_DIFF): aparently at least on linux distro
    formats the output of 'type' differently - so eat any "()"
  - correct sysV substitution handling of empty lhs and variable
  - correct exists() check for dir with trailing /
  - correct handling of modifiers for non-existant variables during evaluation
    of conditionals.
  - fix for incorrect .PARSEDIR when .OBJDIR is re-computed after makefiles
    have been read.
  - fix example of :? modifier in man page.
  - sigcompat.c: convert to ansi so we can use higher warning levels.
  - parse.c: SunOS 5.8 at least does not have MAP_FILE
  - use mmap(2) if available, for reading makefiles
  - to ensure unit-tests results match, need to control LC_ALL as well as LANG.
  - if stale dependency is an IMPSRC, search via .PATH
  - machine.sh: like os.sh, allow for uname -p producing useless drivel
  - boot-strap: document configure knobs for meta and filemon.
2011-06-18 22:17:55 +00:00
taca
d743548425 Add and enable ruby-rspec-rails. 2011-06-18 04:05:14 +00:00
taca
811f720534 Importing rspec-rails version 2.6.1, it is for Ruby on Rails 3.
# rspec-rails-2

rspec-2 for rails-3 with lightweight extensions to each

NOTE: rspec-2 does _not_ support rails-2. Use rspec-rails-1.3.x for rails-2.

## Documentation

* [Cucumber features](http://relishapp.com/rspec/rspec-rails/v/2-0)
* [RDoc](http://rubydoc.info/gems/rspec-rails/2.0.1/frames)
2011-06-18 04:03:39 +00:00
taca
04796d9280 Update ruby-rspec package to 2.6.0.
This is newer major release which support Ruby on Rails 3.
So, please refer its web site in detail: http://relishapp.com/rspec.
2011-06-18 03:56:28 +00:00
taca
f2b2681222 Add and enable ruby-rspec-core, ruby-rspec-expectations and ruby-rspec-mocks. 2011-06-18 03:50:44 +00:00
taca
e7a760e56f Importing ruby-rspec-mocks version 2.6.0, part of ruby-rspec 2.6.0.
Behaviour Driven Development for Ruby

# RSpec Mocks

rspec-mocks provides a test-double framework for rspec including support
for method stubs, fakes, and message expectations.

## Documentation

* [Cucumber features](http://relishapp.com/rspec/rspec-mocks/v/2-0)
* [RDoc](http://rubydoc.info/gems/rspec-mocks/2.0.1/frames)
2011-06-18 03:47:40 +00:00
taca
857297a727 Importing ruby-rspec-expectations version 2.6.0, part of ruby-rspec 2.6.0.
Behaviour Driven Development for Ruby

# RSpec Expectations

rspec-expectations adds `should` and `should_not` to every object and includes
RSpec::Matchers, a library of standard matchers.

## Documentation

* [Cucumber features](http://relishapp.com/rspec/rspec-expectations)
* [RDoc](http://rubydoc.info/gems/rspec-expectations/2.4.0/frames)
2011-06-18 03:46:40 +00:00
taca
2bab578f49 Importing ruby-rspec-core version 2.6.4, part of ruby-rspec 2.6.0.
Behaviour Driven Development for Ruby

# RSpec Core

RSpec Core provides the structure for writing executable examples of how your
code should behave.

## Documentation

* [Cucumber features](http://relishapp.com/rspec/rspec-expectations)
* [RDoc](http://rubydoc.info/gems/rspec-expectations/2.4.0/frames)
2011-06-18 03:45:15 +00:00
taca
dc069ca0af Small correction of dependency's pattern. 2011-06-18 03:31:07 +00:00
taca
f2085a1875 Remove unneeded dependency. No PKGREVISION bump with short time slot. 2011-06-18 03:29:27 +00:00
taca
3f84f44957 Add and enable ruby-rspec-rails1. 2011-06-18 03:24:44 +00:00
taca
02fd323620 Importing ruby-rspec-rails version 1.3.2 as devel/ruby-rspec-rails1.
This is only works with Ruby on Rails 2.

RSpec is a Behaviour Driven Development framework for Ruby.  It provides
two frameworks for writing and executing examples of how your Ruby
application should behave:

  * a Story Framework for describing behaviour at the application level
  * a Spec Framework for describing behaviour at the object level
2011-06-18 03:19:41 +00:00
taca
0ddb49f930 Add and enable ruby-rspec1. 2011-06-18 03:05:50 +00:00
taca
fce9737fff Import devel/ruby-rspec as devel/ruby-rspec1. 2011-06-18 03:05:19 +00:00
taca
0983d229b4 Update ruby-rspec pacakge to 1.3.2, latest 1.3.x.
=== Version 1.3.2 / 2011-04-11

* Enhancements
  * Raise a meaningful error when an argument-scoped stub is called with the
    wrong args (Alexey)
  * Dev: ignore .rbc files (Myron Marston)

* Bug fixes
  * Fix regression in which an expectation should return the value from a
    previously defined stub of the same method (Tom Stuart)
  * Support heckling class methods (Dan Kubb)
  * Only try to pass messages to the superclass if the superclass responds to
    the method (Andrew Selder)
2011-06-18 02:23:24 +00:00
taca
c627e342af Update ruby-thrift_client package to 0.6.2.
v0.6.2 Remove lingering thrift v0.5.0 reference.

v0.6.1 Add connect timeout. Bump thrift dependency to ~> v0.6.0.

v0.6.0 Fix bug where we'd try to mark the current server down when we didn't have a current server.
Upgrade to thrift 0.5.

v0.5.0 Add support for wrapping exceptions, so that Thrift::Foo can become Greeter::Foo.
Make server_retry_period work the way you expect.
Better bookkeeping around marking servers as dead.

v0.4.7 fix thrift gem dependency
2011-06-18 02:02:09 +00:00
taca
4c4b206c31 Update ruby-thrift pacakge to 0.6.0.
* pkgsrc change: Update HOMEPAGE since priveous one isn't available.

* Catch up to libthrift-0.6.1.
2011-06-18 02:01:06 +00:00
taca
aac5e54109 Update ruby-pathname2 package to 1.6.4.
== 1.6.4 - 20-Jan-2011
* Explicitly remove the Pathname const if it is already defined in order
  to avoid a superclass mismatch error. This library assumes that if you
  require pathname2, you want my version of the Pathname class.
* Updated URI handling for Ruby 1.9.x.
* Added the Pathname() method, a synonym for Pathname.new.
* Some Rakefile and gemspec tweaks.
* Some updates to the test suite, including some specifically for Windows 7.
2011-06-18 01:51:40 +00:00
taca
b1f345d162 Update ruby-parsetree package to 3.0.7.
=== 3.0.7 / 2011-02-18

* 1 bug fix:

  * Fixed odd error cropping up from heckle w/ attr methods (raggi)
2011-06-18 01:50:36 +00:00
taca
dc2538ccf3 Update ruby-parser package to 2.0.6.
=== 2.0.6 / 2011-02-18

* 1 minor enhancement:

  * Switched to hoe's racc plugin to clean up rakefile and builds

* 1 bug fix:

  * Fixed empty =begin/end.
2011-06-18 01:49:18 +00:00
taca
817654a4ef Update ruby-mocha package to 0.9.12.
= 0.9.12 ()
* Make Mocha's tests pass under Ruby 1.9.2 i.e. using MiniTest. One of the main issues was that we were not parsing stacktraces on MiniTest errors comprehensively enough.
* Avoid 'circular require considered harmful' warning when running Mocha's tests in Ruby 1.9.2
* Make performance tests work on Ruby 1.9.2 i.e. using MiniTest.
* Declare rake as a *development* dependency with newer versions of Rubygems since it's only needed to carry out developer-related tasks.

= 0.9.11 (1613ed2267fef5927ea06adfdbcf512b89eadaad)
* Added explicit support for minitest v1.5.0 to v2.0.2.
* Make testable by rubygems-test.
* Update links to my blog and make other links consistent.
* Added a URI parameter matcher that ignores the order of query parameters so that tests can be independent of undefined hash ordering (patch by Paul Battley).
* Include unexpected invocation in failure message and change the language slightly to make the failure message less confusing. See http://floehopper.lighthouseapp.com/projects/22289/tickets/52.
* No need to create regular expression every time the BacktraceFilter#filtered method is called. See http://floehopper.lighthouseapp.com/projects/22289-mocha/tickets/66.
2011-06-18 01:47:54 +00:00
taca
0fb3d01c64 Update ruby-linecache pacakge to 0.45.
0.45
06-12-11
- Support for syntax highlighting and caching eval strings. The former
  is used in rb8-trepanning.
2011-06-17 15:37:19 +00:00
taca
edcb151a14 Update ruby-inline package to 3.9.0.
=== 3.9.0 / 2011-02-18

* 1 minor enhancement:

  * Added arity override option for all C builder methods.
2011-06-17 15:35:49 +00:00
taca
eea1f4800b Update ruby-highline package to 1.6.2.
= Change Log

Below is a complete listing of changes for each revision of HighLine.

== 1.6.2

* Correctly handle STDIN being closed before we receive any data (fix by
  mleinart).
* Try if msvcrt, if we can't load crtdll on Windows (fix by pepijnve).
* A fix for nil_on_handled not running the action (reported by Andrew Davey).
2011-06-17 15:34:02 +00:00
taca
825600820a Update ruby-flexmock package to 0.9.0.
= FlexMock 0.9.0 Released

FlexMock is a flexible mocking library for use in unit testing and
behavior specification in Ruby.  Release 0.8.5 is a minor release with
a few bug fixes.

== Ruby 1.9.3 Compatibility

* Fixed a number of minor warnings reported by the 1.9.3 version of Ruby.
2011-06-17 15:31:39 +00:00
taca
1770244b85 Update ruby-ffi package to 1.0.9.
Whole changes are unknown...

== 1.0.3 / 2010-12-28
* Re-add support for ruby 1.8.x
2011-06-17 15:14:40 +00:00
taca
c336dfbdde Update hoe pacakge to 2.9.4.
=== 2.9.4 / 2011-04-01

* 1 minor enhancement:

  * check_manifest now fails when there is a diff. AKA, drbrain was
    lazy and it is somehow my fault. If anything, it is jbarnette's
    fault for not building any brains into hoe-git the way that my
    hoe-perforce plugin works. I mean, c'mon... how hard is it to
    validate the manifest before you release? I do it all the time
    and twice on sundays. BAH! Damn kids! Get off my lawn!

=== 2.9.3 / 2011-04-01

* 1 minor enhancement:

  * Cleanup for rubygems 1.7 deprecations

=== 2.9.2 / 2011-03-31

* 7 minor enhancements:

  * Added :none as a testlib option to let you do whatever you want. (phiggins)
  * Added Hoe#dependency(name, version, type = :runtime) for cleaner hoe specs.
  * Added NOSUDO option to `rake gem_install`. (nihildeb)
  * Include Rake::DSL to support future versions of rake
  * Multiruby now skips mri_trunk if multiruby_skip includes 1.9
  * Test#make_test_cmd now sorts test files (mostly for testing)
  * Try using psych before syck.

* 3 bug fixes:

  * Clean generated extension library too
  * Fixed a bug with sow -d or -t
  * Fixed plugin activation via ~/.hoerc. (ged)
2011-06-17 15:12:06 +00:00
taca
6143e58b23 Update ruby-rails3 related package to 3.0.9.
These are update of the version only.
2011-06-17 13:50:48 +00:00
taca
01843e5498 Update ruby-test-unit pacakge to 2.3.0.
=== 2.3.0 / 2011-04-17

* 13 enhancements
  * improve Hash key sorting for diff.
  * [#28928] support any characters in declarative style description.
    [Daniel Berger]
  * add Error#location and make #backtrace deprecated.
  * make TestCase#passed? public.
  * add result finished and pass assertion notifications.
  * add TestSuite#passed? public.
  * add XML test runner.
  * add --output-file-descriptor option.
  * measure elapsed time for each test.
  * add --collector option.
  * support test driven test.
    [Haruka Yoshihara]
  * add cleanup hook it runs between after test and before teardown.
  * support recursive collection sort for diff.

* Thanks
  * Daniel Berger
  * Haruka Yoshihara

=== 2.2.0 / 2011-02-14

* 22 enhancements
  * [#28808] accept String as delta for assert_in_delta.
    [Daniel Berger]
  * [test-unit-users-en:00035] make GC-able finished tests.
    [Daniel Berger]
  * use also COLUMNS environment variable to guess terminal width.
  * make delta for assert_in_delta optional.
    [Nobuyoshi Nakada]
  * add assert_not_respond_to.
    [Nobuyoshi Nakada]
  * add assert_not_match. assert_no_match is deprecated.
    [Nobuyoshi Nakada]
  * add assert_not_in_delta.
    [Nobuyoshi Nakada]
  * add assert_in_epsilon.
    [Nobuyoshi Nakada]
  * add assert_not_in_epsilon.
    [Nobuyoshi Nakada]
  * add assert_include.
    [Nobuyoshi Nakada]
  * add assert_not_include.
    [Nobuyoshi Nakada]
  * add assert_empty.
    [Nobuyoshi Nakada]
  * add assert_not_empty.
    [Nobuyoshi Nakada]
  * notify require failed paths.
  * validate message value for assert.
  * show throughputs at the last.
  * support not ASCII compatible string diff.
  * support colorized diff on encoding different string.
  * normalize entry order of Hash for readable diff.
  * add --ignore-name option.
  * add --ignore-testcase option.
  * add assert_not_send.

* Thanks
  * Daniel Berger
  * Nobuyoshi Nakada
2011-06-17 13:42:56 +00:00
taca
56441609b1 Update ruby-simple_uuid package to 0.1.2.
v0.1.2 add license file
2011-06-17 13:40:33 +00:00
taca
647962687d Update ruby-uuidtools to 2.1.2.
== UUIDTools 2.1.2
 * fixed issue with frozen objects
 * fixed issue with running specs in Ruby 1.9.2
2011-06-17 13:38:33 +00:00
taca
63cb07c811 Add and enable ruby-rdoc. 2011-06-16 15:08:23 +00:00
taca
6ce345c206 Importing ruby-rdoc version 3.6.1.
This is newer version of rdoc which bundled with ruby18-base/ruby19-base.
It is expected to use instead of those bundled version since some ruby
packages require newer version of rdoc command (especially ruby18-base).


RDoc produces HTML and command-line documentation for Ruby projects.  RDoc
includes the +rdoc+ and +ri+ tools for generating and displaying online
documentation.
2011-06-16 15:06:49 +00:00
uebayasi
4d0018370d Support user-destdir.
Generate catalog file in ${DESTDIR}, then package it.  This should
work, because the catalog file (${PREFIX}/share/guile/1.8/slibcat)
is only provided for slib to know what interpreter is using slib;
i.e., the file is written once at installation.

(Let's see if this theory is correct.  If not, we'll revisit this.)


Reviewed By:	gdt (maintainer)
2011-06-15 12:52:59 +00:00
uebayasi
22815364fb Check-point ocamlfind buildlink3.mk; overwrite "ocamlfind install" command
to ease ${DESTDIR} support.
2011-06-15 05:25:46 +00:00
schmonz
8396e95dee Add and enable mr. 2011-06-14 21:59:06 +00:00
schmonz
1f247b1352 Initial import of mr(1). From DESCR:
The mr(1) command can checkout, update, or perform other actions
on a set of repositories as if they were one combined respository.
It supports any combination of subversion, git, cvs, mercurial,
bzr, darcs, cvs, and fossil repositories, and support for other
revision control systems can easily be added. (There are extensions
adding support for unison and git-svn.)

It is extremely configurable via simple shell scripting. Some
examples of things it can do include:

* Update a repository no more frequently than once every twelve hours.
* Run an arbitrary command before committing to a repository.
* When updating a git repository, pull from two different upstreams
    and merge the two together.
* Run several repository updates in parallel, greatly speeding up
    the update process.
* Remember actions that failed due to a laptop being offline, so
    they can be retried when it comes back online.
2011-06-14 21:58:11 +00:00
jmmv
8114aa7f28 Update to 0.14:
Experimental version released on June 14th, 2011.

* Added a pkg-config file for atf-sh and an aclocal file to ease the
  detection of atf-sh from autoconf scripts.

* Made the default test case body defined by atf_sh fail.  This is to
  ensure that test cases are properly defined in test programs and helps
  in catching typos in the names of the body functions.

* PR bin/44882: Made atf-run connect the stdin of test cases to /dev/zero.
  This provides more consistent results with "normal" execution (in
  particular, when tests are executed detached from a terminal).

* Made atf-run hardcode TZ=UTC for test cases.  It used to undefine TZ, but
  that does not take into account that libc determines the current timezone
  from a configuration file.

* All test programs will now print a warning when they are not run through
  atf-run(1) stating that this is unsupported and may deliver incorrect
  results.

* Added support for the 'require.files' test-case property.  This allows
  test cases to specify installed files that must be present for the test
  case to run.

And, while doing this, add a buildlink3.mk file.
2011-06-14 13:55:15 +00:00
obache
29061795c6 Remove PYTHON_VERSION_ACCEPTED, just not compatible with python23. 2011-06-14 09:54:55 +00:00