From 8fd9d385e5bc3c01115ec2ddcb2227607eb90861 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Fri, 5 Jan 2024 14:04:26 +0000 Subject: gentoo auto-resync : 05:01:2024 - 14:04:25 --- dev-lang/janet/Manifest | 4 +-- dev-lang/janet/janet-1.22.0.ebuild | 73 -------------------------------------- dev-lang/janet/janet-1.32.1.ebuild | 73 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 75 insertions(+), 75 deletions(-) delete mode 100644 dev-lang/janet/janet-1.22.0.ebuild create mode 100644 dev-lang/janet/janet-1.32.1.ebuild (limited to 'dev-lang/janet') diff --git a/dev-lang/janet/Manifest b/dev-lang/janet/Manifest index eee1ae76cb7c..2d3f9fdc89d6 100644 --- a/dev-lang/janet/Manifest +++ b/dev-lang/janet/Manifest @@ -1,3 +1,3 @@ -DIST janet-1.22.0.tar.gz 494011 BLAKE2B 2193cf0d87421adb122e86347d47ef1a9d3141d7dedf4ba88ed3d0e97c1b22a8216e1e42a6431266c6fbb4dcee665db63839e90ec9e5530491c64a94b8b11b04 SHA512 c1e90dafa833618e0999a1a53005241b768dee66bf7e6d4cc60b7c7ce87fccba955ca2faafd4eacda320801667acbfc56087f423a4ad6abe7e97d1f08e136107 -EBUILD janet-1.22.0.ebuild 1720 BLAKE2B c596207c5ee0745402c0fa0572a7498d2fb31ae768088e2dccb2f64e16ce3fdff9cf934ead222c5eaca790cccb045e184bb7b0bfd6ea3682aec2eb7b25507815 SHA512 e60c148c24fcae575f29ef533c6ea1654a416e86ab22afd5d58e7a79ee60194c2632add08e81463c4815c5d558f23e346984ba2829d89a6f85f52042642972fb +DIST janet-1.32.1.tar.gz 556827 BLAKE2B 93d7e9eefa45cfd63378f042b5efed77244ff3a32d5b17d24a06c732ec40e49d9079e325d08c8540f284a24501bd41e0fc088781acdf20bcc22694d99a2cb885 SHA512 65e00cfe9bcd66f5d640e58f965aec72f7703777e086220539a1b080d7dd44a9039247477c352d89b1e73c4f6080320bdba419bd0d20cc114985f9701e2ade2d +EBUILD janet-1.32.1.ebuild 1725 BLAKE2B 7827f5ae90e40395511838eab14f280b93ac4656f2c4fde3c501057c4a6987a96a1689d243fab10cefefd17e37a1ada4392593e46eed61263c8fd9d4ba1f275a SHA512 2e3af109790129d42f274bc7b234d5a8aad8d72aacd65821ad8ccb4f5ed6140bc1e4deae27a58168caf165924f11be3e053057dd9769985580e7290f72fe848e MISC metadata.xml 991 BLAKE2B 07e892f19d1408eb2168385bb4f7e170a72221798710a4397f60500ba9b18c9ce743bbdcc79aa8868ab0ceccd19eed5d414ba743ffc76690ab4df41499457a7c SHA512 c326a2ccbf2c7a0e043d3d86cc9ccb887773708c919709156cb1117b1df13825bcf27dd06193e91bd035917049e3577b810064687c992fddc29e1aee1b555af6 diff --git a/dev-lang/janet/janet-1.22.0.ebuild b/dev-lang/janet/janet-1.22.0.ebuild deleted file mode 100644 index 7498144c0834..000000000000 --- a/dev-lang/janet/janet-1.22.0.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit flag-o-matic toolchain-funcs - -DESCRIPTION="A dynamic Lisp dialect and bytecode vm" -HOMEPAGE="https://janet-lang.org https://github.com/janet-lang/janet/" -SRC_URI="https://github.com/janet-lang/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="static-libs" - -MY_RELEASE="${PV::-2}" - -src_configure() { - tc-export CC - - append-ldflags -Wl,-soname,libjanet.so.1.${MY_RELEASE} - append-cflags -fPIC -} - -src_compile() { - # janet_build is the git hash of the commit related to the - # current release - it defines a constant which is then shown - # when starting janet - local janet_build='\"'${PV}'\"' - - local target - for target in '' build/janet.pc docs ; do - einfo "Building: ${target:-main}" - emake \ - LIBDIR="/usr/$(get_libdir)" \ - PREFIX="/usr" \ - JANET_BUILD="${janet_build}" \ - CFLAGS="${CFLAGS}" \ - LDFLAGS="${LDFLAGS}" \ - ${target} - done -} - -src_install() { - dobin build/janet - - insinto /usr/include/janet - doheader src/include/janet.h - doheader src/conf/janetconf.h - - dolib.so build/libjanet.so - dosym libjanet.so /usr/$(get_libdir)/libjanet.so.${MY_RELEASE} - dosym libjanet.so.${MY_RELEASE} /usr/$(get_libdir)/libjanet.so.${PV} - - if use static-libs; then - dolib.a build/libjanet.a - fi - - doman janet.1 - - insinto /usr/$(get_libdir)/pkgconfig/ - doins build/janet.pc - - dodoc -r examples - dodoc build/doc.html -} - -pkg_postinst() { - elog "Note: jpm has been extracted to its own repository upstream." - elog "Follow the upstream instructions on how to install it." - elog "Enable use flag \"static-libs\" for building stand-alone executables with jpm" -} diff --git a/dev-lang/janet/janet-1.32.1.ebuild b/dev-lang/janet/janet-1.32.1.ebuild new file mode 100644 index 000000000000..8f95ec60cf4f --- /dev/null +++ b/dev-lang/janet/janet-1.32.1.ebuild @@ -0,0 +1,73 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="A dynamic Lisp dialect and bytecode vm" +HOMEPAGE="https://janet-lang.org https://github.com/janet-lang/janet/" +SRC_URI="https://github.com/janet-lang/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs" + +MY_RELEASE="${PV::-2}" + +src_configure() { + tc-export CC + + append-ldflags -Wl,-soname,libjanet.so.1.${MY_RELEASE} + append-cflags -fPIC +} + +src_compile() { + # janet_build is the git hash of the commit related to the + # current release - it defines a constant which is then shown + # when starting janet + local janet_build='\"'${PV}'\"' + + local target + for target in '' build/janet.pc docs ; do + einfo "Building: ${target:-main}" + emake \ + LIBDIR="/usr/$(get_libdir)" \ + PREFIX="/usr" \ + JANET_BUILD="${janet_build}" \ + CFLAGS="${CFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + ${target} + done +} + +src_install() { + dobin build/janet + + insinto /usr/include/janet + doheader src/include/janet.h + doheader src/conf/janetconf.h + + dolib.so build/libjanet.so + dosym libjanet.so /usr/$(get_libdir)/libjanet.so.${MY_RELEASE} + dosym libjanet.so.${MY_RELEASE} /usr/$(get_libdir)/libjanet.so.${PV} + + if use static-libs; then + dolib.a build/libjanet.a + fi + + doman janet.1 + + insinto /usr/$(get_libdir)/pkgconfig/ + doins build/janet.pc + + dodoc -r examples + dodoc build/doc.html +} + +pkg_postinst() { + elog "Note: jpm has been extracted to its own repository upstream." + elog "Follow the upstream instructions on how to install it." + elog "Enable use flag \"static-libs\" for building stand-alone executables with jpm" +} -- cgit v1.2.3