packages feed

arch-hs 0.10.1.0 → 0.10.2.0

raw patch · 3 files changed

+17/−4 lines, 3 filesdep ~arch-webPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: arch-web

API changes (from Hackage documentation)

Files

CHANGELOG.md view
@@ -3,6 +3,11 @@ `arch-hs` uses [PVP Versioning][1]. The changelog is available [on GitHub][2]. +## 0.10.2.0++- Don't treat special licenses as custom licenses+- Add `--datasubdir` to template+ ## 0.10.1.0  - Always generate `-f` or `-f-` for each flag in PKGBUILD
arch-hs.cabal view
@@ -1,6 +1,6 @@ cabal-version:      2.4 name:               arch-hs-version:            0.10.1.0+version:            0.10.2.0 synopsis:           Distribute hackage packages to archlinux description:   @arch-hs@ is a command-line program, which simplifies the process of producing@@ -38,7 +38,7 @@   build-depends:     , aeson                        >=1.5.4   && <2.1     , algebraic-graphs             >=0.5     && <0.7-    , arch-web                     ^>=0.1.0+    , arch-web                     ^>=0.1.1     , base                         >=4.12    && <5     , bytestring     , Cabal                        >=3.2     && <3.5
src/Distribution/ArchHs/PkgBuild.hs view
@@ -78,7 +78,15 @@ mapLicense ZPL_2_1 = Arch.ZPL mapLicense Unlicense = Arch.Unlicense mapLicense W3C = Arch.W3C-mapLicense BSD_3_Clause = Arch.Custom "BSD3"+mapLicense NullBSD = Arch.BSD+mapLicense BSD_1_Clause = Arch.BSD+mapLicense BSD_2_Clause = Arch.BSD+mapLicense BSD_3_Clause = Arch.BSD+mapLicense ISC = Arch.ISC+mapLicense MIT = Arch.MIT+mapLicense Zlib = Arch.ZLIB+mapLicense OFL_1_0 = Arch.OFL+mapLicense OFL_1_1 = Arch.OFL mapLicense x = Arch.Custom . T.pack $ show x  -- | Show an archlinux license@@ -162,7 +170,7 @@     cd $$_hkgname-$$pkgver      runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \-      --prefix=/usr --docdir=/usr/share/doc/$$pkgname --enable-tests \+      --prefix=/usr --docdir=/usr/share/doc/$$pkgname --datasubdir=$pkgname --enable-tests \       --dynlibdir=/usr/lib --libsubdir=\$$compiler/site-local/\$$pkgid \       --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \       --ghc-option='-pie' $flags