public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dcd/
@ 2020-08-15 18:01 Marco Leise
  0 siblings, 0 replies; 10+ messages in thread
From: Marco Leise @ 2020-08-15 18:01 UTC (permalink / raw
  To: gentoo-commits

commit:     d6206be2635d981e916d90f27e0b94b689eccb71
Author:     Marco Leise <marco.leise <AT> gmx <DOT> de>
AuthorDate: Sat Aug 15 16:31:45 2020 +0000
Commit:     Marco Leise <marco.leise <AT> gmx <DOT> de>
CommitDate: Sat Aug 15 16:55:23 2020 +0000
URL:        https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=d6206be2

dcd-0.13.1

Signed-off-by: Marco Leise <marco.leise <AT> gmx.de>

 dev-util/dcd/Manifest          |   5 ++
 dev-util/dcd/dcd-0.13.1.ebuild | 102 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 107 insertions(+)

diff --git a/dev-util/dcd/Manifest b/dev-util/dcd/Manifest
index c11a1a4..2c0f9e0 100644
--- a/dev-util/dcd/Manifest
+++ b/dev-util/dcd/Manifest
@@ -1,6 +1,11 @@
 DIST DCD-0.12.0.tar.gz 135294 BLAKE2B 87ba696325f205435004dd9bcfe036108e0cf35a1086cd30b7eb045a34e00f432dcab64ca019618883edfe3c6f277893f4b810b1ab72efa129606c3d978f69df SHA512 caadc5d497d6a209fda23523164247c1b921cebbe641fb6b5cedcecd20075d9283407f132886a369b15286c327e6a9e6015f290c31283e2a49a0e676b4cf82a9
+DIST DCD-0.13.1.tar.gz 136095 BLAKE2B ae0ee1acec1201d724feb178b58483651cf5498b7c9aa66036afe153972a9e889f400d7d86612d021faa576d64587892f6a2a068b9a8e4ebe241414c727d7016 SHA512 c52540b4ba02c7bca77beca74ae482cd0b046fe7e16498e30600a1ca03f997a365eacb7450a1c13ae4ab3c9c8bfe6c65a8aa899697755f4596804ff636a86784
 DIST containers-a978c3cda3f6ec3ba7449ec5c08dd5cd4dd79c6e.tar.gz 54657 BLAKE2B 67d496d6c56ee4bd1b5a9febe2251183d1e8db4e0f2b60e7529b0d5b9540331f6376ade38ccc698658872f650b6f2f8da2cc6df34b4bae49ad85565af4731b81 SHA512 39b6bd03ca3b4013ff4e340e980d85b05db00d227a43c225ef60871b83d18df5af79acccb3bdf0182fd974b12b483bab23fb28328d84302dd590eeb82992f0ed
+DIST containers-f4e79375539554b3793adf1c557361a64a073524.tar.gz 55265 BLAKE2B 208ba1baf12a6f690861bc2798c0b94f46f8155509832613f4d2308826c14ee951a7bb3e45bcea852e4747308c267bb1d37cf5383ecea80ebf2dabf5ca017b51 SHA512 d1779a060b3c846ad70942b5c7f8d05733d58964a4585913a3515d8dfe2dcc811a57af1d7bdb6e3606ccce1ba637f9f029de07213fddea00e2305c9d75293be1
 DIST dsymbol-f4a481cdc23b58ce544c2e91a39d5c0d406b67ac.tar.gz 31621 BLAKE2B a0ad6d5e9392ca239a0aa67cbcbc3210eff1b33d7a2d82d8df300635ab76bdd9a607ab47be2af0b5b812839814c529ea1bab2e8c2a9ae6bd2ccfc8386fc7b623 SHA512 38a74593a2ded9360b42d87ae47e343475dfcde6de67d14ca76814361166210745c0035b6ff6f4ca46f62fd09b569eb0de02b0c8e5b7db486c3b89db7f4483f9
+DIST dsymbol-f9a3d302527a9e50140991562648a147b6f5a78e.tar.gz 34796 BLAKE2B c9fb476a348b030d7c57e43b0e21fb8db255ba4b350f7bde6315750ed5888eef9ce32ec68428f55e321bf6e9f167433ce3279185ff0ce0b899fbf5257b4d40c5 SHA512 2133f1c8dc966920496b7851f9ae094f10170117d1d9961f96c5382df126c3f72a8eb678dbc106bac5f3b4c1f97848428bf9004656c57d1c1c5f2697b7d2a4da
+DIST libdparse-1393ee4d0c8e50011e641e06d64c429841fb3c2b.tar.gz 137198 BLAKE2B e2d4122f63847fe9c0aa7591f5d5cfb9b8708c02c45b02b24fbb488f17a9dc0986ab0525a573e6e4e43daa3a1b8880edc93e0b6061fd5486a39e8fd45f516dd4 SHA512 8339e339d667f7fbd524f12c89a824f95a2151ce126fae33bbf940f76dcc460d42c0c412fa169867eaa056dabb1ef2aaa89b95b47219294edfc166aafa48c89c
 DIST libdparse-5270739bcd1962418784c7760773e24d28b6009b.tar.gz 123594 BLAKE2B 879a21435ba622974a2c6d1bf7db7deb6fbaff07838325c6a7d0958272066b12b3fa6f96274126b6380a0da675d172ff07b1e0907ac6d3184d5842c86091717f SHA512 90ee5887b89ef1597a618761d6a974ad947946b5e7eaf56df883ab58a9d983279cbedc5ccfa01446576c3e74e4d4c8ac467585bb1b96ad7059ddf78dfc4557ff
 DIST msgpack-d-19d9245e315a85763754ded6912c2375c9226e04.tar.gz 143902 BLAKE2B be7f122a85af0e6313a9590496f6fa1a910ac1f092c378c050efb2ee54e39caf2a8b6200297fcb251b16b27caefd4be78cd16a8542bfa8875fbaca6472c9b6b5 SHA512 3f391c5f1b6c04bfcde96c97d2325d946df3bbeeac752bcca267d2c737f8752342dc415517e61691729787f766384edc796b82fac23b55191b4f84a50f931777
+DIST msgpack-d-480f3bf9ee80ccf6695ed900cfcc1850ba8da991.tar.gz 143848 BLAKE2B 44ac6f1efbbdb455af694cc476524535bebe993777a8c47d93a7cff21d825c2b8ce4caaf0d9f072f1e37869a9e50821abbd60e23a38546e0522047809cd0695a SHA512 76f7049c9f9f4128b9e9691e224c2ff5d8ee5400bf0796cc362386f0bc6f2359bb1694606923aec21eab539f65b93b828c2e018dee22358b91713365dd443e4d
 DIST stdx-allocator-d6e6ce4a838e0dad43ef13f050f96627339cdccd.tar.gz 103648 BLAKE2B c08925df810761bb4825d6058375dcc5415f4838403b3668aeff5c1be93c7d04b49c1994da27aa498cd0f4abd1ff923e8d906ae53c922f94bc63dac334b7f138 SHA512 3a41f95505e92d79a6b966d21d96fe5b5bb2b2f3762b09998b27334684d815a82a3e705935faa1b543a93ffb274c67b9110b2b1b7364f7d405bd65d05b819271

diff --git a/dev-util/dcd/dcd-0.13.1.ebuild b/dev-util/dcd/dcd-0.13.1.ebuild
new file mode 100644
index 0000000..1f9f451
--- /dev/null
+++ b/dev-util/dcd/dcd-0.13.1.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Auto-complete program for the D programming language"
+HOMEPAGE="https://github.com/dlang-community/DCD"
+LICENSE="GPL-3"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="systemd"
+
+CONTAINERS="f4e79375539554b3793adf1c557361a64a073524"
+DSYMBOL="f9a3d302527a9e50140991562648a147b6f5a78e"
+LIBDPARSE="1393ee4d0c8e50011e641e06d64c429841fb3c2b"
+MSGPACK="480f3bf9ee80ccf6695ed900cfcc1850ba8da991"
+ALLOCATOR="d6e6ce4a838e0dad43ef13f050f96627339cdccd"
+SRC_URI="
+	https://github.com/dlang-community/DCD/archive/v${PV}.tar.gz -> DCD-${PV}.tar.gz
+	https://github.com/economicmodeling/containers/archive/${CONTAINERS}.tar.gz -> containers-${CONTAINERS}.tar.gz
+	https://github.com/dlang-community/dsymbol/archive/${DSYMBOL}.tar.gz -> dsymbol-${DSYMBOL}.tar.gz
+	https://github.com/dlang-community/libdparse/archive/${LIBDPARSE}.tar.gz -> libdparse-${LIBDPARSE}.tar.gz
+	https://github.com/dlang-community/stdx-allocator/archive/${ALLOCATOR}.tar.gz -> stdx-allocator-${ALLOCATOR}.tar.gz
+	https://github.com/msgpack/msgpack-d/archive/${MSGPACK}.tar.gz -> msgpack-d-${MSGPACK}.tar.gz
+	"
+S="${WORKDIR}/DCD-${PV}"
+
+DLANG_VERSION_RANGE="2.082-"
+DLANG_PACKAGE_TYPE="single"
+
+inherit dlang systemd bash-completion-r1
+
+src_prepare() {
+	# Default ebuild unpack function places archives side-by-side ...
+	mv -T ../stdx-allocator-${ALLOCATOR} stdx-allocator/source || die
+	mv -T ../containers-${CONTAINERS}    containers            || die
+	mv -T ../dsymbol-${DSYMBOL}          dsymbol               || die
+	mv -T ../libdparse-${LIBDPARSE}      libdparse             || die
+	mv -T ../msgpack-d-${MSGPACK}        msgpack-d             || die
+	# Stop makefile from executing git to write an unused githash.txt
+	echo "v${PV}" > githash.txt || die "Could not generate githash"
+	touch githash || die "Could not generate githash"
+	# Apply patches
+	dlang_src_prepare
+}
+
+d_src_compile() {
+	# Build client & server with the requested Dlang compiler
+	local flags="$DCFLAGS $LDFLAGS -Icontainers/src -Idsymbol/src -Ilibdparse/src -Imsgpack-d/src -Isrc -J."
+	case "$DLANG_VENDOR" in
+	DigitalMars)
+		emake \
+			DMD="$DC" \
+			DMD_CLIENT_FLAGS="$flags -ofbin/dcd-client" \
+			DMD_SERVER_FLAGS="$flags -ofbin/dcd-server" \
+			dmd
+		;;
+	GNU)
+		emake \
+			GDC="$DC" \
+			GDC_CLIENT_FLAGS="$flags -obin/dcd-client" \
+			GDC_SERVER_FLAGS="$flags -obin/dcd-server" \
+			gdc
+		;;
+	LDC)
+		mkdir -p bin || die "Could not create 'bin' output directory."
+		emake \
+			LDC="$DC" \
+			LDC_CLIENT_FLAGS="$flags -g -of=bin/dcd-client" \
+			LDC_SERVER_FLAGS="$flags" \
+			ldc
+		;;
+	*)
+		die "Unsupported compiler vendor: $DLANG_VENDOR"
+		;;
+	esac
+	# Write system include paths of host compiler into dcd.conf
+	dlang_system_imports > dcd.conf
+}
+
+d_src_test() {
+	# The tests don't work too well in a sandbox, e.g. multiple permission denied errors.
+	cd tests
+	#./run_tests.sh || die "Tests failed"
+}
+
+d_src_install() {
+	dobin bin/dcd-server
+	dobin bin/dcd-client
+	use systemd && systemd_douserunit "${FILESDIR}"/dcd-server.service
+	dobashcomp bash-completion/completions/dcd-server
+	dobashcomp bash-completion/completions/dcd-client
+	insinto /etc
+	doins dcd.conf
+	dodoc README.md
+	doman man1/dcd-client.1 man1/dcd-server.1
+}
+
+pkg_postinst() {
+	use systemd && elog "A systemd user service for 'dcd-server' has been installed."
+}


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dcd/
@ 2021-07-07 15:41 Marco Leise
  0 siblings, 0 replies; 10+ messages in thread
