Permalink
Browse files

Clean up Makefile.PL, bump version.

  • Loading branch information...
1 parent 1ed765d commit a53ef9ff7af4208be6dc9d79437924eefb1a7e24 @stash committed Sep 29, 2010
Showing with 57 additions and 27 deletions.
  1. +13 −2 MANIFEST
  2. +11 −3 MANIFEST.SKIP
  3. +28 −21 Makefile.PL
  4. +4 −0 README
  5. +1 −1 lib/Feersum.pm
View
15 MANIFEST
@@ -5,11 +5,16 @@ MANIFEST.SKIP
Makefile.PL
README
TODO
-example/hello.pl
-example/oneshot.pl
+bin/feersum
+eg/app.feersum
+eg/app.psgi
+eg/hello.pl
+eg/oneshot.pl
lib/Feersum.pm
lib/Feersum/Connection.pm
lib/Feersum/Connection/Handle.pm
+lib/Feersum/Runner.pm
+lib/Plack/Handler/Feersum.pm
picohttpparser-git/bench.c
picohttpparser-git/picohttpparser.c
picohttpparser-git/picohttpparser.h
@@ -24,4 +29,10 @@ t/04-died.t
t/05-streaming.t
t/06-input.t
t/07-graceful-shutdown.t
+t/08-read-timeout.t
+t/50-psgi-simple.t
+t/51-psgi-streaming.t
+t/52-psgi-iohandle.t
+t/60-plack.t
+t/Utils.pm
typemap
View
14 MANIFEST.SKIP
@@ -1,3 +1,11 @@
-picohttpparser-git/.git
-.gitignore
-.gitmodules
+.*\.git.*
+gmon\.out
+.*\.gcda
+.*\.gcno
+blib/.*
+Feersum.(?:o|bs|c)
+http_load.*
+.*\.patch
+Makefile
+Makefile\.old
+pm_to_blib
View
49 Makefile.PL
@@ -2,7 +2,6 @@ use 5.008007;
use ExtUtils::MakeMaker;
use EV::MakeMaker qw/ev_args/;
-
{
package MY;
sub test_via_harness {
@@ -35,30 +34,38 @@ elsif ($ARGV[0] eq '-PROFILEUSE') {
$otherldflags = '-fprofile-use';
}
-
-# Set this to false if you get core-dumps.
-# Look for FEERSUM_STEAL in the code to see what this does.
+# Set this to false if you get core-dumps. Gives a pretty good perf boost for
+# simple responses. Look for FEERSUM_STEAL in the code to see what this does.
+# In a nutshell: certain temporary values passed in as the body of a response
+# have their string-value "stolen".
my $steal = 1;
-# See lib/ExtUtils/MakeMaker.pm for details of how to influence
-# the contents of the Makefile that is written.
WriteMakefile(ev_args(
- NAME => 'Feersum',
- VERSION_FROM => 'lib/Feersum.pm',
- ABSTRACT_FROM => 'lib/Feersum.pm',
- AUTHOR => 'Jeremy Stashewsky <stash@cpan.org>',
- PREREQ_PM => {
- 'EV' => 3.8,
+ NAME => 'Feersum',
+ VERSION_FROM => 'lib/Feersum.pm',
+ ABSTRACT_FROM => 'lib/Feersum.pm',
+ AUTHOR => 'Jeremy Stashewsky <stash@cpan.org>',
+ LICENSE => 'perl',
+ CONFIGURE_REQUIRES => {
+ 'ExtUtils::MakeMaker' => 6.50,
+ 'EV' => 3.9,
+ },
+ BUILD_REQUIRES => {
'Guard' => 1.012,
- # for testing,
- 'AnyEvent' => 0,
- 'Test::More' => 0,
- 'Test::Exception' => 0,
+ 'AnyEvent' => 5.261,
+ 'Test::More' => 0.94,
+ 'Test::Exception' => 0.29,
+ 'Scalar::Util' => 1.19,
+ },
+ PREREQ_PM => {
+ 'EV' => 3.9,
+ },
+ META_MERGE => {
+ recommends => {'Plack' => 0.9938},
+ 'no_index' => {directory => ['picohttpparser-git']},
},
- LIBS => [''],
- DEFINE => ($steal ? '-DFEERSUM_STEAL' : ''),
- INC => '-I.', # e.g., '-I. -I/usr/include/other'
- # Un-comment this if you add C files to link with later:
- # OBJECT => '$(O_FILES)', # link all the C files too
+ LIBS => [''],
+ DEFINE => ($steal ? '-DFEERSUM_STEAL' : ''),
+ INC => '-I.',
dynamic_lib => {OTHERLDFLAGS => $otherldflags},
));
View
4 README
@@ -5,6 +5,9 @@ If you downloaded this module from a git repository, be sure to run:
git submodule init
git submodule update
+You need to have EV 3.9 and at least ExtUtils::MakeMaker 6.50 installed to
+build and install this module.
+
To install this module type the following:
perl Makefile.PL
@@ -15,6 +18,7 @@ Please report any bugs using the github issue tracker:
http://github.com/stash/Feersum/issues/
+
COPYRIGHT AND LICENCE
Copyright (C) 2010 by Jeremy Stashewsky & Socialtext Inc.
View
2 lib/Feersum.pm
@@ -5,7 +5,7 @@ use warnings;
use EV ();
use Carp ();
-our $VERSION = '0.91';
+our $VERSION = '0.92';
require XSLoader;
XSLoader::load('Feersum', $VERSION);

0 comments on commit a53ef9f

Please sign in to comment.