pkgsrc-Users archive

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

p5-Test-use-ok to p5-Test-Simple (Re: CVS commit: pkgsrc/devel/p5-Test-Simple



| From: Makoto Fujiwara <makoto%ki.nu@localhost>
| Subject: Re: CVS commit: pkgsrc/devel/p5-Test-Simple
| Date: Thu, 23 Apr 2015 01:08:38 +0900
| Message-ID: <yfmzj60i1rt.wl-makoto%ki.nu@localhost>
     ...
mef>     * Integrate Test::Tester and Test::use::ok for easier downgrade from trial
     ...
mef> (Honestly p5-Test-use-ok related things should be taken care
mef> of , or affects the same way, I am afraid).

Let me convert all of the p5-Test-use-ok dependencies to p5-Test-Simple.
(Each package can be packaged without this conversion, but mixed
dependency won't allow users to install combination of these
packages at the same time.)

I will use attached shell script.

(1) find packages depending to devel/p5-Test-use-ok
    (manually and hardcoded into shell script)
(2) Convert the line in Makefile to
    p5-Test-Simple>=1.001010:../../devel/p5-Test-Simple
(3) PKGREVISION++     

Thank you,
---
mef%NetBSD.org@localhost
Makoto Fujiwara, 
Chiba, Japan, Narita Airport and Disneyland prefecture.
-------------------------------
#! /bin/sh
PKGS='databases/p5-DBICx-MapMaker
	databases/p5-DBICx-TestDatabase
	devel/p5-Check-ISA
	devel/p5-Context-Preserve
	devel/p5-Devel-Events
	devel/p5-Devel-Events-Objects
	devel/p5-Devel-PartialDump
	devel/p5-Hash-Util-FieldHash-Compat
	devel/p5-IO-Handle-Util
	devel/p5-MooseX-Traits
	devel/p5-MooseX-Traits-Pluggable
	devel/p5-Test-TempDir
	net/p5-Data-Stream-Bulk
	time/p5-MooseX-Types-DateTime
	time/p5-MooseX-Types-DateTime-ButMaintained
	time/p5-MooseX-Types-DateTimeX
	www/p5-CGI-Cookie-Splitter
	www/p5-Catalyst-Authentication-Store-Htpasswd
	www/p5-Catalyst-Controller-BindLex
	www/p5-Catalyst-Model-Adaptor
	www/p5-Catalyst-Plugin-Session-Store-Delegate
	'
for i in ${PKGS}
  do
    echo ' **** ' $i ;
    	    mv -f ${i}/Makefile ${i}/Makefile.bak ;
    	    sed 's,p5-Test-use-ok.*,p5-Test-Simple>=1.001010:../../devel/p5-Test-Simple,' ${i}/Makefile.bak >  ${i}/Makefile
done

echo ${PKGS} |tr ' ' '\012' | revbump

exit;

#  cvs update -dPAC databases devel net time www && sh  ~/prep/Test-user-ok-2 && cvs diff databases devel net time www > /tmp/diff


Home | Main Index | Thread Index | Old Index