commit:     1f973ddfe636364bfebd455a53434673af101030
Author:     Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Wed Jan  3 07:09:03 2024 +0000
Commit:     Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Wed Jan  3 19:38:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=1f973ddf

dev-util/dub: add 1.35.1

Signed-off-by: Horodniceanu Andrei <a.horodniceanu <AT> proton.me>

 dev-util/dub/Manifest          |  1 +
 dev-util/dub/dub-1.35.1.ebuild | 46 ++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)

diff --git a/dev-util/dub/Manifest b/dev-util/dub/Manifest
index 2a5aed3..9a9d96c 100644
--- a/dev-util/dub/Manifest
+++ b/dev-util/dub/Manifest
@@ -1 +1,2 @@
 DIST dub-1.33.0.tar.gz 1488522 BLAKE2B 
f3171c4c85dca2bdae133c1f9f8f4ef79726a882ace9242ee825716c2f38ade16171eb1f0395856117d2b7ed592dd19e8e223ddff78ba900716832b346162f7e
 SHA512 
027c77ac6179cb0cf26618a04604c15bbe4ae668901b54a0029b63ce4585cd1017c463cd9b6bc58f2eabafab85fb58935feb2866714e69d281d1d5cbe0a3f806
+DIST dub-1.35.1.tar.gz 1494965 BLAKE2B 
400e210584660f7ac67732006ca6d88156adbbf2bf221aa244e317bf7c2772a6a01d9e141252fbf0cfde4c07302ee533593f3a2f418f9e120edc7359a83180cf
 SHA512 
a371a7ec7003a4a4fb642a3567fce0685c99f4940a02de94d026bdc6fe4e84512b16e4bb57673da4d3b8e25177cc3df329da41862086cecc7b98aec1ebf9e4e7

diff --git a/dev-util/dub/dub-1.35.1.ebuild b/dev-util/dub/dub-1.35.1.ebuild
new file mode 100644
index 0000000..ac524f5
--- /dev/null
+++ b/dev-util/dub/dub-1.35.1.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Package and build management system for D"
+HOMEPAGE="https://code.dlang.org/";
+LICENSE="MIT"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug"
+
+GITHUB_URI="https://codeload.github.com/dlang";
+SRC_URI="${GITHUB_URI}/${PN}/tar.gz/v${PV} -> ${PN}-${PV}.tar.gz"
+
+# Upstream recommends the latest version available
+DLANG_VERSION_RANGE="2.100-2.106"
+DLANG_PACKAGE_TYPE="single"
+
+inherit dlang
+
+d_src_compile() {
+       local imports=source versions="DubApplication DubUseCurl"
+       dlang_compile_bin bin/dub $(<build-files.txt)
+
+       ## Currently broken with gdc
+       # Generate man pages
+       #bin/dub scripts/man/gen_man.d || die "Could not generate man pages."
+}
+
+d_src_test() {
+       echo "Test phase disabled due to multiple problems."
+       #DUB="${S}/bin/dub" test/run-unittest.sh || die "Test phase failed"
+}
+
+d_src_install() {
+       dobin bin/dub
+       dodoc README.md
+
+       ## Currently broken with gdc
+       # All the files in the directory below, with the exception of gen_man.d 
and README, are man pages.
+       # To keep the ebuild simple, we will just glob on the files that end in 
.1 since there are currently
+       # no man pages in a different section.
+       #doman scripts/man/*.1
+}

Reply via email to