aboutsummaryrefslogtreecommitdiff
path: root/eclass
Commit message (Collapse)AuthorAgeFilesLines
* dub.eclass: new eclassAndrei Horodniceanu13 days1-0/+312
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dlang-compilers-r1.eclass: Correct ldc2:1.39 entry to match ebuildAndrei Horodniceanu2024-07-141-1/+1
| | | | | | | | Correct the keywords list in the eclass by removing the arm64 keyword which has been dropped with the ldc2:1.39 addition. It should be added back when tests on arm64 can be performed again. Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dev-lang/ldc2: add 1.39.0Andrei Horodniceanu2024-07-071-0/+1
| | | | | | | | | | | | The LICENSE has been corrected as I've mistaken the license of the valgrind headers as being BSD when, in fact, it is BZIP2. The other change to LICENSE, RSA being replaced by `|| ( CC0-1.0 Apache-2.0 )' is because some internal hashing implementation has changed. The arm64 keyword has been dropped temporarily as I find myself without the hardware to test it. Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dev-lang/dmd: add 2.109.1Andrei Horodniceanu2024-07-061-0/+1
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dmd-r1.eclass: clarify dependency on stdlib of host compilerAndrei Horodniceanu2024-07-061-3/+3
| | | | | | | | | | | | | | | The previous comment, saying that dmd doesn't link the standard lib of the host compiler, is plain wrong, it always does. The only particularity is that dmd doesn't seem to need phobos but it does need druntime. Regardless, a RDEPEND on the host compiler is needed. Another comment has been added trying to describe the reason why DLANG_DEPS should be present in DEPEND. My current understanding is that since the compiler needs to link libraries from SYSROOT (druntime and phobos) to produce the CHOST dmd executable then those libraries should be listed in DEPEND. I'm not 100% sure though. Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dmd-r1.eclass: trivial typo fixes in commentsAndrei Horodniceanu2024-07-061-2/+2
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dmd-r1.eclass: update LICENSEAndrei Horodniceanu2024-07-061-0/+26
| | | | | | | | | List licenses of all files used by the package, not just the main license governing the project. This change also stops installing one file with a questionable license. Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dlang-compilers-r1.eclass: Add gdc-14 targetsAndrei Horodniceanu2024-06-011-0/+1
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dev-lang/ldc2: add 1.38.0Andrei Horodniceanu2024-05-281-0/+1
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dlang-utils.eclass: add dlang_get_debug_flagAndrei Horodniceanu2024-05-032-0/+23
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dmd-r1.eclass: use dlang_get_abi_bits instead of _get_abi_bitsAndrei Horodniceanu2024-04-261-18/+4
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dlang-utils.eclass: add dlang_get_abi_bitsAndrei Horodniceanu2024-04-262-11/+27
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dev-lang/ldc2: add 1.37.0Andrei Horodniceanu2024-04-211-0/+1
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dev-lang/dmd: add 2.108.0Andrei Horodniceanu2024-04-202-0/+7
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dmd-r1.eclass: Fix paths in pkg_postinst elog messagesAndrei Horodniceanu2024-04-201-2/+3
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dmd-r1.eclass: new eclassAndrei Horodniceanu2024-04-141-0/+414
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dlang-single.eclass: new eclassAndrei Horodniceanu2024-04-141-0/+409
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dlang-r1.eclass: new eclassAndrei Horodniceanu2024-04-141-0/+391
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dlang-utils.eclass: new eclassAndrei Horodniceanu2024-04-142-0/+1591
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dlang-compilers-r1.eclass: new eclassAndrei Horodniceanu2024-04-141-0/+293
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dmd.eclass: Fix overwriting instead of appending to array.Horodniceanu Andrei2024-02-201-2/+2
| | | | Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* dev-lang/dmd: add 2.107.0Horodniceanu Andrei2024-02-192-2/+29
| | | | | | Fix static libraries being built when USE=!static-libs. Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* dmd.eclass: explicitly specify arguments to dmd in testsHorodniceanu Andrei2024-02-181-1/+16
| | | | | | | | | | | | Refactor the test code a little for better readability and prevent linking by default to libphosbos2.a, which happens to work only because the build wrongfully generates both shared and static libraries regardless of USE=static-libs. Pass the same options to dmd as the ones in the installed dmd.conf to get a closer setup to what the user will have installed on their system. Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* dev-lang/dmd: stabilize 2.106.1 for amd64, x86Andrei Horodniceanu2024-02-041-1/+1
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dev-lang/dmd: stabilize 2.105.3 for amd64, x86Andrei Horodniceanu2024-02-041-1/+1
| | | | Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
* dmd.eclass: add optfeature for dev-util/dlang-toolsHorodniceanu Andrei2024-02-041-1/+3
| | | | Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* dmd.eclass: drop tools USE flagHorodniceanu Andrei2024-02-041-2/+1
| | | | | | | | | The tools USE flag is only used to pull in dlang-tools as a dependency. As dev-lang/dmd doesn't actually require dlang-tools being present to function, the dependency, along with the USE flag have been dropped. Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* dev-lang/ldc2: add 1.36.0Horodniceanu Andrei2024-01-141-0/+1
| | | | | | | | | | Additional changes: - force disable LDC_ENABLE_ASSERTIONS instead of defaulting to LLVM_ENABLE_ASSERTIONS - pass the -NDEBUG flag in the same manner as sys-devel/llvm to prevent linking errors. Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* dev-lang/dmd: drop 2.086.1Horodniceanu Andrei2024-01-131-1/+0
| | | | Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* dev-lang/ldc2: remove llvm:14 dependent versionsHorodniceanu Andrei2024-01-021-3/+0
| | | | Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* Stabilization sweepMarco Leise2023-12-171-46/+10
|\ | | | | | | Signed-off-by: Marco Leise <marco.leise@gmx.de>
| * */*: Remove old versionsHorodniceanu Andrei2023-12-161-36/+0
| | | | | | | | Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
| * stabilization sweepHorodniceanu Andrei2023-12-161-11/+11
| | | | | | | | Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* | dlang.eclass: Support DLANG_COMPILER_DISABLED_BACKENDSHorodniceanu Andrei2023-12-101-31/+60
| | | | | | | | | | | | | | | | | | Add support for filtering out possible compilers by their backend, on top of the frontend version filtering already implemented. This allows packages that do not support a particular compiler backend not to advertise USE flags that will fail to build. Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* | dlang.eclass: export PKG_CONFIG_* in phase functionsHorodniceanu Andrei2023-12-101-0/+18
| | | | | | | | | | | | | | | | | | PKG_CONFIG_LIBDIR and PKG_CONFIG_PATH will now be set to a list of the the system pkg-config directories and the compiler specific one, allowing packages that use build systems to easily find both their C and D dependencies. Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* | dlang.eclass: Properly set LIBDIR_$ABI for single type packagesHorodniceanu Andrei2023-12-092-3/+26
|/ | | | | | | | | | | | | | Previously, only packages that set DLANG_PACKAGE_TYPE to multi received a valid value in LIBDIR_$ABI, the path to the compiler specific directory for libraries, in order to know where to install their libraries. Now, both types of packages will have this value set properly, alowing single type packages to know the exact path to the compiler library directory for easy access to auxiliary files like pkg-config files. Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* dev-lang/dmd: add 2.106.0Horodniceanu Andrei2023-12-031-0/+1
| | | | Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* dlang.eclass: explicitly support EAPI 6, 7 and 8Horodniceanu Andrei2023-11-171-4/+6
| | | | Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* dmd.eclass: support EAPI 7 and 8Horodniceanu Andrei2023-11-171-8/+11
| | | | Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* dlang.eclass: move to gdc-SLOT like USE flagsHorodniceanu Andrei2023-10-292-24/+15
| | | | | | | | | | Since gcc will keep ABI compatibility on a given stabilized branch, it is enough to depend only on a gcc branch (slot), rather than a full version. This simplifies gdc USE flags a lot and maintaining them becomes easier. Suggested-by: Arsen Arsenović <arsen@gentoo.org> Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* dev-lang/ldc2: add 1.35.0Horodniceanu Andrei2023-10-221-0/+1
| | | | | | | | | - Update to EAPI 8 - drop dev-util/ninja DEPEND since it is handled by cmake.eclass - move app-eselect/eselect-dlang to IDEPEND - add github upstream metadata Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* dev-lang/ldc2: add 1.33.0Horodniceanu Andrei2023-10-121-0/+1
| | | | Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* dev-lang/ldc2: add 1.32.2Horodniceanu Andrei2023-10-121-0/+1
| | | | Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* dev-lang/ldc2: add 1.31.0Horodniceanu Andrei2023-10-121-0/+1
| | | | Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* dev-lang/ldc2: add 1.34.0Horodniceanu Andrei2023-10-071-0/+1
| | | | Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* dev-lang/dmd: add 2.105.2Horodniceanu Andrei2023-10-031-0/+1
| | | | Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* dev-lang/dmd: add 2.104.2Horodniceanu Andrei2023-10-021-0/+1
| | | | Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* dev-lang/dmd: add 2.103.1Horodniceanu Andrei2023-10-021-0/+1
| | | | Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* dev-lang/dmd: add 2.102.2Horodniceanu Andrei2023-10-011-0/+1
| | | | Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>
* dev-lang/dmd: add 2.101.2Horodniceanu Andrei2023-10-011-0/+1
| | | | Signed-off-by: Horodniceanu Andrei <a.horodniceanu@proton.me>