[Pkg-haskell-commits] [package-plan] 01/02: Changed test-packages.pl to add cabal files from additional cabals with the pattern "./additional-cabals/<package>/<version>/<package>.cabal".

Sven Bartscher svenb-guest at moszumanska.debian.org
Thu Jul 10 21:14:41 UTC 2014


This is an automated email from the git hooks/post-receive script.

svenb-guest pushed a commit to branch master
in repository package-plan.

commit 9b67f817c9747a94339d9ac9218016d14087ce3d
Author: Sven Bartscher <sven.bartscher at weltraumschlangen.de>
Date:   Thu Jul 10 22:44:04 2014 +0200

    Changed test-packages.pl to add cabal files from additional cabals with the
    pattern "./additional-cabals/<package>/<version>/<package>.cabal".
---
 additional-cabals/setlocale/1.0.0/setlocale.cabal | 25 +++++++++++++++++++++++
 test-packages.pl                                  |  4 ++++
 2 files changed, 29 insertions(+)

diff --git a/additional-cabals/setlocale/1.0.0/setlocale.cabal b/additional-cabals/setlocale/1.0.0/setlocale.cabal
new file mode 100644
index 0000000..32d60e0
--- /dev/null
+++ b/additional-cabals/setlocale/1.0.0/setlocale.cabal
@@ -0,0 +1,25 @@
+-- Initial setlocale.cabal generated by cabal init.  For further 
+-- documentation, see http://haskell.org/cabal/users-guide/
+
+name:                setlocale
+version:             1.0.0
+synopsis:            Haskell bindings to setlocale
+-- description:         
+license:             BSD3
+license-file:        LICENSE
+author:              Sven Bartscher
+maintainer:          sven.bartscher at weltraumschlangen.de
+copyright:           2014, Sven Bartscher
+category:            System
+build-type:          Simple
+-- extra-source-files:  
+cabal-version:       >=1.10
+
+library
+  exposed-modules:     System.Locale.SetLocale
+  -- other-modules:       
+  other-extensions:    DeriveDataTypeable, ForeignFunctionInterface
+  build-depends:       base >=4.6 && <4.7
+  -- hs-source-dirs:      
+  build-tools:         hsc2hs
+  default-language:    Haskell98
\ No newline at end of file
diff --git a/test-packages.pl b/test-packages.pl
index 5f65697..870ea05 100755
--- a/test-packages.pl
+++ b/test-packages.pl
@@ -157,6 +157,10 @@ __END__
 
 	print "Reading 00-list.tar...\n";
 	my $tar = Archive::Tar->new($originaltarpath);
+	print "Adding additional packages...\n";
+	chdir "./additional-cabals";
+	$tar->add_files( glob("./*/*/*.cabal") );
+	chdir "..";
 	print "Applying patches to repository .cabal files...\n";
 	for my $seriesfile (<./patches/*/*/series>) {
 		unless ($seriesfile =~ m!^./patches/(.*)/(.*?)/series$!) {

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/package-plan.git



More information about the Pkg-haskell-commits mailing list