aur 6.2.0.1 → 6.3.0
raw patch · 3 files changed
+45/−47 lines, 3 filesdep ~servantdep ~servant-clientdep ~textPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: servant, servant-client, text
API changes (from Hackage documentation)
Files
- CHANGELOG.md +4/−0
- aur.cabal +39/−45
- lib/Linux/Arch/Aur.hs +2/−2
CHANGELOG.md view
@@ -1,5 +1,9 @@ # Changelog +## 6.3.0++- `servant-0.17` support.+ ## 6.2.0.1 - Relax `http-client` bounds.
aur.cabal view
@@ -1,60 +1,54 @@-cabal-version: 2.2--name: aur-version: 6.2.0.1-synopsis: Access metadata from the Arch Linux User Repository.-+cabal-version: 2.2+name: aur+version: 6.3.0+synopsis: Access metadata from the Arch Linux User Repository. description:- Access package information from Arch Linux's AUR via its RPC interface. The- main exposed functions reflect those of the RPC. `info` gets metadata for- one package. `search` gets limited metadata for packages that match a given- regex. By default this library supports version 5 of the RPC, and hence- version 4.2+ of the AUR.--category: Linux-homepage: https://github.com/aurapm/aura-author: Colin Woodbury-maintainer: colin@fosskers.ca-copyright: 2014 - 2019 Colin Woodbury-license: GPL-3.0-only-license-file: LICENSE-build-type: Simple+ Access package information from Arch Linux's AUR via its RPC interface. The+ main exposed functions reflect those of the RPC. `info` gets metadata for one+ package. `search` gets limited metadata for packages that match a given regex.+ By default this library supports version 5 of the RPC, and hence version 4.2++ of the AUR. +category: Linux+homepage: https://github.com/aurapm/aura+author: Colin Woodbury+maintainer: colin@fosskers.ca+copyright: 2014 - 2020 Colin Woodbury+license: GPL-3.0-only+license-file: LICENSE+build-type: Simple extra-source-files:- README.md- CHANGELOG.md+ README.md+ CHANGELOG.md common commons default-language: Haskell2010 ghc-options:- -Wall- -Wincomplete-record-updates- -Wincomplete-uni-patterns- -Wredundant-constraints- -Widentities+ -Wall -Wincomplete-record-updates -Wincomplete-uni-patterns+ -Wredundant-constraints -Widentities+ build-depends:- base >= 4.10 && < 5- , http-client >= 0.5 && < 0.7+ , base >=4.10 && <5+ , http-client >=0.5 && <0.7 library- import: commons- hs-source-dirs: lib- exposed-modules:- Linux.Arch.Aur+ import: commons+ hs-source-dirs: lib+ exposed-modules: Linux.Arch.Aur build-depends:- aeson >= 0.9 && < 1.5- , servant ^>= 0.16- , servant-client ^>= 0.16- , text+ , aeson >=0.9 && <1.5+ , servant >=0.16 && <0.18+ , servant-client ^>=0.17+ , text ^>=1.2 test-suite aur-test- import: commons- type: exitcode-stdio-1.0- main-is: Test.hs+ import: commons+ type: exitcode-stdio-1.0+ main-is: Test.hs hs-source-dirs: tests- ghc-options: -threaded -with-rtsopts=-N+ ghc-options: -threaded -with-rtsopts=-N build-depends:- aur- , http-client-tls ^>= 0.3- , tasty >= 0.11 && < 1.3- , tasty-hunit >= 0.9 && < 0.11+ , aur+ , http-client-tls ^>=0.3+ , tasty >=0.11 && <1.3+ , tasty-hunit >=0.9 && <0.11
lib/Linux/Arch/Aur.hs view
@@ -4,7 +4,7 @@ -- | -- Module : Linux.Arch.Aur--- Copyright : (c) Colin Woodbury, 2014 - 2019+-- Copyright : (c) Colin Woodbury, 2014 - 2020 -- License : GPL3 -- Maintainer: Colin Woodbury <colin@fosskers.ca> --@@ -157,4 +157,4 @@ search m p = unwrap m $ rpcS (Just "5") (Just "search") (Just p) unwrap :: Manager -> ClientM RPCResp -> IO (Either ClientError [AurInfo])-unwrap m r = fmap _results <$> runClientM r (ClientEnv m url Nothing)+unwrap m r = fmap _results <$> runClientM r (ClientEnv m url Nothing defaultMakeClientRequest)