commit: aae6e3af16a2ee80feaed8b1ce5e2e7a00f3aed2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> AuthorDate: Mon Jun 29 00:39:39 2020 +0000 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> CommitDate: Mon Jun 29 00:41:02 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aae6e3af
app-admin/haskell-updater: revert "drop old" This reverts commit f3441af37e627ac74c2629fd8e9f232ffe1cbc4c. Older ghcs refer to 1.2* Signed-off-by: Sergei Trofimovich <slyfox <AT> gentoo.org> app-admin/haskell-updater/Manifest | 4 ++ .../haskell-updater/haskell-updater-1.2.10.ebuild | 44 +++++++++++++++++++++ .../haskell-updater-1.2.12-r1.ebuild | 46 ++++++++++++++++++++++ .../haskell-updater/haskell-updater-1.2.9.ebuild | 44 +++++++++++++++++++++ .../haskell-updater/haskell-updater-1.3.1.ebuild | 46 ++++++++++++++++++++++ 5 files changed, 184 insertions(+) diff --git a/app-admin/haskell-updater/Manifest b/app-admin/haskell-updater/Manifest index 7e20adfac84..c5899213517 100644 --- a/app-admin/haskell-updater/Manifest +++ b/app-admin/haskell-updater/Manifest @@ -1 +1,5 @@ +DIST haskell-updater-1.2.10.tar.gz 26586 BLAKE2B adc46f85118fa55e530aa079ef2df0663b178b15311f4f2ff6474db75aacf1277238a27a2bb98841fc1fe50b556d7f01a677861b3ce9559fe809a02db401ef8d SHA512 c0a72ae77362e5ed4ea0e244449175454119b1284756adeb43534bf58b661f3cabb88e08bd5903d415a9f95a6de309753dedf974ddd853b300fd215250e0ad7c +DIST haskell-updater-1.2.12.tar.gz 26708 BLAKE2B d0b040cb3b6211b3c5c60f8cfa3dbccbf9cb15d246b21609a21aac746a8a034e284fe0b99891b5035980252a7aa8b376ad943f32882dc29e16226d95583cb053 SHA512 f3a993cb556919bf2e57fdaca7eea9146abc59096e779cbffb69a5c29fc5f6ef889c8ccf4d8331dbd9279919ea91bb05a16d83ad70085d5ef5a44d61120fe7e7 +DIST haskell-updater-1.2.9.tar.gz 26675 BLAKE2B a3d11cdcee886a07d87cd2888a9deea1d963b7234b4a10a6b78e9467fae4e9382c92f14a6ba0593f86bf9422ab2cb4bec823de96f34b463590ae18429c118edb SHA512 d19b6154d5ef4da176638c237082586688e2ac73a41c075fc3e51979b86b9e48ca5a9bfe6c870d468d66d95c1464456feed8afc388aea282aa7aad5a35f5e0da +DIST haskell-updater-1.3.1.tar.gz 26573 BLAKE2B 68e5357e8f24b9b372dba4feac76595cbf35602d9d9094d616497c9d0040177b5f1def5833770041b693220717f3a4976877e0608858d5d8d4dddd26620c71e5 SHA512 39c36c4a8997806bb4d64625bc9ed72334a68e57f8c32f75d0c3704ab52b3b68605444c89480e5186c04bb275b3608ea9544366ebc5a00e010cc5fb4ae8296df DIST haskell-updater-1.3.2.tar.gz 26133 BLAKE2B ea72850e5ca35ec18fa00136c654435a852b072aea0402003c962abbb0e0f09e8a84568f78c9186324b0b0ee9658de1b413670e268cfe1c0056810b8c61b479c SHA512 a4d80ecb65efa9ae21008e04b1363ff2196df4ba431fc5ec899bb9904c598c7a109a38f7dd86dd2dc86faca8ed5083d036d700e7f7796840ee5470401c24f3d9 diff --git a/app-admin/haskell-updater/haskell-updater-1.2.10.ebuild b/app-admin/haskell-updater/haskell-updater-1.2.10.ebuild new file mode 100644 index 00000000000..0ca325522f8 --- /dev/null +++ b/app-admin/haskell-updater/haskell-updater-1.2.10.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +CABAL_FEATURES="bin nocabaldep" +inherit eutils haskell-cabal + +DESCRIPTION="Rebuild Haskell dependencies in Gentoo" +HOMEPAGE="https://wiki.haskell.org/Gentoo#haskell-updater" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="" + +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() { + 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.2.12-r1.ebuild b/app-admin/haskell-updater/haskell-updater-1.2.12-r1.ebuild new file mode 100644 index 00000000000..8960ea72edd --- /dev/null +++ b/app-admin/haskell-updater/haskell-updater-1.2.12-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +CABAL_FEATURES="bin nocabaldep" +inherit eutils haskell-cabal + +DESCRIPTION="Rebuild Haskell dependencies in Gentoo" +HOMEPAGE="https://wiki.haskell.org/Gentoo#haskell-updater" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="" + +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.2.9.ebuild b/app-admin/haskell-updater/haskell-updater-1.2.9.ebuild new file mode 100644 index 00000000000..0ca325522f8 --- /dev/null +++ b/app-admin/haskell-updater/haskell-updater-1.2.9.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +CABAL_FEATURES="bin nocabaldep" +inherit eutils haskell-cabal + +DESCRIPTION="Rebuild Haskell dependencies in Gentoo" +HOMEPAGE="https://wiki.haskell.org/Gentoo#haskell-updater" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="" + +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() { + 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.3.1.ebuild b/app-admin/haskell-updater/haskell-updater-1.3.1.ebuild new file mode 100644 index 00000000000..680c8dd7f70 --- /dev/null +++ b/app-admin/haskell-updater/haskell-updater-1.3.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +CABAL_FEATURES="bin nocabaldep" +inherit eutils haskell-cabal + +DESCRIPTION="Rebuild Haskell dependencies in Gentoo" +HOMEPAGE="https://wiki.haskell.org/Gentoo#haskell-updater" +SRC_URI="https://hackage.haskell.org/package/${P}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" +IUSE="" + +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 +}