From ceebe6137463f4d2fd6c2cb24ada5c525347c500 Mon Sep 17 00:00:00 2001 From: Adrian Cochrane Date: Thu, 8 Aug 2019 20:18:28 +1200 Subject: [PATCH] Rename to Haskell Stylist, old name was taken. --- ChangeLog.md | 2 +- stylish-haskell.cabal => stylist.cabal | 12 +++++++----- .../ChangeLog.md | 2 +- .../LICENSE | 0 .../Setup.hs | 0 .../src/Data/HTML2CSS.hs | 0 .../xml-conduit-stylist.cabal | 12 ++++++------ 7 files changed, 15 insertions(+), 13 deletions(-) rename stylish-haskell.cabal => stylist.cabal (82%) rename {stylish-html-conduit => xml-conduit-stylist}/ChangeLog.md (64%) rename {stylish-html-conduit => xml-conduit-stylist}/LICENSE (100%) rename {stylish-html-conduit => xml-conduit-stylist}/Setup.hs (100%) rename {stylish-html-conduit => xml-conduit-stylist}/src/Data/HTML2CSS.hs (100%) rename stylish-html-conduit/stylish-html-conduit.cabal => xml-conduit-stylist/xml-conduit-stylist.cabal (84%) diff --git a/ChangeLog.md b/ChangeLog.md index 4374ac9..68c3e8d 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,4 +1,4 @@ -# Revision history for stylish-haskell +# Revision history for stylist ## 0.0.1 -- YYYY-mm-dd diff --git a/stylish-haskell.cabal b/stylist.cabal similarity index 82% rename from stylish-haskell.cabal rename to stylist.cabal index d6fd8cf..a61876d 100644 --- a/stylish-haskell.cabal +++ b/stylist.cabal @@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/ -- The name of the package. -name: stylish-haskell +name: stylist -- The package version. See the Haskell package versioning policy (PVP) -- for standards guiding when and how versions should be incremented. @@ -10,13 +10,15 @@ name: stylish-haskell -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change -version: 0.7.0.0 +version: 1.0.0.0 -- A short (one-line) description of the package. synopsis: Apply CSS styles to a document tree. -- A longer description of the package. --- description: +description: Reusable CSS engine allowing you to parse CSS stylesheets and to query the style properties for a given element. + It covers CSS parsing, selection, cascade, and inheritance, whilst allowing you to declaratively define supported properties and at-rules. + The hope is that this would be useful for implementing new browser engines, web development tools, and UI frameworks. -- The license under which the package is released. license: MIT @@ -32,7 +34,7 @@ author: Adrian Cochrane maintainer: alcinnz@lavabit.com -- A copyright notice. --- copyright: +-- copyright: Adrian Cochrane, copyright 2019 category: Language @@ -69,7 +71,7 @@ library ghc-options: -Wall -test-suite test-stylish +test-suite test-stylist hs-source-dirs: src test default-language: Haskell2010 type: exitcode-stdio-1.0 diff --git a/stylish-html-conduit/ChangeLog.md b/xml-conduit-stylist/ChangeLog.md similarity index 64% rename from stylish-html-conduit/ChangeLog.md rename to xml-conduit-stylist/ChangeLog.md index 18ee3d7..c8ff2e1 100644 --- a/stylish-html-conduit/ChangeLog.md +++ b/xml-conduit-stylist/ChangeLog.md @@ -1,4 +1,4 @@ -# Revision history for stylish-html-conduit +# Revision history for xml-conduit-stylist ## 0.1.0.0 -- YYYY-mm-dd diff --git a/stylish-html-conduit/LICENSE b/xml-conduit-stylist/LICENSE similarity index 100% rename from stylish-html-conduit/LICENSE rename to xml-conduit-stylist/LICENSE diff --git a/stylish-html-conduit/Setup.hs b/xml-conduit-stylist/Setup.hs similarity index 100% rename from stylish-html-conduit/Setup.hs rename to xml-conduit-stylist/Setup.hs diff --git a/stylish-html-conduit/src/Data/HTML2CSS.hs b/xml-conduit-stylist/src/Data/HTML2CSS.hs similarity index 100% rename from stylish-html-conduit/src/Data/HTML2CSS.hs rename to xml-conduit-stylist/src/Data/HTML2CSS.hs diff --git a/stylish-html-conduit/stylish-html-conduit.cabal b/xml-conduit-stylist/xml-conduit-stylist.cabal similarity index 84% rename from stylish-html-conduit/stylish-html-conduit.cabal rename to xml-conduit-stylist/xml-conduit-stylist.cabal index 107703d..78e518e 100644 --- a/stylish-html-conduit/stylish-html-conduit.cabal +++ b/xml-conduit-stylist/xml-conduit-stylist.cabal @@ -2,7 +2,7 @@ -- documentation, see http://haskell.org/cabal/users-guide/ -- The name of the package. -name: stylish-html-conduit +name: xml-conduit-stylist -- The package version. See the Haskell package versioning policy (PVP) -- for standards guiding when and how versions should be incremented. @@ -10,13 +10,13 @@ name: stylish-html-conduit -- PVP summary: +-+------- breaking API changes -- | | +----- non-breaking API additions -- | | | +--- code changes with no API change -version: 0.2.0.0 +version: 1.0.0.0 -- A short (one-line) description of the package. -synopsis: Bridge between html-conduit and stylish-haskell +synopsis: Bridge between xml-conduit/html-conduit and stylist -- A longer description of the package. --- description: +description: Parses CSS from an HTML webpage and queries relevant properties for each element. -- URL for the project homepage or repository. homepage: https://git.nzoss.org.nz/alcinnz/stylish-haskell @@ -35,7 +35,7 @@ author: Adrian Cochrane maintainer: adrian@openwork.nz -- A copyright notice. --- copyright: +-- copyright: Adrian Cochrane copyright 2019 category: Web @@ -61,7 +61,7 @@ library -- Other library packages from which modules are imported. build-depends: base >=4.9 && <4.10, - stylish-haskell >= 0.7.0, css-syntax, unordered-containers, + stylist, css-syntax, unordered-containers, xml-conduit, text, containers, network-uri -- 2.30.2