From: Marco Leise @ 2021-07-07 15:41 UTC (permalink / raw
  To: gentoo-commits

commit:     afaa6fe9518bc9e88b9846990234c0362d8a77e9
Author:     Marco Leise <marco.leise <AT> gmx <DOT> de>
AuthorDate: Wed Jul  7 15:35:57 2021 +0000
Commit:     Marco Leise <marco.leise <AT> gmx <DOT> de>
CommitDate: Wed Jul  7 15:35:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=afaa6fe9

dcd-0.13.4

Signed-off-by: Marco Leise <marco.leise <AT> gmx.de>

 dev-util/dcd/Manifest          |   2 +
 dev-util/dcd/dcd-0.13.4.ebuild | 102 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 104 insertions(+)

diff --git a/dev-util/dcd/Manifest b/dev-util/dcd/Manifest
index c9f16c6..3a6d8c9 100644
--- a/dev-util/dcd/Manifest
+++ b/dev-util/dcd/Manifest
@@ -1,5 +1,7 @@
 DIST DCD-0.13.1.tar.gz 136095 BLAKE2B ae0ee1acec1201d724feb178b58483651cf5498b7c9aa66036afe153972a9e889f400d7d86612d021faa576d64587892f6a2a068b9a8e4ebe241414c727d7016 SHA512 c52540b4ba02c7bca77beca74ae482cd0b046fe7e16498e30600a1ca03f997a365eacb7450a1c13ae4ab3c9c8bfe6c65a8aa899697755f4596804ff636a86784
+DIST DCD-0.13.4.tar.gz 133944 BLAKE2B 6a6fe85e70810c29101feed0c7417bfbcb9240e8fac882cbd9ed57e6563b19cdfda3a9313e07b2f9948f5ba8d96121103090a8349880c4eff770388b3a4ec9c2 SHA512 5f3d77b7d898b4bfbcfce1b6333f6f96395f85193ae874d7b8c043e2964eeb6136cc8c4331544d5b730a2d611aa8766dc78b8a3315fe06aa855d019a6ea6321a
 DIST containers-f4e79375539554b3793adf1c557361a64a073524.tar.gz 55265 BLAKE2B 208ba1baf12a6f690861bc2798c0b94f46f8155509832613f4d2308826c14ee951a7bb3e45bcea852e4747308c267bb1d37cf5383ecea80ebf2dabf5ca017b51 SHA512 d1779a060b3c846ad70942b5c7f8d05733d58964a4585913a3515d8dfe2dcc811a57af1d7bdb6e3606ccce1ba637f9f029de07213fddea00e2305c9d75293be1
+DIST containers-fc1625a5a0c253272b80addfb4107928495fd647.tar.gz 55220 BLAKE2B 67851802c64c2e22c40688e050e8ba3825d6152df0fed2130d3585b77264ddd0ff0444c199d95330116887d6711935b82cdba392e557acf22d353b094c4be8a4 SHA512 ff13091bd8ccd2fbfdb18284d81cf3789f208cc3e9f07f36cfb87122efb36b364c3201c695c9b0267705576561270a6f2a9ec91ce8776a7d683db4bf36ca328b
 DIST dsymbol-f9a3d302527a9e50140991562648a147b6f5a78e.tar.gz 34796 BLAKE2B c9fb476a348b030d7c57e43b0e21fb8db255ba4b350f7bde6315750ed5888eef9ce32ec68428f55e321bf6e9f167433ce3279185ff0ce0b899fbf5257b4d40c5 SHA512 2133f1c8dc966920496b7851f9ae094f10170117d1d9961f96c5382df126c3f72a8eb678dbc106bac5f3b4c1f97848428bf9004656c57d1c1c5f2697b7d2a4da
 DIST libdparse-1393ee4d0c8e50011e641e06d64c429841fb3c2b.tar.gz 137198 BLAKE2B e2d4122f63847fe9c0aa7591f5d5cfb9b8708c02c45b02b24fbb488f17a9dc0986ab0525a573e6e4e43daa3a1b8880edc93e0b6061fd5486a39e8fd45f516dd4 SHA512 8339e339d667f7fbd524f12c89a824f95a2151ce126fae33bbf940f76dcc460d42c0c412fa169867eaa056dabb1ef2aaa89b95b47219294edfc166aafa48c89c
 DIST msgpack-d-480f3bf9ee80ccf6695ed900cfcc1850ba8da991.tar.gz 143848 BLAKE2B 44ac6f1efbbdb455af694cc476524535bebe993777a8c47d93a7cff21d825c2b8ce4caaf0d9f072f1e37869a9e50821abbd60e23a38546e0522047809cd0695a SHA512 76f7049c9f9f4128b9e9691e224c2ff5d8ee5400bf0796cc362386f0bc6f2359bb1694606923aec21eab539f65b93b828c2e018dee22358b91713365dd443e4d

diff --git a/dev-util/dcd/dcd-0.13.4.ebuild b/dev-util/dcd/dcd-0.13.4.ebuild
new file mode 100644
index 0000000..96a5a2f
--- /dev/null
+++ b/dev-util/dcd/dcd-0.13.4.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Auto-complete program for the D programming language"
+HOMEPAGE="https://github.com/dlang-community/DCD"
+LICENSE="GPL-3"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="systemd"
+
+CONTAINERS="fc1625a5a0c253272b80addfb4107928495fd647"
+DSYMBOL="f9a3d302527a9e50140991562648a147b6f5a78e"
+LIBDPARSE="1393ee4d0c8e50011e641e06d64c429841fb3c2b"
+MSGPACK="480f3bf9ee80ccf6695ed900cfcc1850ba8da991"
+ALLOCATOR="d6e6ce4a838e0dad43ef13f050f96627339cdccd"
+SRC_URI="
+	https://github.com/dlang-community/DCD/archive/v${PV}.tar.gz -> DCD-${PV}.tar.gz
+	https://github.com/economicmodeling/containers/archive/${CONTAINERS}.tar.gz -> containers-${CONTAINERS}.tar.gz
+	https://github.com/dlang-community/dsymbol/archive/${DSYMBOL}.tar.gz -> dsymbol-${DSYMBOL}.tar.gz
+	https://github.com/dlang-community/libdparse/archive/${LIBDPARSE}.tar.gz -> libdparse-${LIBDPARSE}.tar.gz
+	https://github.com/dlang-community/stdx-allocator/archive/${ALLOCATOR}.tar.gz -> stdx-allocator-${ALLOCATOR}.tar.gz
+	https://github.com/msgpack/msgpack-d/archive/${MSGPACK}.tar.gz -> msgpack-d-${MSGPACK}.tar.gz
+	"
+S="${WORKDIR}/DCD-${PV}"
+
+DLANG_VERSION_RANGE="2.082-"
+DLANG_PACKAGE_TYPE="single"
+
+inherit dlang systemd bash-completion-r1
+
+src_prepare() {
+	# Default ebuild unpack function places archives side-by-side ...
+	mv -T ../stdx-allocator-${ALLOCATOR} stdx-allocator/source || die
+	mv -T ../containers-${CONTAINERS}    containers            || die
+	mv -T ../dsymbol-${DSYMBOL}          dsymbol               || die
+	mv -T ../libdparse-${LIBDPARSE}      libdparse             || die
+	mv -T ../msgpack-d-${MSGPACK}        msgpack-d             || die
+	# Stop makefile from executing git to write an unused githash.txt
+	echo "v${PV}" > githash.txt || die "Could not generate githash"
+	touch githash || die "Could not generate githash"
+	# Apply patches
+	dlang_src_prepare
+}
+
+d_src_compile() {
+	# Build client & server with the requested Dlang compiler
+	local flags="$DCFLAGS $LDFLAGS -Icontainers/src -Idsymbol/src -Ilibdparse/src -Imsgpack-d/src -Isrc -J."
+	case "$DLANG_VENDOR" in
+	DigitalMars)
+		emake \
+			DMD="$DC" \
+			DMD_CLIENT_FLAGS="$flags -ofbin/dcd-client" \
+			DMD_SERVER_FLAGS="$flags -ofbin/dcd-server" \
+			dmd
+		;;
+	GNU)
+		emake \
+			GDC="$DC" \
+			GDC_CLIENT_FLAGS="$flags -obin/dcd-client" \
+			GDC_SERVER_FLAGS="$flags -obin/dcd-server" \
+			gdc
+		;;
+	LDC)
+		mkdir -p bin || die "Could not create 'bin' output directory."
+		emake \
+			LDC="$DC" \
+			LDC_CLIENT_FLAGS="$flags -g -of=bin/dcd-client" \
+			LDC_SERVER_FLAGS="$flags" \
+			ldc
+		;;
+	*)
+		die "Unsupported compiler vendor: $DLANG_VENDOR"
+		;;
+	esac
+	# Write system include paths of host compiler into dcd.conf
+	dlang_system_imports > dcd.conf
+}
+
+d_src_test() {
+	# The tests don't work too well in a sandbox, e.g. multiple permission denied errors.
+	cd tests
+	#./run_tests.sh || die "Tests failed"
+}
+
+d_src_install() {
+	dobin bin/dcd-server
+	dobin bin/dcd-client
+	use systemd && systemd_douserunit "${FILESDIR}"/dcd-server.service
+	dobashcomp bash-completion/completions/dcd-server
+	dobashcomp bash-completion/completions/dcd-client
+	insinto /etc
+	doins dcd.conf
+	dodoc README.md
+	doman man1/dcd-client.1 man1/dcd-server.1
+}
+
+pkg_postinst() {
+	use systemd && elog "A systemd user service for 'dcd-server' has been installed."
+}


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dcd/
@ 2023-11-26 13:43 Horodniceanu Andrei
  0 siblings, 0 replies; 10+ messages in thread
