commit: 4bfe5318e0f2d6a4a0fbe63765dfe446e128b742 Author: hololeap <hololeap <AT> protonmail <DOT> com> AuthorDate: Tue Jul 16 04:16:35 2024 +0000 Commit: Mark Wright <gienah <AT> gentoo <DOT> org> CommitDate: Wed May 21 11:08:29 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bfe5318
app-admin/haskell-updater: add 1.3.3, 1.4.0.0, 1.4.1.0 Closes: https://github.com/gentoo/gentoo/pull/37577 Signed-off-by: hololeap <hololeap <AT> protonmail.com> Signed-off-by: Mark Wright <gienah <AT> gentoo.org> app-admin/haskell-updater/Manifest | 3 ++ .../haskell-updater/haskell-updater-1.3.3.ebuild | 46 ++++++++++++++++++ .../haskell-updater/haskell-updater-1.4.0.0.ebuild | 56 ++++++++++++++++++++++ .../haskell-updater/haskell-updater-1.4.1.0.ebuild | 56 ++++++++++++++++++++++ 4 files changed, 161 insertions(+) diff --git a/app-admin/haskell-updater/Manifest b/app-admin/haskell-updater/Manifest index 7e20adfac848..dc139717bd50 100644 --- a/app-admin/haskell-updater/Manifest +++ b/app-admin/haskell-updater/Manifest @@ -1 +1,4 @@ DIST haskell-updater-1.3.2.tar.gz 26133 BLAKE2B ea72850e5ca35ec18fa00136c654435a852b072aea0402003c962abbb0e0f09e8a84568f78c9186324b0b0ee9658de1b413670e268cfe1c0056810b8c61b479c SHA512 a4d80ecb65efa9ae21008e04b1363ff2196df4ba431fc5ec899bb9904c598c7a109a38f7dd86dd2dc86faca8ed5083d036d700e7f7796840ee5470401c24f3d9 +DIST haskell-updater-1.3.3.tar.gz 26793 BLAKE2B 0bece1f1220d8e59d202aa4bb82af8727794f8f0586da8397c6509cf3ecc199d8dd15fe75d6dd4cd7546f1b4f7b51892f723f0233148f9ce5ce39b6fa7e8c899 SHA512 51a64ef800e1b99ee1282df4db9d4c168cbe2a03dfe770f8ac4e14fc21086baafc2083fb76d18add0cc31cd6d44a2b3816c8c634c16177a19843e3cee4f37c17 +DIST haskell-updater-1.4.0.0.tar.gz 31036 BLAKE2B 5182873467d30e37b24fe6aebc48b97ad7b98dfcd49d4cfedab05b51fa9d99c5af2f75b86199ccf02edafe6dc4776ceb86d52dfa263a0f60964dc8902456d9b0 SHA512 ad1ddbfa35f1c127f878f6a4dee834d6aff10075985c660e81551ac0f5fe1b2f589120c4d29bc0b9f4c848028a1c63726843cb34eac6cf81bf68e3b2056ac503 +DIST haskell-updater-1.4.1.0.tar.gz 33451 BLAKE2B 35cb6d65b6b340797135b888c66ab3992808431ea1f28087805e7a5dc98b19658d904bc21eb31168869d26369c06e89bd41d2a1d076f707b19a5af1650890e65 SHA512 0386b120c815507e0d6239579e3bca98bb158908b72aaf74a21eb8a868bfdb6ad54f6f052cad5e4de44f59601074f2b36f216d4f66805c9f1a7c06dc33e25f19 diff --git a/app-admin/haskell-updater/haskell-updater-1.3.3.ebuild b/app-admin/haskell-updater/haskell-updater-1.3.3.ebuild new file mode 100644 index 000000000000..b5ca90b9f38c --- /dev/null +++ b/app-admin/haskell-updater/haskell-updater-1.3.3.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.0.0.9999 + +CABAL_FEATURES="nocabaldep" +inherit haskell-cabal + +DESCRIPTION="Rebuild Haskell dependencies in Gentoo" +HOMEPAGE="https://github.com/gentoo-haskell/haskell-updater#readme" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" + +DEPEND=">=dev-lang/ghc-6.12.1" + +# Need a lower version for portage to get --keep-going +RDEPEND="|| ( >=sys-apps/portage-2.1.6 + sys-apps/pkgcore )" + +src_prepare() { + default + + if use prefix; then + sed -i -e "s,/var/db/pkg,${EPREFIX}&,g" \ + "${S}/Distribution/Gentoo/Packages.hs" || die + + sed -i -e 's,"/","'"${EPREFIX}"'/",g' \ + "${S}/Distribution/Gentoo/GHC.hs" || die + fi +} + +src_configure() { + cabal_src_configure \ + --bindir="${EPREFIX}/usr/sbin" \ + --constraint="Cabal == $(cabal-version)" +} + +src_install() { + cabal_src_install + + dodoc TODO +} diff --git a/app-admin/haskell-updater/haskell-updater-1.4.0.0.ebuild b/app-admin/haskell-updater/haskell-updater-1.4.0.0.ebuild new file mode 100644 index 000000000000..07f1a0a58ce5 --- /dev/null +++ b/app-admin/haskell-updater/haskell-updater-1.4.0.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.5.1.9999 +#hackport: flags: +pedantic + +CABAL_FEATURES="nocabaldep" +inherit haskell-cabal + +DESCRIPTION="Rebuild Haskell dependencies in Gentoo" +HOMEPAGE="https://github.com/gentoo-haskell/haskell-updater#readme" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" + +# Need a lower version for portage to get --keep-going +RDEPEND=" + || ( + >=sys-apps/portage-2.1.6 + sys-apps/pkgcore + ) +" +DEPEND=" + >=dev-lang/ghc-9.0.2:= +" + +src_prepare() { + default + + if use prefix; then + sed -i -e "s,/var/db/pkg,${EPREFIX}&,g" \ + "${S}/Distribution/Gentoo/Packages.hs" || die + + sed -i -e 's,"/","'"${EPREFIX}"'/",g' \ + "${S}/Distribution/Gentoo/GHC.hs" || die + fi +} + +src_configure() { + local config_flags=( + --flag=pedantic + --bindir="${EPREFIX}/usr/sbin" + --constraint="Cabal == $(cabal-version)" + ) + + cabal_src_configure "${config_flags[@]}" +} + +src_install() { + cabal_src_install + + dodoc CHANGELOG.md README.md TODO +} diff --git a/app-admin/haskell-updater/haskell-updater-1.4.1.0.ebuild b/app-admin/haskell-updater/haskell-updater-1.4.1.0.ebuild new file mode 100644 index 000000000000..c37fdf0834eb --- /dev/null +++ b/app-admin/haskell-updater/haskell-updater-1.4.1.0.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# ebuild generated by hackport 0.8.5.1.9999 +#hackport: flags: +pedantic + +CABAL_FEATURES="nocabaldep" +inherit haskell-cabal + +DESCRIPTION="Rebuild Haskell dependencies in Gentoo" +HOMEPAGE="https://github.com/gentoo-haskell/haskell-updater#readme" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" + +# Need a lower version for portage to get --reinstall-atoms +RDEPEND=" + || ( + >=sys-apps/portage-2.1.10 + sys-apps/pkgcore + ) +" +DEPEND=" + >=dev-lang/ghc-9.0.2:= +" + +src_prepare() { + default + + if use prefix; then + sed -i -e "s,/var/db/pkg,${EPREFIX}&,g" \ + "${S}/Distribution/Gentoo/Packages.hs" || die + + sed -i -e 's,"/","'"${EPREFIX}"'/",g' \ + "${S}/Distribution/Gentoo/GHC.hs" || die + fi +} + +src_configure() { + local config_flags=( + --flag=pedantic + --bindir="${EPREFIX}/usr/sbin" + --constraint="Cabal == $(cabal-version)" + ) + + cabal_src_configure "${config_flags[@]}" +} + +src_install() { + cabal_src_install + + dodoc CHANGELOG.md README.md TODO +}
