diff options
author | Maciej Barć <xgqt@gentoo.org> | 2023-10-04 10:09:54 +0200 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2023-10-04 10:11:18 +0200 |
commit | 5730129f096378a379deae0e0fa0dcbf66650cd8 (patch) | |
tree | 56b4837f847323acda8390d11755ae1d70baf7f9 /dev-lang/idris2 | |
parent | dev-python/ytmusicapi: bump to 1.3.0 (diff) | |
download | gentoo-5730129f096378a379deae0e0fa0dcbf66650cd8.tar.gz gentoo-5730129f096378a379deae0e0fa0dcbf66650cd8.tar.bz2 gentoo-5730129f096378a379deae0e0fa0dcbf66650cd8.zip |
dev-lang/idris2: drop old 0.5.1_p20220224-r1
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-lang/idris2')
-rw-r--r-- | dev-lang/idris2/Manifest | 1 | ||||
-rw-r--r-- | dev-lang/idris2/idris2-0.5.1_p20220224-r1.ebuild | 105 |
2 files changed, 0 insertions, 106 deletions
diff --git a/dev-lang/idris2/Manifest b/dev-lang/idris2/Manifest index ea15a073d221..7b1af4317e6e 100644 --- a/dev-lang/idris2/Manifest +++ b/dev-lang/idris2/Manifest @@ -1,3 +1,2 @@ -DIST idris2-0.5.1_p20220224.tar.gz 6299027 BLAKE2B 65654d76dc4a593826904321d78246da877ae71da95d56b4ee266de9676706e899bf9a1ae4293dde077a3ea50a860501fa4c3b8065a5b8d759d785954ea7b822 SHA512 6bea9e5ce01c64a893c39e7aacceef5d4f6bfd499f0b4ca17681bea6ab11620e0058faba8bdd84eecacf3f8d1cfe2594ca830aff89f2cfde2208fdc092fc37f1 DIST idris2-0.5.1_p20220920.tar.gz 6410473 BLAKE2B 91af285cf02cb6adcad330050a4d201116f8dcfdac0021b8b9110789e7f461a54ac6ca1f1ee421a38be0ff83a780e64e5c02ee0a40fe7bc5d361b6aa551b30ad SHA512 5c006b8ecb74bd5261bcc1db94cbcf8d818b7838907916befb0c20681febe52963197b0406aef466858f37c75f3a1028e05d772dc323d172ad7a79781088304d DIST idris2-0.6.0.tar.gz 6706586 BLAKE2B 79c16120b5845047d510a6f75729f1999f5b468e27189bd806f772d07e1789622ca0182933d0ec0833f5c3af05e00f13edda2f595aa35b5d0fcb2301c5c25407 SHA512 342ab3d9e38c8150c7eec997e9cbadd4aa12ccb18994b6b008f165deb20fd5fc79f4944387316cbba03e56fa1545b0afbb277988449af5b21d20f81207f6f367 diff --git a/dev-lang/idris2/idris2-0.5.1_p20220224-r1.ebuild b/dev-lang/idris2/idris2-0.5.1_p20220224-r1.ebuild deleted file mode 100644 index 184f92dc1381..000000000000 --- a/dev-lang/idris2/idris2-0.5.1_p20220224-r1.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -[[ ${PV} == *_p20220224 ]] && COMMIT=1011cc6162bad580b0c51237c86fbf4fe2035fbe - -inherit toolchain-funcs - -DESCRIPTION="Purely functional programming language with first class types" -HOMEPAGE="https://idris-lang.org/" - -if [[ "${PV}" == *9999* ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/idris-lang/${PN^}.git" -else - SRC_URI="https://github.com/idris-lang/${PN^}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86" - S="${WORKDIR}/${PN^}-${COMMIT}" -fi - -LICENSE="BSD" -SLOT="0" -IUSE="+chez doc racket test-full" -REQUIRED_USE="^^ ( chez racket )" - -RDEPEND=" - dev-libs/gmp - chez? ( dev-scheme/chez:=[threads] ) - racket? ( dev-scheme/racket:=[threads] ) -" -DEPEND="${RDEPEND}" -BDEPEND=" - doc? ( dev-python/sphinx-rtd-theme ) - test-full? ( - dev-scheme/chez[threads] - dev-scheme/racket[threads] - net-libs/nodejs - ) -" - -# Generated via "SCHEME", not CC -QA_FLAGS_IGNORED="usr/lib/idris2/bin/idris2_app/idris2 - usr/lib/idris2/bin/idris2_app/idris2-boot" -QA_PRESTRIPPED="${QA_FLAGS_IGNORED}" - -src_prepare() { - # Clean up environment of Idris and Racket variables - unset IDRIS2_DATA IDRIS2_INC_CGS IDRIS2_LIBS IDRIS2_PACKAGE_PATH - unset IDRIS2_PATH IDRIS2_PREFIX - unset PLTUSERHOME - - tc-export AR CC CXX LD RANLIB - export CFLAGS - sed -i '/^CFLAGS/d' ./support/*/Makefile || die - - # Fix "PREFIX" - sed -i 's|$(HOME)/.idris2|/usr/lib/idris2|g' ./config.mk || die - - # Bad tests - # Weird Racket Futures (parallelism) test, might need further investigation - sed -i 's|, "futures001"||g' ./tests/Main.idr || die - # > Missing incremental compile data, reverting to whole program compilation - sed -i 's|"chez033",||g' ./tests/Main.idr || die - - default -} - -src_configure() { - export IDRIS2_VERSION=${PV} - export SCHEME=$(usex chez chezscheme racket) - - if use chez ; then - export IDRIS2_CG=chez - export BOOTSTRAP_TARGET=bootstrap - elif use racket ; then - export IDRIS2_CG=racket - export BOOTSTRAP_TARGET=bootstrap-racket - else - die 'Neither "chez" nor "racket" was chosen' - fi -} - -src_compile() { - # > jobserver unavailable - # This is caused by Makefile using a script which in turn calls make - # https://github.com/idris-lang/Idris2/issues/2152 - emake SCHEME=${SCHEME} ${BOOTSTRAP_TARGET} -j1 - - use doc && emake -C ./docs html -} - -src_test() { - emake SCHEME=${SCHEME} bootstrap-test -} - -src_install() { - # "DESTDIR" variable is not respected, use "PREFIX" instead - emake IDRIS2_PREFIX="${D}"/usr/lib/idris2 PREFIX="${D}"/usr/lib/idris2 install - dosym ../lib/${PN}/bin/${PN} /usr/bin/${PN} - - # Install documentation - use doc && dodoc -r ./docs/build/html - einstalldocs -} |