From: Horodniceanu Andrei @ 2023-11-26 13:43 UTC (permalink / raw
  To: gentoo-commits

commit:     779c0df59965560ed35f49d0c38cf1be949065a2
Author:     Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Sun Nov 26 13:40:48 2023 +0000
Commit:     Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Sun Nov 26 13:41:39 2023 +0000
URL:        https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=779c0df5

dev-util/dcd: add 0.15.2

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

 dev-util/dcd/Manifest          |   4 ++
 dev-util/dcd/dcd-0.15.2.ebuild | 104 +++++++++++++++++++++++++++++++++++++++++
 2 files changed, 108 insertions(+)

diff --git a/dev-util/dcd/Manifest b/dev-util/dcd/Manifest
index 412e722..61732ac 100644
--- a/dev-util/dcd/Manifest
+++ b/dev-util/dcd/Manifest
@@ -1,6 +1,10 @@
 DIST DCD-0.13.4.tar.gz 133944 BLAKE2B 6a6fe85e70810c29101feed0c7417bfbcb9240e8fac882cbd9ed57e6563b19cdfda3a9313e07b2f9948f5ba8d96121103090a8349880c4eff770388b3a4ec9c2 SHA512 5f3d77b7d898b4bfbcfce1b6333f6f96395f85193ae874d7b8c043e2964eeb6136cc8c4331544d5b730a2d611aa8766dc78b8a3315fe06aa855d019a6ea6321a
+DIST DCD-0.15.2.tar.gz 171345 BLAKE2B 1d85e2b00a201a3ba762fa0357269a3980eeac4db006cd6b82d4688b624af7ac4938e0cac7cf0d8bc37ac2d08cda2c4c1d5f44dc0451bd44427fef8e98282a8a SHA512 b18a886521843b0e9b91a5c457620337073c0221bfe924c289cd5808f4433ec91078e10e6d1b7ba2f35359b2fe0fed140ca81381246322be3a02ef4e7ffd11ba
+DIST containers-116a02872039efbd0289828cd5eeff6f60bdf539.tar.gz 55518 BLAKE2B 466c2452724b3d377ca2cec8793e27b8599e4388644ef7058de4e535d5f095f6e713e6aaf7e934f944b68726f9a96aed3f093100f993cfe4db1efd5dbd9e6cd4 SHA512 e98ecc56b7dac12c347b591f65b33fc213a183e22c455e6bd2727d9797922069db70143240d935d72c38738fc43b579ede33c4a6d8e7ac0e5194001d3b0d773f
 DIST containers-fc1625a5a0c253272b80addfb4107928495fd647.tar.gz 55220 BLAKE2B 67851802c64c2e22c40688e050e8ba3825d6152df0fed2130d3585b77264ddd0ff0444c199d95330116887d6711935b82cdba392e557acf22d353b094c4be8a4 SHA512 ff13091bd8ccd2fbfdb18284d81cf3789f208cc3e9f07f36cfb87122efb36b364c3201c695c9b0267705576561270a6f2a9ec91ce8776a7d683db4bf36ca328b
+DIST d-test-utils-206a2e6abd97b4462f3a320e4f2d23986fad3cff.tar.gz 3188 BLAKE2B 2b3b334a63595c5f3b85b3354b1d93035c727f494bcaf3a255db2aeb610aa00cd3639d0e08fb54b5ee2f41033173a7f5062ee30edf95c7279b87aeec32e8f39f SHA512 14e3743400957b0fec4c0799c59719957b19c4cb6cf7727f1901adc4acaa4b89309b84f47798e7af8fc066349662c720e2a0298acb8ed5e36c9a96df41e2d960
 DIST dsymbol-f9a3d302527a9e50140991562648a147b6f5a78e.tar.gz 34796 BLAKE2B c9fb476a348b030d7c57e43b0e21fb8db255ba4b350f7bde6315750ed5888eef9ce32ec68428f55e321bf6e9f167433ce3279185ff0ce0b899fbf5257b4d40c5 SHA512 2133f1c8dc966920496b7851f9ae094f10170117d1d9961f96c5382df126c3f72a8eb678dbc106bac5f3b4c1f97848428bf9004656c57d1c1c5f2697b7d2a4da
 DIST libdparse-1393ee4d0c8e50011e641e06d64c429841fb3c2b.tar.gz 137198 BLAKE2B e2d4122f63847fe9c0aa7591f5d5cfb9b8708c02c45b02b24fbb488f17a9dc0986ab0525a573e6e4e43daa3a1b8880edc93e0b6061fd5486a39e8fd45f516dd4 SHA512 8339e339d667f7fbd524f12c89a824f95a2151ce126fae33bbf940f76dcc460d42c0c412fa169867eaa056dabb1ef2aaa89b95b47219294edfc166aafa48c89c
+DIST libdparse-592ef39a73a58439afc75a3e6c13a0d87d0b847d.tar.gz 150314 BLAKE2B bff8c5bd7d5f8cf542eed17f3f85bbd44f71572023a0153b8de0e9341651b137e22f7c4162a2c31abbd6d4981fd49dc3dafc227ef566687711db8c85572e5423 SHA512 7648c891f65cef4c52ff13a633568a6b4ac224300fb74455335efa132108790d62c49fb31034cce65d49128277ac3fdd2033ee6e80077d73a0b18d3c17256b1f
 DIST msgpack-d-480f3bf9ee80ccf6695ed900cfcc1850ba8da991.tar.gz 143848 BLAKE2B 44ac6f1efbbdb455af694cc476524535bebe993777a8c47d93a7cff21d825c2b8ce4caaf0d9f072f1e37869a9e50821abbd60e23a38546e0522047809cd0695a SHA512 76f7049c9f9f4128b9e9691e224c2ff5d8ee5400bf0796cc362386f0bc6f2359bb1694606923aec21eab539f65b93b828c2e018dee22358b91713365dd443e4d
 DIST stdx-allocator-d6e6ce4a838e0dad43ef13f050f96627339cdccd.tar.gz 103648 BLAKE2B c08925df810761bb4825d6058375dcc5415f4838403b3668aeff5c1be93c7d04b49c1994da27aa498cd0f4abd1ff923e8d906ae53c922f94bc63dac334b7f138 SHA512 3a41f95505e92d79a6b966d21d96fe5b5bb2b2f3762b09998b27334684d815a82a3e705935faa1b543a93ffb274c67b9110b2b1b7364f7d405bd65d05b819271

diff --git a/dev-util/dcd/dcd-0.15.2.ebuild b/dev-util/dcd/dcd-0.15.2.ebuild
new file mode 100644
index 0000000..764505b
--- /dev/null
+++ b/dev-util/dcd/dcd-0.15.2.ebuild
@@ -0,0 +1,104 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Auto-complete program for the D programming language"
+HOMEPAGE="https://github.com/dlang-community/DCD"
+LICENSE="GPL-3"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="systemd"
+
+CONTAINERS="116a02872039efbd0289828cd5eeff6f60bdf539"
+DTESTUTILS="206a2e6abd97b4462f3a320e4f2d23986fad3cff"
+LIBDPARSE="592ef39a73a58439afc75a3e6c13a0d87d0b847d"
+MSGPACK="480f3bf9ee80ccf6695ed900cfcc1850ba8da991"
+SRC_URI="
+	https://github.com/dlang-community/DCD/archive/v${PV}.tar.gz -> DCD-${PV}.tar.gz
+	https://github.com/economicmodeling/containers/archive/${CONTAINERS}.tar.gz -> containers-${CONTAINERS}.tar.gz
+	https://github.com/dlang-community/d-test-utils/archive/${DTESTUTILS}.tar.gz -> d-test-utils-${DTESTUTILS}.tar.gz
+	https://github.com/dlang-community/libdparse/archive/${LIBDPARSE}.tar.gz -> libdparse-${LIBDPARSE}.tar.gz
+	https://github.com/msgpack/msgpack-d/archive/${MSGPACK}.tar.gz -> msgpack-d-${MSGPACK}.tar.gz
+	"
+S="${WORKDIR}/DCD-${PV}"
+
+DLANG_VERSION_RANGE="2.095-"
+DLANG_PACKAGE_TYPE="single"
+
+inherit dlang systemd bash-completion-r1
+
+src_prepare() {
+	# Default ebuild unpack function places archives side-by-side ...
+	mv -T ../containers-${CONTAINERS}    containers            || die
+	mv -T ../d-test-utils-${DTESTUTILS}  d-test-utils          || die
+	mv -T ../libdparse-${LIBDPARSE}      libdparse             || die
+	mv -T ../msgpack-d-${MSGPACK}        msgpack-d             || die
+	# Stop makefile from executing git to write an unused githash.txt
+	mkdir bin || die "Coult not create output directory"
+	echo "v${PV}" > bin/githash.txt || die "Could not generate githash"
+	touch githash || die "Could not generate githash"
+	# Apply patches
+	dlang_src_prepare
+}
+
+d_src_compile() {
+	# Don't let the makefile overwrite user flags.
+	# The downside is that we have to also pass the include dirs.
+	local flags="$DCFLAGS $LDFLAGS"
+	flags+=" -Icontainers/src -Idsymbol/src -Ilibdparse/src -Imsgpack-d/src -Isrc -Jbin"
+	# An uppercase name of the compiler. It can be GDC, LDC or DMD
+	local name
+	case "$DLANG_VENDOR" in
+		DigitalMars)
+			name=DMD
+			;;
+		GNU)
+			name=GDC
+			;;
+		LDC)
+			name=LDC
+			;;
+		*)
+			die "Unsupported compiler vendor: $DLANG_VENDOR"
+			;;
+	esac
+
+	# Build client & server with the requested Dlang compiler.
+	local mymakeargs=(
+		# The path to the correct compiler
+		"${name}=${DC}"
+		# The flags for the client and the server
+		"${name}_CLIENT_FLAGS=${flags} ${DLANG_OUTPUT_FLAG}bin/dcd-client"
+		"${name}_SERVER_FLAGS=${flags} ${DLANG_OUTPUT_FLAG}bin/dcd-server"
+		# The target to build, the lowercase version of the compiler name
+		${name,,}
+	)
+	emake "${mymakeargs[@]}"
+
+	# Write system include paths of host compiler into dcd.conf
+	dlang_system_imports > dcd.conf
+}
+
+d_src_test() {
+	# The tests don't work too well in a sandbox, e.g. multiple permission denied errors.
+	cd tests
+	#./run_tests.sh || die "Tests failed"
+}
+
+d_src_install() {
+	dobin bin/dcd-server
+	dobin bin/dcd-client
+	use systemd && systemd_douserunit "${FILESDIR}"/dcd-server.service
+	dobashcomp bash-completion/completions/dcd-server
+	dobashcomp bash-completion/completions/dcd-client
+	insinto /etc
+	doins dcd.conf
+	dodoc README.md
+	doman man1/dcd-client.1 man1/dcd-server.1
+}
+
+pkg_postinst() {
+	use systemd && elog "A systemd user service for 'dcd-server' has been installed."
+}


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dcd/
@ 2024-02-18 22:49 Horodniceanu Andrei
  0 siblings, 0 replies; 10+ messages in thread
