diff options
author | jlam <jlam@pkgsrc.org> | 2008-04-04 15:21:25 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-04-04 15:21:25 +0000 |
commit | 72531b61f53d244332a0a9dfa4260d518e198fdd (patch) | |
tree | c17b5178380b275da551bd838da83e1f9502a458 /textproc | |
parent | 9e9b7b633edc073ed59c591ea5ea0c6f3a6b5f7c (diff) | |
download | pkgsrc-72531b61f53d244332a0a9dfa4260d518e198fdd.tar.gz |
Update ruby-feed-normalizer to version 1.5.1. Changes from version 1.3.0
include:
+ Install as a Ruby gem.
* Add support for new fields:
* Atom 0.3: issued is now available through entry.date_published.
* RSS: feed.skip_hours, feed.skip_days, feed.ttl
* All: entry.last_updated, this is an alias to entry.date_published for RSS.
* Rewrite relative links in content
* Handle CDATA sections consistently across all formats.
* Prevent SimpleRSS from doing its own escaping.
* Reparse Time classes
* Support content:encoded. Accessible via Entry#content.
* Support categories. Accessible via Entry#categories.
* Introduces a new parsing feature 'loose parsing'.
* Add support for applicable dublin core elements. (dc:date and dc:creator)
* Feeds can now be dumped to YAML.
* Reduced the greediness of a regexp that was removing html comments.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/ruby-feed-normalizer/Makefile | 22 | ||||
-rw-r--r-- | textproc/ruby-feed-normalizer/PLIST | 36 | ||||
-rw-r--r-- | textproc/ruby-feed-normalizer/distinfo | 8 |
3 files changed, 38 insertions, 28 deletions
diff --git a/textproc/ruby-feed-normalizer/Makefile b/textproc/ruby-feed-normalizer/Makefile index d400b2cc8ea..6950b791fd7 100644 --- a/textproc/ruby-feed-normalizer/Makefile +++ b/textproc/ruby-feed-normalizer/Makefile @@ -1,26 +1,18 @@ -# $NetBSD: Makefile,v 1.1.1.1 2007/06/11 04:40:37 minskim Exp $ +# $NetBSD: Makefile,v 1.2 2008/04/04 15:21:25 jlam Exp $ -DISTNAME= feed-normalizer-1.3.0 +DISTNAME= feed-normalizer-1.5.1 PKGNAME= ${RUBY_PKGPREFIX}-${DISTNAME} -CATEGORIES= textproc ruby -MASTER_SITES= http://rubyforge.org/frs/download.php/20927/ -EXTRACT_SUFX= .zip +CATEGORIES= textproc MAINTAINER= minskim@NetBSD.org HOMEPAGE= http://feed-normalizer.rubyforge.org/ COMMENT= Extensible Ruby wrapper for Atom and RSS parsers +DEPENDS+= hoe>=1.5.0:../../devel/hoe DEPENDS+= ${RUBY_PKGPREFIX}-simple-rss>=1.1:../../textproc/ruby-simple-rss -DEPENDS+= ${RUBY_PKGPREFIX}-hpricot>=0.4:../../textproc/ruby-hpricot +DEPENDS+= ${RUBY_PKGPREFIX}-hpricot>=0.6:../../textproc/ruby-hpricot -NO_BUILD= yes -USE_LANGUAGES= # none - -.include "../../lang/ruby/modules.mk" - -do-install: - cd ${WRKSRC}/lib && pax -rwppm . ${RUBY_SITELIBDIR} - ${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/feed-normalizer - ${INSTALL_DATA} ${WRKSRC}/Readme.txt ${RUBY_DOCDIR}/feed-normalizer +GEM_BUILD= gemspec +.include "../../misc/rubygems/rubygem.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/ruby-feed-normalizer/PLIST b/textproc/ruby-feed-normalizer/PLIST index 36fb3a7a153..acc3fee5405 100644 --- a/textproc/ruby-feed-normalizer/PLIST +++ b/textproc/ruby-feed-normalizer/PLIST @@ -1,9 +1,27 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2007/06/11 04:40:37 minskim Exp $ -${RUBY_SITELIBDIR}/feed-normalizer.rb -${RUBY_SITELIBDIR}/html-cleaner.rb -${RUBY_SITELIBDIR}/parsers/rss.rb -${RUBY_SITELIBDIR}/parsers/simple-rss.rb -${RUBY_SITELIBDIR}/structures.rb -${RUBY_DOCDIR}/feed-normalizer/Readme.txt -@dirrm ${RUBY_DOCDIR}/feed-normalizer -@dirrm ${RUBY_SITELIBDIR}/parsers +@comment $NetBSD: PLIST,v 1.2 2008/04/04 15:21:25 jlam Exp $ +${GEM_HOME}/cache/feed-normalizer-${PKGVERSION}.gem +${GEM_LIBDIR}/History.txt +${GEM_LIBDIR}/License.txt +${GEM_LIBDIR}/Manifest.txt +${GEM_LIBDIR}/README.txt +${GEM_LIBDIR}/Rakefile +${GEM_LIBDIR}/lib/feed-normalizer.rb +${GEM_LIBDIR}/lib/html-cleaner.rb +${GEM_LIBDIR}/lib/parsers/rss.rb +${GEM_LIBDIR}/lib/parsers/simple-rss.rb +${GEM_LIBDIR}/lib/structures.rb +${GEM_LIBDIR}/test/data/atom03.xml +${GEM_LIBDIR}/test/data/atom10.xml +${GEM_LIBDIR}/test/data/rdf10.xml +${GEM_LIBDIR}/test/data/rss20.xml +${GEM_LIBDIR}/test/data/rss20diff.xml +${GEM_LIBDIR}/test/data/rss20diff_short.xml +${GEM_LIBDIR}/test/test_all.rb +${GEM_LIBDIR}/test/test_feednormalizer.rb +${GEM_LIBDIR}/test/test_htmlcleaner.rb +${GEM_HOME}/specifications/feed-normalizer-${PKGVERSION}.gemspec +@dirrm ${GEM_LIBDIR}/test/data +@dirrm ${GEM_LIBDIR}/test +@dirrm ${GEM_LIBDIR}/lib/parsers +@dirrm ${GEM_LIBDIR}/lib +@dirrm ${GEM_LIBDIR} diff --git a/textproc/ruby-feed-normalizer/distinfo b/textproc/ruby-feed-normalizer/distinfo index 0e937ed4c37..4e3c1e24489 100644 --- a/textproc/ruby-feed-normalizer/distinfo +++ b/textproc/ruby-feed-normalizer/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.1.1.1 2007/06/11 04:40:37 minskim Exp $ +$NetBSD: distinfo,v 1.2 2008/04/04 15:21:25 jlam Exp $ -SHA1 (feed-normalizer-1.3.0.zip) = 20aea1968e25d251c0f44f5c64b4aaeb78481604 -RMD160 (feed-normalizer-1.3.0.zip) = 2a6a5173969fdb54763a44445672f454504865cd -Size (feed-normalizer-1.3.0.zip) = 48158 bytes +SHA1 (feed-normalizer-1.5.1.gem) = 5e9ad99dcb6abe25e0f089a38144da82e1adf2d6 +RMD160 (feed-normalizer-1.5.1.gem) = 1dc7e1acbdc1abc342c396da8dff03747a37c5f6 +Size (feed-normalizer-1.5.1.gem) = 44544 bytes |