Date: Friday, January 21, 2022 @ 15:10:14 Author: felixonmars Revision: 1112189
upgpkg: haskell-algebraic-graphs 0.6-1: rebuild with algebraic-graphs 0.6 Modified: haskell-algebraic-graphs/trunk/PKGBUILD Deleted: haskell-algebraic-graphs/trunk/ghc9.patch ------------+ PKGBUILD | 19 ++------ ghc9.patch | 131 ----------------------------------------------------------- 2 files changed, 5 insertions(+), 145 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-01-21 15:05:26 UTC (rev 1112188) +++ PKGBUILD 2022-01-21 15:10:14 UTC (rev 1112189) @@ -2,26 +2,17 @@ _hkgname=algebraic-graphs pkgname=haskell-algebraic-graphs -pkgver=0.5 -pkgrel=134 +pkgver=0.6 +pkgrel=1 pkgdesc="A library for algebraic graph construction and transformation" url="https://github.com/snowleopard/alga" license=('MIT') arch=('x86_64') depends=('ghc-libs') -makedepends=('ghc' 'uusi' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') -source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz" - ghc9.patch) -sha256sums=('89b9fecf8245476ec823355125fcb95decf41fd9784e807d7bd0d09f0a79c50b' - 'cdc1730dffc2365dee644e8457f2bcc210674bf07c4b5bb4c73f1cb4f7667357') +makedepends=('ghc' 'haskell-extra' 'haskell-inspection-testing' 'haskell-quickcheck') +source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz") +sha256sums=('353e2a2f5a06a936983a182ecf1f8bdb7c3e96aa310e89453c8cfd5ca3e76fb4') -prepare() { - cd $_hkgname-$pkgver - uusi -u QuickCheck $_hkgname.cabal - sed -i '/instance Arbitrary a => Arbitrary (Tree a) where/,+13d' test/Algebra/Graph/Test/Arbitrary.hs - patch -p1 -i ../ghc9.patch -} - build() { cd $_hkgname-$pkgver Deleted: ghc9.patch =================================================================== --- ghc9.patch 2022-01-21 15:05:26 UTC (rev 1112188) +++ ghc9.patch 2022-01-21 15:10:14 UTC (rev 1112189) @@ -1,131 +0,0 @@ -From 45205fe0d2cb8d3fda607d8f4f76ef4748ee49b1 Mon Sep 17 00:00:00 2001 -From: Andrey Mokhov <[email protected]> -Date: Sun, 14 Mar 2021 20:52:03 +0000 -Subject: [PATCH] Add GHC 9.0 to CI, bump copyright year (#267) - ---- - .github/workflows/ci.yml | 4 ++-- - LICENSE | 2 +- - algebraic-graphs.cabal | 4 ++-- - test/Algebra/Graph/Test/AdjacencyIntMap.hs | 2 +- - test/Algebra/Graph/Test/AdjacencyMap.hs | 2 +- - test/Algebra/Graph/Test/Graph.hs | 4 ++-- - test/Algebra/Graph/Test/Relation.hs | 8 ++++---- - test/Algebra/Graph/Test/Relation/SymmetricRelation.hs | 2 +- - test/Algebra/Graph/Test/Undirected.hs | 2 +- - 9 files changed, 15 insertions(+), 15 deletions(-) - -diff --git a/LICENSE b/LICENSE -index dc5ac3f4..e81307aa 100644 ---- a/LICENSE -+++ b/LICENSE -@@ -1,6 +1,6 @@ - MIT License - --Copyright (c) 2016-2020 Andrey Mokhov -+Copyright (c) 2016-2021 Andrey Mokhov - - Permission is hereby granted, free of charge, to any person obtaining a copy - of this software and associated documentation files (the "Software"), to deal -diff --git a/test/Algebra/Graph/Test/AdjacencyIntMap.hs b/test/Algebra/Graph/Test/AdjacencyIntMap.hs -index 08a85ee6..3fef0264 100644 ---- a/test/Algebra/Graph/Test/AdjacencyIntMap.hs -+++ b/test/Algebra/Graph/Test/AdjacencyIntMap.hs -@@ -26,7 +26,7 @@ t = ("AdjacencyIntMap.", adjacencyIntMapAPI) - testAdjacencyIntMap :: IO () - testAdjacencyIntMap = do - putStrLn "\n============ AdjacencyIntMap ============" -- test "Axioms of graphs" (axioms @ AdjacencyIntMap) -+ test "Axioms of graphs" (axioms @AdjacencyIntMap) - - putStrLn $ "\n============ AdjacencyIntMap.fromAdjacencyMap ============" - test "fromAdjacencyMap == stars . AdjacencyMap.adjacencyList" $ \x -> -diff --git a/test/Algebra/Graph/Test/AdjacencyMap.hs b/test/Algebra/Graph/Test/AdjacencyMap.hs -index 267abda3..6cc8f46e 100644 ---- a/test/Algebra/Graph/Test/AdjacencyMap.hs -+++ b/test/Algebra/Graph/Test/AdjacencyMap.hs -@@ -36,7 +36,7 @@ type AI = AdjacencyMap Int - testAdjacencyMap :: IO () - testAdjacencyMap = do - putStrLn "\n============ AdjacencyMap ============" -- test "Axioms of graphs" (axioms @ AI) -+ test "Axioms of graphs" (axioms @AI) - - testConsistent t - testShow t -diff --git a/test/Algebra/Graph/Test/Graph.hs b/test/Algebra/Graph/Test/Graph.hs -index 516effc7..7db781dc 100644 ---- a/test/Algebra/Graph/Test/Graph.hs -+++ b/test/Algebra/Graph/Test/Graph.hs -@@ -35,8 +35,8 @@ type G = Graph Int - testGraph :: IO () - testGraph = do - putStrLn "\n============ Graph ============" -- test "Axioms of graphs" (axioms @ G) -- test "Theorems of graphs" (theorems @ G) -+ test "Axioms of graphs" (axioms @G) -+ test "Theorems of graphs" (theorems @G) - - testBasicPrimitives t - testIsSubgraphOf t -diff --git a/test/Algebra/Graph/Test/Relation.hs b/test/Algebra/Graph/Test/Relation.hs -index 6c200e75..d1ca15cf 100644 ---- a/test/Algebra/Graph/Test/Relation.hs -+++ b/test/Algebra/Graph/Test/Relation.hs -@@ -34,7 +34,7 @@ type RI = Relation Int - testRelation :: IO () - testRelation = do - putStrLn "\n============ Relation ============" -- test "Axioms of graphs" $ size10 $ axioms @ RI -+ test "Axioms of graphs" $ size10 $ axioms @RI - - testConsistent t - testShow t -@@ -48,18 +48,18 @@ testRelation = do - - putStrLn "\n============ ReflexiveRelation ============" - test "Axioms of reflexive graphs" $ size10 $ -- reflexiveAxioms @ (ReflexiveRelation Int) -+ reflexiveAxioms @(ReflexiveRelation Int) - - putStrLn "\n============ TransitiveRelation ============" - test "Axioms of transitive graphs" $ size10 $ -- transitiveAxioms @ (TransitiveRelation Int) -+ transitiveAxioms @(TransitiveRelation Int) - - test "path xs == (clique xs :: TransitiveRelation Int)" $ size10 $ \xs -> - C.path xs == (C.clique xs :: TransitiveRelation Int) - - putStrLn "\n============ PreorderRelation ============" - test "Axioms of preorder graphs" $ size10 $ -- preorderAxioms @ (PreorderRelation Int) -+ preorderAxioms @(PreorderRelation Int) - - test "path xs == (clique xs :: PreorderRelation Int)" $ size10 $ \xs -> - C.path xs == (C.clique xs :: PreorderRelation Int) -diff --git a/test/Algebra/Graph/Test/Relation/SymmetricRelation.hs b/test/Algebra/Graph/Test/Relation/SymmetricRelation.hs -index b66db9de..ba0f9421 100644 ---- a/test/Algebra/Graph/Test/Relation/SymmetricRelation.hs -+++ b/test/Algebra/Graph/Test/Relation/SymmetricRelation.hs -@@ -32,7 +32,7 @@ type SRI = Relation Int - testSymmetricRelation :: IO () - testSymmetricRelation = do - putStrLn "\n============ Symmetric.Relation ============" -- test "Axioms of undirected graphs" $ size10 $ undirectedAxioms @ SRI -+ test "Axioms of undirected graphs" $ size10 $ undirectedAxioms @SRI - - testConsistent t - testSymmetricShow t -diff --git a/test/Algebra/Graph/Test/Undirected.hs b/test/Algebra/Graph/Test/Undirected.hs -index 2746a25b..ecfedbdf 100644 ---- a/test/Algebra/Graph/Test/Undirected.hs -+++ b/test/Algebra/Graph/Test/Undirected.hs -@@ -34,7 +34,7 @@ type AGI = G.Graph Int - testUndirected :: IO () - testUndirected = do - putStrLn "\n============ Graph.Undirected ============" -- test "Axioms of undirected graphs" $ size10 $ undirectedAxioms @ G -+ test "Axioms of undirected graphs" $ size10 $ undirectedAxioms @G - - testSymmetricShow t -