From: Horodniceanu Andrei @ 2024-02-18 22:49 UTC (permalink / raw
  To: gentoo-commits

commit:     d6374cff722eafae1ea6b2839868acf262372731
Author:     Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Sun Feb  4 15:08:53 2024 +0000
Commit:     Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Sun Feb  4 15:11:04 2024 +0000
URL:        https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=d6374cff

dev-util/dcd: stabilize 0.15.2 for amd64, x86

Additionally add github upstream to metadata.xml.

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

 dev-util/dcd/dcd-0.15.2.ebuild | 6 +++---
 dev-util/dcd/metadata.xml      | 6 +++++-
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/dev-util/dcd/dcd-0.15.2.ebuild b/dev-util/dcd/dcd-0.15.2.ebuild
index 764505b..c7c8c61 100644
--- a/dev-util/dcd/dcd-0.15.2.ebuild
+++ b/dev-util/dcd/dcd-0.15.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -8,7 +8,7 @@ HOMEPAGE="https://github.com/dlang-community/DCD"
 LICENSE="GPL-3"
 
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="systemd"
 
 CONTAINERS="116a02872039efbd0289828cd5eeff6f60bdf539"
@@ -24,7 +24,7 @@ SRC_URI="
 	"
 S="${WORKDIR}/DCD-${PV}"
 
-DLANG_VERSION_RANGE="2.095-"
+DLANG_VERSION_RANGE="2.095-2.106"
 DLANG_PACKAGE_TYPE="single"
 
 inherit dlang systemd bash-completion-r1

diff --git a/dev-util/dcd/metadata.xml b/dev-util/dcd/metadata.xml
index 920817d..1abb09a 100644
--- a/dev-util/dcd/metadata.xml
+++ b/dev-util/dcd/metadata.xml
@@ -1,3 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata/>
\ No newline at end of file
+<pkgmetadata>
+  <upstream>
+    <remote-id type="github">dlang-community/DCD</remote-id>
+  </upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dcd/
@ 2024-02-18 22:49 Horodniceanu Andrei
  0 siblings, 0 replies; 10+ messages in thread
From: Horodniceanu Andrei @ 2024-02-18 22:49 UTC (permalink / raw
  To: gentoo-commits

commit:     04bbd43195ef7c61848c3ada6524edb29d356a7d
Author:     Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Sun Feb  4 15:54:26 2024 +0000
Commit:     Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Sun Feb  4 15:54:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=04bbd431

dev-util/dcd: drop 0.13.4

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

 dev-util/dcd/Manifest          |   5 --
 dev-util/dcd/dcd-0.13.4.ebuild | 102 -----------------------------------------
 2 files changed, 107 deletions(-)

diff --git a/dev-util/dcd/Manifest b/dev-util/dcd/Manifest
index 61732ac..4db4ea3 100644
--- a/dev-util/dcd/Manifest
+++ b/dev-util/dcd/Manifest
@@ -1,10 +1,5 @@
-DIST DCD-0.13.4.tar.gz 133944 BLAKE2B 6a6fe85e70810c29101feed0c7417bfbcb9240e8fac882cbd9ed57e6563b19cdfda3a9313e07b2f9948f5ba8d96121103090a8349880c4eff770388b3a4ec9c2 SHA512 5f3d77b7d898b4bfbcfce1b6333f6f96395f85193ae874d7b8c043e2964eeb6136cc8c4331544d5b730a2d611aa8766dc78b8a3315fe06aa855d019a6ea6321a
 DIST DCD-0.15.2.tar.gz 171345 BLAKE2B 1d85e2b00a201a3ba762fa0357269a3980eeac4db006cd6b82d4688b624af7ac4938e0cac7cf0d8bc37ac2d08cda2c4c1d5f44dc0451bd44427fef8e98282a8a SHA512 b18a886521843b0e9b91a5c457620337073c0221bfe924c289cd5808f4433ec91078e10e6d1b7ba2f35359b2fe0fed140ca81381246322be3a02ef4e7ffd11ba
 DIST containers-116a02872039efbd0289828cd5eeff6f60bdf539.tar.gz 55518 BLAKE2B 466c2452724b3d377ca2cec8793e27b8599e4388644ef7058de4e535d5f095f6e713e6aaf7e934f944b68726f9a96aed3f093100f993cfe4db1efd5dbd9e6cd4 SHA512 e98ecc56b7dac12c347b591f65b33fc213a183e22c455e6bd2727d9797922069db70143240d935d72c38738fc43b579ede33c4a6d8e7ac0e5194001d3b0d773f
-DIST containers-fc1625a5a0c253272b80addfb4107928495fd647.tar.gz 55220 BLAKE2B 67851802c64c2e22c40688e050e8ba3825d6152df0fed2130d3585b77264ddd0ff0444c199d95330116887d6711935b82cdba392e557acf22d353b094c4be8a4 SHA512 ff13091bd8ccd2fbfdb18284d81cf3789f208cc3e9f07f36cfb87122efb36b364c3201c695c9b0267705576561270a6f2a9ec91ce8776a7d683db4bf36ca328b
 DIST d-test-utils-206a2e6abd97b4462f3a320e4f2d23986fad3cff.tar.gz 3188 BLAKE2B 2b3b334a63595c5f3b85b3354b1d93035c727f494bcaf3a255db2aeb610aa00cd3639d0e08fb54b5ee2f41033173a7f5062ee30edf95c7279b87aeec32e8f39f SHA512 14e3743400957b0fec4c0799c59719957b19c4cb6cf7727f1901adc4acaa4b89309b84f47798e7af8fc066349662c720e2a0298acb8ed5e36c9a96df41e2d960
-DIST dsymbol-f9a3d302527a9e50140991562648a147b6f5a78e.tar.gz 34796 BLAKE2B c9fb476a348b030d7c57e43b0e21fb8db255ba4b350f7bde6315750ed5888eef9ce32ec68428f55e321bf6e9f167433ce3279185ff0ce0b899fbf5257b4d40c5 SHA512 2133f1c8dc966920496b7851f9ae094f10170117d1d9961f96c5382df126c3f72a8eb678dbc106bac5f3b4c1f97848428bf9004656c57d1c1c5f2697b7d2a4da
-DIST libdparse-1393ee4d0c8e50011e641e06d64c429841fb3c2b.tar.gz 137198 BLAKE2B e2d4122f63847fe9c0aa7591f5d5cfb9b8708c02c45b02b24fbb488f17a9dc0986ab0525a573e6e4e43daa3a1b8880edc93e0b6061fd5486a39e8fd45f516dd4 SHA512 8339e339d667f7fbd524f12c89a824f95a2151ce126fae33bbf940f76dcc460d42c0c412fa169867eaa056dabb1ef2aaa89b95b47219294edfc166aafa48c89c
 DIST libdparse-592ef39a73a58439afc75a3e6c13a0d87d0b847d.tar.gz 150314 BLAKE2B bff8c5bd7d5f8cf542eed17f3f85bbd44f71572023a0153b8de0e9341651b137e22f7c4162a2c31abbd6d4981fd49dc3dafc227ef566687711db8c85572e5423 SHA512 7648c891f65cef4c52ff13a633568a6b4ac224300fb74455335efa132108790d62c49fb31034cce65d49128277ac3fdd2033ee6e80077d73a0b18d3c17256b1f
 DIST msgpack-d-480f3bf9ee80ccf6695ed900cfcc1850ba8da991.tar.gz 143848 BLAKE2B 44ac6f1efbbdb455af694cc476524535bebe993777a8c47d93a7cff21d825c2b8ce4caaf0d9f072f1e37869a9e50821abbd60e23a38546e0522047809cd0695a SHA512 76f7049c9f9f4128b9e9691e224c2ff5d8ee5400bf0796cc362386f0bc6f2359bb1694606923aec21eab539f65b93b828c2e018dee22358b91713365dd443e4d
-DIST stdx-allocator-d6e6ce4a838e0dad43ef13f050f96627339cdccd.tar.gz 103648 BLAKE2B c08925df810761bb4825d6058375dcc5415f4838403b3668aeff5c1be93c7d04b49c1994da27aa498cd0f4abd1ff923e8d906ae53c922f94bc63dac334b7f138 SHA512 3a41f95505e92d79a6b966d21d96fe5b5bb2b2f3762b09998b27334684d815a82a3e705935faa1b543a93ffb274c67b9110b2b1b7364f7d405bd65d05b819271

diff --git a/dev-util/dcd/dcd-0.13.4.ebuild b/dev-util/dcd/dcd-0.13.4.ebuild
deleted file mode 100644
index ae78f42..0000000
--- a/dev-util/dcd/dcd-0.13.4.ebuild
+++ /dev/null
@@ -1,102 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Auto-complete program for the D programming language"
-HOMEPAGE="https://github.com/dlang-community/DCD"
-LICENSE="GPL-3"
-
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="systemd"
-
-CONTAINERS="fc1625a5a0c253272b80addfb4107928495fd647"
-DSYMBOL="f9a3d302527a9e50140991562648a147b6f5a78e"
-LIBDPARSE="1393ee4d0c8e50011e641e06d64c429841fb3c2b"
-MSGPACK="480f3bf9ee80ccf6695ed900cfcc1850ba8da991"
-ALLOCATOR="d6e6ce4a838e0dad43ef13f050f96627339cdccd"
-SRC_URI="
-	https://github.com/dlang-community/DCD/archive/v${PV}.tar.gz -> DCD-${PV}.tar.gz
-	https://github.com/economicmodeling/containers/archive/${CONTAINERS}.tar.gz -> containers-${CONTAINERS}.tar.gz
-	https://github.com/dlang-community/dsymbol/archive/${DSYMBOL}.tar.gz -> dsymbol-${DSYMBOL}.tar.gz
-	https://github.com/dlang-community/libdparse/archive/${LIBDPARSE}.tar.gz -> libdparse-${LIBDPARSE}.tar.gz
-	https://github.com/dlang-community/stdx-allocator/archive/${ALLOCATOR}.tar.gz -> stdx-allocator-${ALLOCATOR}.tar.gz
-	https://github.com/msgpack/msgpack-d/archive/${MSGPACK}.tar.gz -> msgpack-d-${MSGPACK}.tar.gz
-	"
-S="${WORKDIR}/DCD-${PV}"
-
-DLANG_VERSION_RANGE="2.082-2.100"
-DLANG_PACKAGE_TYPE="single"
-
-inherit dlang systemd bash-completion-r1
-
-src_prepare() {
-	# Default ebuild unpack function places archives side-by-side ...
-	mv -T ../stdx-allocator-${ALLOCATOR} stdx-allocator/source || die
-	mv -T ../containers-${CONTAINERS}    containers            || die
-	mv -T ../dsymbol-${DSYMBOL}          dsymbol               || die
-	mv -T ../libdparse-${LIBDPARSE}      libdparse             || die
-	mv -T ../msgpack-d-${MSGPACK}        msgpack-d             || die
-	# Stop makefile from executing git to write an unused githash.txt
-	echo "v${PV}" > githash.txt || die "Could not generate githash"
-	touch githash || die "Could not generate githash"
-	# Apply patches
-	dlang_src_prepare
-}
-
-d_src_compile() {
-	# Build client & server with the requested Dlang compiler
-	local flags="$DCFLAGS $LDFLAGS -Icontainers/src -Idsymbol/src -Ilibdparse/src -Imsgpack-d/src -Isrc -J."
-	case "$DLANG_VENDOR" in
-	DigitalMars)
-		emake \
-			DMD="$DC" \
-			DMD_CLIENT_FLAGS="$flags -ofbin/dcd-client" \
-			DMD_SERVER_FLAGS="$flags -ofbin/dcd-server" \
-			dmd
-		;;
-	GNU)
-		emake \
-			GDC="$DC" \
-			GDC_CLIENT_FLAGS="$flags -obin/dcd-client" \
-			GDC_SERVER_FLAGS="$flags -obin/dcd-server" \
-			gdc
-		;;
-	LDC)
-		mkdir -p bin || die "Could not create 'bin' output directory."
-		emake \
-			LDC="$DC" \
-			LDC_CLIENT_FLAGS="$flags -g -of=bin/dcd-client" \
-			LDC_SERVER_FLAGS="$flags" \
-			ldc
-		;;
-	*)
-		die "Unsupported compiler vendor: $DLANG_VENDOR"
-		;;
-	esac
-	# Write system include paths of host compiler into dcd.conf
-	dlang_system_imports > dcd.conf
-}
-
-d_src_test() {
-	# The tests don't work too well in a sandbox, e.g. multiple permission denied errors.
-	cd tests
-	#./run_tests.sh || die "Tests failed"
-}
-
-d_src_install() {
-	dobin bin/dcd-server
-	dobin bin/dcd-client
-	use systemd && systemd_douserunit "${FILESDIR}"/dcd-server.service
-	dobashcomp bash-completion/completions/dcd-server
-	dobashcomp bash-completion/completions/dcd-client
-	insinto /etc
-	doins dcd.conf
-	dodoc README.md
-	doman man1/dcd-client.1 man1/dcd-server.1
-}
-
-pkg_postinst() {
-	use systemd && elog "A systemd user service for 'dcd-server' has been installed."
-}


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dcd/
@ 2024-04-13 23:04 Horodniceanu Andrei
  0 siblings, 0 replies; 10+ messages in thread
