diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-11-19 23:08:59 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-11-19 23:08:59 +0000 |
commit | a29a0019eaf0bf87941bdc1d9cd53937685852ee (patch) | |
tree | 64c0a3ecbbede7a93bb6625c84b70668941be13a /dev-haskell/shelly | |
parent | 5a31d854eec302fd1efb1466af757e520ae4e1dc (diff) |
gentoo auto-resync : 19:11:2023 - 23:08:59
Diffstat (limited to 'dev-haskell/shelly')
-rw-r--r-- | dev-haskell/shelly/Manifest | 5 | ||||
-rw-r--r-- | dev-haskell/shelly/metadata.xml | 2 | ||||
-rw-r--r-- | dev-haskell/shelly/shelly-1.9.0.ebuild | 45 |
3 files changed, 42 insertions, 10 deletions
diff --git a/dev-haskell/shelly/Manifest b/dev-haskell/shelly/Manifest index 6ac42cb18365..828280998f7b 100644 --- a/dev-haskell/shelly/Manifest +++ b/dev-haskell/shelly/Manifest @@ -1,5 +1,6 @@ DIST shelly-1.12.1.tar.gz 75543 BLAKE2B db34e1a5e708192458e5d228b4758aa26812a3f547e39981754f8e3bb7af521c3887fde8e1b859a69b82edafc70be9979af30c918232a15e842f4e9894ed54ee SHA512 3917a03a23e61d5618f897f0ee90a4823980239252f260312ca86c7b364459c58749400e50a0f2ab78822c2eb6283891f993d2f31f0048a3cece19d5c565f05f +DIST shelly-1.9.0-rev3.cabal 5393 BLAKE2B de11c00ff84352212cbc1d0a238c71686feb10fbe503b0eeda3912c50693d756499b75c779d637a2a171cf15b92a518ce51821c46b72d2dc6af78f513b6a3679 SHA512 f7ebde25f2132b0e4658467001b667f9b6239a609120177312fc849ae60c00d1dabea73c4c3596fe034eb318200004b225757ab095a20ebc98a0cdd678d96a97 DIST shelly-1.9.0.tar.gz 73344 BLAKE2B f12e8835be5dd648427ff92b73bc9a37215a47067e65456c4c3dc8e9c2e5bb610da171648aadf9759e9a91eb075fa74d06241f83977a5380f49bc861643707cc SHA512 7c1eb25439e08095187746d0101fd92ad56ebb5a706820bad7330667cfc806066d4675c677e5d267440d4af7b517f36449e8f5e75332521780b564edc1586254 EBUILD shelly-1.12.1.ebuild 1807 BLAKE2B 8ee1f8681f770794ee09779880b6680f95eb734f4ad729d510a8c9f05a5ab0a7e7dee6e89f98f78953b25cb155d454f258233de4683bfc6d057a78f50d1d78ac SHA512 09f7af05b229d3e2ae90dda3afc85e93bdccf5813ebc458217714e3bd03995c2e84f0517f45a0a2966441616f51a5267c4bf0e3cd34a2c3c329bae166d41b8c4 -EBUILD shelly-1.9.0.ebuild 1307 BLAKE2B 601dc73b93c12547a2821aec4fdfcfd8db62a8d4234da4cc535b3bfeb442e80c8cc78f672703a2e966aa99d5a5020aad54eabbcb9b8b81694bfd0a1a151b62c1 SHA512 8e471a92524d9383bcfa3701e934b36235aa55bc87c978cf8e213a82f00728f6d6874ec9729eb30db1c8c0415cbb96ab95afe984e81a6a8a1dc48fa4c3870e4d -MISC metadata.xml 460 BLAKE2B ecb76a73f8bfe9d0e779f1073fb6f22a1a6b4d87917fdbcb0afa1b0da2c7695b12dc30ce57ea4fea5249a83ebafa81b738ae35259d3729f5c85ade1a831c8143 SHA512 143dd44d7eaef9e2047f6ab89889392404453b9a0c70e25ce3cdb8aebd8c0c3c243a682b0736ef580b158352a8641511165b752b96f9ac1d1486d07c99579dbb +EBUILD shelly-1.9.0.ebuild 1753 BLAKE2B 6832c1fe16c839e9b8ce26b556108b67c918aee0cd30f02410cda1a5feb3db343097fe0db7ceb9a4f2da67ea93e75432062f033637f7771c334ac1c12ea5889b SHA512 2522c6e23940badb53602b28678cfc91ebae9d73e5533596fdd8b190ea98744529853b48fbe9ed145b8ace2c032448a090e34db2cd4c81c2dbcb26f6308830ee +MISC metadata.xml 460 BLAKE2B 2b0e17b2d4e4f069db05672950ce0c2990d2ec261d37245e3d672ae28eb37933d51567d427591dea7ca724ab3d03cafc0d69894e05b68f22573eb8f1c764b6d2 SHA512 c767d2a6244c3ff96a71d65687717ddd677d86b9447aa6e40862b9f83293a8713fe491371cf5a23e86d4068c6f19c7243566c9e85beaa367a83ed069a793ca2d diff --git a/dev-haskell/shelly/metadata.xml b/dev-haskell/shelly/metadata.xml index 4894a131f231..785c05c3d993 100644 --- a/dev-haskell/shelly/metadata.xml +++ b/dev-haskell/shelly/metadata.xml @@ -10,6 +10,6 @@ </use> <upstream> <remote-id type="hackage">shelly</remote-id> - <remote-id type="github">gregwebs/Shelly.hs</remote-id> + <remote-id type="github">yesodweb/Shelly.hs</remote-id> </upstream> </pkgmetadata> diff --git a/dev-haskell/shelly/shelly-1.9.0.ebuild b/dev-haskell/shelly/shelly-1.9.0.ebuild index 03d0f05b45c7..9d511cbf704a 100644 --- a/dev-haskell/shelly/shelly-1.9.0.ebuild +++ b/dev-haskell/shelly/shelly-1.9.0.ebuild @@ -3,43 +3,74 @@ EAPI=8 -# ebuild generated by hackport 0.6.1.9999 +# ebuild generated by hackport 0.8.4.0.9999 #hackport: flags: build-examples:examples +CABAL_HACKAGE_REVISION=3 + CABAL_FEATURES="lib profile haddock hoogle hscolour test-suite" inherit haskell-cabal DESCRIPTION="shell-like (systems) programming in Haskell" -HOMEPAGE="https://github.com/gregwebs/Shelly.hs" -SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" +HOMEPAGE="https://github.com/yesodweb/Shelly.hs" LICENSE="BSD" SLOT="0/${PV}" KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv ~x86" IUSE="examples lifted" +CABAL_CHDEPS=( + 'time >= 1.3 && < 1.10' 'time >=1.3' +) + RDEPEND="dev-haskell/async:=[profile?] dev-haskell/enclosed-exceptions:=[profile?] - >=dev-haskell/exceptions-0.6:=[profile?] dev-haskell/lifted-async:=[profile?] dev-haskell/lifted-base:=[profile?] >=dev-haskell/monad-control-0.3.2:=[profile?] <dev-haskell/monad-control-1.1:=[profile?] - >=dev-haskell/mtl-2:=[profile?] dev-haskell/text:=[profile?] dev-haskell/transformers-base:=[profile?] <dev-haskell/unix-compat-0.6:=[profile?] - >=dev-lang/ghc-8.0.2:= + >=dev-lang/ghc-9.0.2:= " DEPEND="${RDEPEND} - >=dev-haskell/cabal-1.24.2.0 + >=dev-haskell/cabal-3.4.1.0 test? ( >=dev-haskell/hspec-2.0 dev-haskell/hspec-contrib >=dev-haskell/hunit-1.2 >=dev-haskell/text-0.11 ) " +example_exes=( + "drain" + "run-handles" + "Color" +) + +src_prepare() { + for e in "${example_exes[@]}"; do + export CABAL_CHDEPS+=( + "Executable ${e}" + "executable ${PN}-examples-${e}" + ) + done + + haskell-cabal_src_prepare +} + src_configure() { haskell-cabal_src_configure \ $(cabal_flag examples build-examples) \ $(cabal_flag lifted lifted) } + +pkg_postinst() { + ghc-package_pkg_postinst + + elog "The following example executables installed with this package have been" + elog "renamed to help prevent name collisions:" + + for e in "${example_exes[@]}"; do + elog "${e} -> ${PN}-examples-${e}" + done +} |