From: Horodniceanu Andrei @ 2024-04-13 23:04 UTC (permalink / raw
  To: gentoo-commits

commit:     de4310f69a4a39a67e568b91facd959fc3588418
Author:     Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Sat Mar  9 14:52:38 2024 +0000
Commit:     Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Sat Apr 13 22:47:31 2024 +0000
URL:        https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=de4310f6

dev-util/dcd: port to dlang-single

Additional changes:
- update EAPI 7 -> 8
- enable tests

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

 dev-util/dcd/dcd-0.15.2-r1.ebuild | 95 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 95 insertions(+)

diff --git a/dev-util/dcd/dcd-0.15.2-r1.ebuild b/dev-util/dcd/dcd-0.15.2-r1.ebuild
new file mode 100644
index 0000000..bb66e8d
--- /dev/null
+++ b/dev-util/dcd/dcd-0.15.2-r1.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Auto-complete program for the D programming language"
+HOMEPAGE="https://github.com/dlang-community/DCD"
+LICENSE="GPL-3"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="systemd"
+
+CONTAINERS="116a02872039efbd0289828cd5eeff6f60bdf539"
+DTESTUTILS="206a2e6abd97b4462f3a320e4f2d23986fad3cff"
+LIBDPARSE="592ef39a73a58439afc75a3e6c13a0d87d0b847d"
+MSGPACK="480f3bf9ee80ccf6695ed900cfcc1850ba8da991"
+SRC_URI="
+	https://github.com/dlang-community/DCD/archive/v${PV}.tar.gz -> DCD-${PV}.tar.gz
+	https://github.com/economicmodeling/containers/archive/${CONTAINERS}.tar.gz -> containers-${CONTAINERS}.tar.gz
+	https://github.com/dlang-community/d-test-utils/archive/${DTESTUTILS}.tar.gz -> d-test-utils-${DTESTUTILS}.tar.gz
+	https://github.com/dlang-community/libdparse/archive/${LIBDPARSE}.tar.gz -> libdparse-${LIBDPARSE}.tar.gz
+	https://github.com/msgpack/msgpack-d/archive/${MSGPACK}.tar.gz -> msgpack-d-${MSGPACK}.tar.gz
+	"
+S="${WORKDIR}/DCD-${PV}"
+
+DLANG_COMPAT=( dmd-2_{106..107} gdc-13 ldc2-1_{35..36} )
+
+inherit dlang-single systemd bash-completion-r1
+
+REQUIRED_USE=${DLANG_REQUIRED_USE}
+DEPEND=${DLANG_DEPS}
+RDEPEND=${DLANG_DEPS}
+BDEPEND=${DLANG_DEPS}
+
+src_prepare() {
+	# Default ebuild unpack function places archives side-by-side ...
+	mv -T ../containers-${CONTAINERS}    containers            || die
+	mv -T ../d-test-utils-${DTESTUTILS}  d-test-utils          || die
+	mv -T ../libdparse-${LIBDPARSE}      libdparse             || die
+	mv -T ../msgpack-d-${MSGPACK}        msgpack-d             || die
+	# Stop makefile from executing git to write an unused githash.txt
+	mkdir bin || die "Coult not create output directory"
+	echo "v${PV}" > bin/githash.txt || die "Could not generate githash"
+	touch githash || die "Could not generate githash"
+
+	# Apply patches
+	default
+}
+
+src_compile() {
+	# Don't let the makefile overwrite user flags.
+	# The downside is that we have to also pass the include dirs.
+	local flags="${DCFLAGS} ${DLANG_LDFLAGS}"
+	flags+=" -Icontainers/src -Idsymbol/src -Ilibdparse/src -Imsgpack-d/src -Isrc -Jbin"
+	# An uppercase name of the compiler. It can be GDC, LDC or DMD
+	local name=${EDC::3}
+	name=${name^^}
+
+	# Build client & server with the requested Dlang compiler.
+	local mymakeargs=(
+		# The path to the correct compiler
+		"${name}=${DC}"
+		# The flags for the client and the server
+		"${name}_CLIENT_FLAGS=${flags} $(dlang_get_output_flag)bin/dcd-client"
+		"${name}_SERVER_FLAGS=${flags} $(dlang_get_output_flag)bin/dcd-server"
+		# The target to build, the lowercase version of the compiler name
+		${name,,}
+	)
+	emake "${mymakeargs[@]}"
+
+	# Write system include paths of host implementation into dcd.conf
+	dlang_print_system_import_paths > dcd.conf
+}
+
+src_test() {
+	# Note, the makefile compiles the server with -g for tests.
+	cd tests && ./run_tests.sh || die "Tests failed"
+}
+
+src_install() {
+	dobin bin/dcd-server
+	dobin bin/dcd-client
+	use systemd && systemd_douserunit "${FILESDIR}"/dcd-server.service
+	dobashcomp bash-completion/completions/dcd-server
+	dobashcomp bash-completion/completions/dcd-client
+	insinto /etc
+	doins dcd.conf
+	dodoc README.md
+	doman man1/dcd-client.1 man1/dcd-server.1
+}
+
+pkg_postinst() {
+	use systemd && elog "A systemd user service for 'dcd-server' has been installed."
+}


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dcd/
@ 2024-05-30 17:28 Horodniceanu Andrei
  0 siblings, 0 replies; 10+ messages in thread
From: Horodniceanu Andrei @ 2024-05-30 17:28 UTC (permalink / raw
  To: gentoo-commits

commit:     213a2f0e97115b6fe50cc43f7276207bb7b25fc4
Author:     Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Thu May 30 16:54:12 2024 +0000
Commit:     Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Thu May 30 16:54:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=213a2f0e

dev-util/dcd: drop 0.15.2-r1

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

 dev-util/dcd/dcd-0.15.2-r1.ebuild | 95 ---------------------------------------
 1 file changed, 95 deletions(-)

diff --git a/dev-util/dcd/dcd-0.15.2-r1.ebuild b/dev-util/dcd/dcd-0.15.2-r1.ebuild
deleted file mode 100644
index bb66e8d..0000000
--- a/dev-util/dcd/dcd-0.15.2-r1.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="Auto-complete program for the D programming language"
-HOMEPAGE="https://github.com/dlang-community/DCD"
-LICENSE="GPL-3"
-
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="systemd"
-
-CONTAINERS="116a02872039efbd0289828cd5eeff6f60bdf539"
-DTESTUTILS="206a2e6abd97b4462f3a320e4f2d23986fad3cff"
-LIBDPARSE="592ef39a73a58439afc75a3e6c13a0d87d0b847d"
-MSGPACK="480f3bf9ee80ccf6695ed900cfcc1850ba8da991"
-SRC_URI="
-	https://github.com/dlang-community/DCD/archive/v${PV}.tar.gz -> DCD-${PV}.tar.gz
-	https://github.com/economicmodeling/containers/archive/${CONTAINERS}.tar.gz -> containers-${CONTAINERS}.tar.gz
-	https://github.com/dlang-community/d-test-utils/archive/${DTESTUTILS}.tar.gz -> d-test-utils-${DTESTUTILS}.tar.gz
-	https://github.com/dlang-community/libdparse/archive/${LIBDPARSE}.tar.gz -> libdparse-${LIBDPARSE}.tar.gz
-	https://github.com/msgpack/msgpack-d/archive/${MSGPACK}.tar.gz -> msgpack-d-${MSGPACK}.tar.gz
-	"
-S="${WORKDIR}/DCD-${PV}"
-
-DLANG_COMPAT=( dmd-2_{106..107} gdc-13 ldc2-1_{35..36} )
-
-inherit dlang-single systemd bash-completion-r1
-
-REQUIRED_USE=${DLANG_REQUIRED_USE}
-DEPEND=${DLANG_DEPS}
-RDEPEND=${DLANG_DEPS}
-BDEPEND=${DLANG_DEPS}
-
-src_prepare() {
-	# Default ebuild unpack function places archives side-by-side ...
-	mv -T ../containers-${CONTAINERS}    containers            || die
-	mv -T ../d-test-utils-${DTESTUTILS}  d-test-utils          || die
-	mv -T ../libdparse-${LIBDPARSE}      libdparse             || die
-	mv -T ../msgpack-d-${MSGPACK}        msgpack-d             || die
-	# Stop makefile from executing git to write an unused githash.txt
-	mkdir bin || die "Coult not create output directory"
-	echo "v${PV}" > bin/githash.txt || die "Could not generate githash"
-	touch githash || die "Could not generate githash"
-
-	# Apply patches
-	default
-}
-
-src_compile() {
-	# Don't let the makefile overwrite user flags.
-	# The downside is that we have to also pass the include dirs.
-	local flags="${DCFLAGS} ${DLANG_LDFLAGS}"
-	flags+=" -Icontainers/src -Idsymbol/src -Ilibdparse/src -Imsgpack-d/src -Isrc -Jbin"
-	# An uppercase name of the compiler. It can be GDC, LDC or DMD
-	local name=${EDC::3}
-	name=${name^^}
-
-	# Build client & server with the requested Dlang compiler.
-	local mymakeargs=(
-		# The path to the correct compiler
-		"${name}=${DC}"
-		# The flags for the client and the server
-		"${name}_CLIENT_FLAGS=${flags} $(dlang_get_output_flag)bin/dcd-client"
-		"${name}_SERVER_FLAGS=${flags} $(dlang_get_output_flag)bin/dcd-server"
-		# The target to build, the lowercase version of the compiler name
-		${name,,}
-	)
-	emake "${mymakeargs[@]}"
-
-	# Write system include paths of host implementation into dcd.conf
-	dlang_print_system_import_paths > dcd.conf
-}
-
-src_test() {
-	# Note, the makefile compiles the server with -g for tests.
-	cd tests && ./run_tests.sh || die "Tests failed"
-}
-
-src_install() {
-	dobin bin/dcd-server
-	dobin bin/dcd-client
-	use systemd && systemd_douserunit "${FILESDIR}"/dcd-server.service
-	dobashcomp bash-completion/completions/dcd-server
-	dobashcomp bash-completion/completions/dcd-client
-	insinto /etc
-	doins dcd.conf
-	dodoc README.md
-	doman man1/dcd-client.1 man1/dcd-server.1
-}
-
-pkg_postinst() {
-	use systemd && elog "A systemd user service for 'dcd-server' has been installed."
-}


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dcd/
@ 2024-06-02  5:29 Horodniceanu Andrei
  0 siblings, 0 replies; 10+ messages in thread
From: Horodniceanu Andrei @ 2024-06-02  5:29 UTC (permalink / raw
  To: gentoo-commits

commit:     3e1ab705fe0752c1a408e3d6b852dee289f2d2ee
Author:     Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Fri May 31 04:47:22 2024 +0000
Commit:     Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Fri May 31 04:47:22 2024 +0000
URL:        https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=3e1ab705

dev-util/dcd: enable ldc2-1_38

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

 dev-util/dcd/dcd-0.16.0_beta2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/dcd/dcd-0.16.0_beta2.ebuild b/dev-util/dcd/dcd-0.16.0_beta2.ebuild
index ac6563f..ecf975d 100644
--- a/dev-util/dcd/dcd-0.16.0_beta2.ebuild
+++ b/dev-util/dcd/dcd-0.16.0_beta2.ebuild
@@ -29,7 +29,7 @@ PATCHES=(
 	"${FILESDIR}/pr-774.patch"
 )
 
-DLANG_COMPAT=( dmd-2_{106..108} gdc-13 ldc2-1_{35..37} )
+DLANG_COMPAT=( dmd-2_{106..108} gdc-13 ldc2-1_{35..38} )
 
 inherit dlang-single systemd bash-completion-r1
 


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dcd/
@ 2024-06-02  5:29 Horodniceanu Andrei
  0 siblings, 0 replies; 10+ messages in thread
From: Horodniceanu Andrei @ 2024-06-02  5:29 UTC (permalink / raw
  To: gentoo-commits

commit:     8282c7a70fe0172770a0bd787962f1c23bdfed58
Author:     Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Sat Jun  1 18:14:05 2024 +0000
Commit:     Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Sat Jun  1 18:14:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=8282c7a7

dev-util/dcd: enable gdc-14

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

 dev-util/dcd/dcd-0.16.0_beta2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/dcd/dcd-0.16.0_beta2.ebuild b/dev-util/dcd/dcd-0.16.0_beta2.ebuild
index ecf975d..c4566f4 100644
--- a/dev-util/dcd/dcd-0.16.0_beta2.ebuild
+++ b/dev-util/dcd/dcd-0.16.0_beta2.ebuild
@@ -29,7 +29,7 @@ PATCHES=(
 	"${FILESDIR}/pr-774.patch"
 )
 
-DLANG_COMPAT=( dmd-2_{106..108} gdc-13 ldc2-1_{35..38} )
+DLANG_COMPAT=( dmd-2_{106..108} gdc-1{3,4} ldc2-1_{35..38} )
 
 inherit dlang-single systemd bash-completion-r1
 


^ permalink raw reply related	[flat|nested] 10+ messages in thread

* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dcd/
@ 2024-07-14 19:44 Horodniceanu Andrei
  0 siblings, 0 replies; 10+ messages in thread
From: Horodniceanu Andrei @ 2024-07-14 19:44 UTC (permalink / raw
  To: gentoo-commits

commit:     efd34069efbfd3b18364780289da5c8476ba5ef7
Author:     Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Sun Jul 14 08:32:06 2024 +0000
Commit:     Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Sun Jul 14 08:32:06 2024 +0000
URL:        https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=efd34069

dev-util/dcd: enable dmd-2_109 and ldc2-1_39

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

 dev-util/dcd/dcd-0.16.0_beta2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/dcd/dcd-0.16.0_beta2.ebuild b/dev-util/dcd/dcd-0.16.0_beta2.ebuild
index c4566f4..d01c2e4 100644
--- a/dev-util/dcd/dcd-0.16.0_beta2.ebuild
+++ b/dev-util/dcd/dcd-0.16.0_beta2.ebuild
@@ -29,7 +29,7 @@ PATCHES=(
 	"${FILESDIR}/pr-774.patch"
 )
 
-DLANG_COMPAT=( dmd-2_{106..108} gdc-1{3,4} ldc2-1_{35..38} )
+DLANG_COMPAT=( dmd-2_{106..109} gdc-1{3,4} ldc2-1_{35..39} )
 
 inherit dlang-single systemd bash-completion-r1
 


^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2024-07-14 19:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-07-07 15:41 [gentoo-commits] repo/user/dlang:master commit in: dev-util/dcd/ Marco Leise
  -- strict thread matches above, loose matches on Subject: below --
2024-07-14 19:44 Horodniceanu Andrei
2024-06-02  5:29 Horodniceanu Andrei
2024-06-02  5:29 Horodniceanu Andrei
2024-05-30 17:28 Horodniceanu Andrei
2024-04-13 23:04 Horodniceanu Andrei
2024-02-18 22:49 Horodniceanu Andrei
2024-02-18 22:49 Horodniceanu Andrei
2023-11-26 13:43 Horodniceanu Andrei
2020-08-15 18:01 Marco Leise

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox