public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dfmt/
@ 2024-06-02  5:29 Horodniceanu Andrei
  0 siblings, 0 replies; 17+ messages in thread
From: Horodniceanu Andrei @ 2024-06-02  5:29 UTC (permalink / raw
  To: gentoo-commits

commit:     4f0f502b9e28d83d19c66877c72b635b4f3f9ce7
Author:     Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Fri May 31 04:52:40 2024 +0000
Commit:     Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Fri May 31 04:52:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=4f0f502b

dev-util/dfmt: enable ldc2-1_38

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

 dev-util/dfmt/dfmt-0.15.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/dfmt/dfmt-0.15.1-r2.ebuild b/dev-util/dfmt/dfmt-0.15.1-r2.ebuild
index f9d0034..98afa52 100644
--- a/dev-util/dfmt/dfmt-0.15.1-r2.ebuild
+++ b/dev-util/dfmt/dfmt-0.15.1-r2.ebuild
@@ -16,7 +16,7 @@ LICENSE="Boost-1.0"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~x86"
 
-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 bash-completion-r1
 


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dfmt/
@ 2024-07-14 19:44 Horodniceanu Andrei
  0 siblings, 0 replies; 17+ messages in thread
From: Horodniceanu Andrei @ 2024-07-14 19:44 UTC (permalink / raw
  To: gentoo-commits

commit:     469c3bbc423cf31c299c92f5a15705fcc9b751af
Author:     Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Sun Jul 14 10:55:14 2024 +0000
Commit:     Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Sun Jul 14 10:55:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=469c3bbc

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

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

 dev-util/dfmt/dfmt-0.15.1-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/dfmt/dfmt-0.15.1-r2.ebuild b/dev-util/dfmt/dfmt-0.15.1-r2.ebuild
index 0446e61..e66824c 100644
--- a/dev-util/dfmt/dfmt-0.15.1-r2.ebuild
+++ b/dev-util/dfmt/dfmt-0.15.1-r2.ebuild
@@ -16,7 +16,7 @@ LICENSE="Boost-1.0"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~x86"
 
-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 bash-completion-r1
 


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dfmt/
@ 2024-06-02  5:29 Horodniceanu Andrei
  0 siblings, 0 replies; 17+ messages in thread
From: Horodniceanu Andrei @ 2024-06-02  5:29 UTC (permalink / raw
  To: gentoo-commits

commit:     44156086f94d88836bbc4dd50152f0fb07553eca
Author:     Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Sun Jun  2 04:36:56 2024 +0000
Commit:     Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Sun Jun  2 04:36:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=44156086

dev-util/dfmt: enable gdc-14

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

 dev-util/dfmt/dfmt-0.15.1-r2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/dfmt/dfmt-0.15.1-r2.ebuild b/dev-util/dfmt/dfmt-0.15.1-r2.ebuild
index 98afa52..0446e61 100644
--- a/dev-util/dfmt/dfmt-0.15.1-r2.ebuild
+++ b/dev-util/dfmt/dfmt-0.15.1-r2.ebuild
@@ -16,7 +16,7 @@ LICENSE="Boost-1.0"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~x86"
 
-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 bash-completion-r1
 
@@ -40,7 +40,7 @@ src_prepare() {
 	export D_FLAGS="$(dlang_get_dmdw_dcflags) $(dlang_get_dmdw_ldflags) \$(INCLUDE_PATHS)"
 	# Tests fail with -march=native and -O2 with <sys-devel/gcc-13.2.1_p20240330,
 	# probably https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114171 again.
-	if [[ ${EDC} == gdc* && ${D_FLAGS} == *-march=native* ]]; then
+	if [[ ${EDC} == gdc-13 && ${D_FLAGS} == *-march=native* ]]; then
 		ewarn '-march=native has been removed from your flags.'
 		ewarn 'See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114171'
 		# Interestingly `-q,` is a valid gdmd flag.


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

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

dev-util/dfmt: drop 0.15.1-r1

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

 dev-util/dfmt/dfmt-0.15.1-r1.ebuild | 70 -------------------------------------
 1 file changed, 70 deletions(-)

diff --git a/dev-util/dfmt/dfmt-0.15.1-r1.ebuild b/dev-util/dfmt/dfmt-0.15.1-r1.ebuild
deleted file mode 100644
index dbb6313..0000000
--- a/dev-util/dfmt/dfmt-0.15.1-r1.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-DESCRIPTION="Dfmt is a formatter for D source code"
-HOMEPAGE="https://github.com/dlang-community/dfmt"
-
-LIBDPARSE="fe6d1e38fb4fc04323170389cfec67ed7fd4e24a"
-ALLOCATOR="ae237cabd1843774cc78aad0729c914a3dd579db"
-SRC_URI="
-	https://github.com/dlang-community/dfmt/archive/v${PV}.tar.gz -> ${PN}-${PV}.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
-	"
-LICENSE="Boost-1.0"
-
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
-
-DLANG_COMPAT=( dmd-2_{106..108} gdc-13 ldc2-1_{35..37} )
-
-inherit dlang-single bash-completion-r1
-
-REQUIRED_USE=${DLANG_REQUIRED_USE}
-DEPEND=${DLANG_DEPS}
-BDEPEND=${DLANG_DEPS}
-RDEPEND=${DLANG_DEPS}
-
-src_prepare() {
-	default
-
-	mkdir bin || die "Failed to create 'bin' directory."
-	cat > bin/githash.txt << EOF
-v${PV}
-EOF
-}
-
-src_compile() {
-	local libdparse_src="../libdparse-${LIBDPARSE}/src"
-	local allocator_src="../stdx-allocator-${ALLOCATOR}/source"
-	local imports="src ${libdparse_src} ${allocator_src}"
-	local string_imports="bin"
-	local srcDirectories=(
-		"${S}/src"
-		"${S}/${libdparse_src}"
-		"${S}/${allocator_src}"
-	)
-	local sourceFile sourceFiles=()
-	while read -r -d '' sourceFile; do
-		sourceFiles+=("${sourceFile}")
-	done < <(find "${srcDirectories[@]}" -name '*.d' -print0)
-
-	dlang_compile_bin bin/dfmt "${sourceFiles[@]}"
-}
-
-src_test() {
-	cd tests || die
-
-	dlang_compile_bin "run_tests" "test.d"
-	./run_tests || die "Tests failed"
-	# Note, we're missing the unittests in the main binary.
-	# See make target bin/dfmt-test.
-}
-
-src_install() {
-	dobin bin/dfmt
-	dodoc README.md LICENSE.txt
-	dobashcomp bash-completion/completions/dfmt
-}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dfmt/
@ 2024-05-02 21:00 Horodniceanu Andrei
  0 siblings, 0 replies; 17+ messages in thread
From: Horodniceanu Andrei @ 2024-05-02 21:00 UTC (permalink / raw
  To: gentoo-commits

commit:     a794adfebcd87f610ac7aa89b14fa07a35e599e1
Author:     Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Thu May  2 16:36:11 2024 +0000
Commit:     Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Thu May  2 16:36:11 2024 +0000
URL:        https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=a794adfe

dev-util/dfmt: enable dmd-2_108

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

 dev-util/dfmt/dfmt-0.15.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/dfmt/dfmt-0.15.1-r1.ebuild b/dev-util/dfmt/dfmt-0.15.1-r1.ebuild
index a5aea5d..046f26a 100644
--- a/dev-util/dfmt/dfmt-0.15.1-r1.ebuild
+++ b/dev-util/dfmt/dfmt-0.15.1-r1.ebuild
@@ -18,7 +18,7 @@ LICENSE="Boost-1.0"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~x86"
 
-DLANG_COMPAT=( dmd-2_{106..107} gdc-13 ldc2-1_{35..36} )
+DLANG_COMPAT=( dmd-2_{106..108} gdc-13 ldc2-1_{35..36} )
 
 inherit dlang-single bash-completion-r1
 


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dfmt/
@ 2024-05-02 21:00 Horodniceanu Andrei
  0 siblings, 0 replies; 17+ messages in thread
From: Horodniceanu Andrei @ 2024-05-02 21:00 UTC (permalink / raw
  To: gentoo-commits

commit:     c9d25726774580a10b4fc7288d662e8aa386f444
Author:     Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Thu May  2 16:36:34 2024 +0000
Commit:     Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Thu May  2 16:36:34 2024 +0000
URL:        https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=c9d25726

dev-util/dfmt: enable ldc2-1_37

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

 dev-util/dfmt/dfmt-0.15.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/dfmt/dfmt-0.15.1-r1.ebuild b/dev-util/dfmt/dfmt-0.15.1-r1.ebuild
index 046f26a..dbb6313 100644
--- a/dev-util/dfmt/dfmt-0.15.1-r1.ebuild
+++ b/dev-util/dfmt/dfmt-0.15.1-r1.ebuild
@@ -18,7 +18,7 @@ LICENSE="Boost-1.0"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~x86"
 
-DLANG_COMPAT=( dmd-2_{106..108} gdc-13 ldc2-1_{35..36} )
+DLANG_COMPAT=( dmd-2_{106..108} gdc-13 ldc2-1_{35..37} )
 
 inherit dlang-single bash-completion-r1
 


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dfmt/
@ 2024-05-02 21:00 Horodniceanu Andrei
  0 siblings, 0 replies; 17+ messages in thread
From: Horodniceanu Andrei @ 2024-05-02 21:00 UTC (permalink / raw
  To: gentoo-commits

commit:     f319287a4bc201424dc10f5e0b6f9efe8b89ff4f
Author:     Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Thu May  2 19:34:17 2024 +0000
Commit:     Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Thu May  2 19:34:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=f319287a

dev-util/dfmt: refactor src_compile to use upstream makefile

Additional changes:
- don't include the stdx-allocator submodule since it's unused
- strip -march=native with gdc
- build and run unittests

Bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114171
Signed-off-by: Andrei Horodniceanu <a.horodniceanu <AT> proton.me>

 dev-util/dfmt/dfmt-0.15.1-r2.ebuild | 72 +++++++++++++++++++++++++++++++++++++
 1 file changed, 72 insertions(+)

diff --git a/dev-util/dfmt/dfmt-0.15.1-r2.ebuild b/dev-util/dfmt/dfmt-0.15.1-r2.ebuild
new file mode 100644
index 0000000..f9d0034
--- /dev/null
+++ b/dev-util/dfmt/dfmt-0.15.1-r2.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Dfmt is a formatter for D source code"
+HOMEPAGE="https://github.com/dlang-community/dfmt"
+
+LIBDPARSE="fe6d1e38fb4fc04323170389cfec67ed7fd4e24a"
+SRC_URI="
+	https://github.com/dlang-community/dfmt/archive/v${PV}.tar.gz -> ${PN}-${PV}.tar.gz
+	https://github.com/dlang-community/libdparse/archive/${LIBDPARSE}.tar.gz -> libdparse-${LIBDPARSE}.tar.gz
+	"
+LICENSE="Boost-1.0"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+DLANG_COMPAT=( dmd-2_{106..108} gdc-13 ldc2-1_{35..37} )
+
+inherit dlang-single bash-completion-r1
+
+REQUIRED_USE=${DLANG_REQUIRED_USE}
+DEPEND=${DLANG_DEPS}
+BDEPEND=${DLANG_DEPS}
+RDEPEND=${DLANG_DEPS}
+
+src_prepare() {
+	mv -T "../libdparse-${LIBDPARSE}" libdparse || die "Couldn't move submodule libdparse"
+	# Make a dummy folder to silence a find warning in the makefile
+	mkdir -p stdx-allocator/source || die "Couldn't create dummy stdx-allocator directory"
+
+	default
+
+	mkdir bin || die "Failed to create 'bin' directory."
+	echo "v${PV}" > bin/githash.txt
+	touch githash
+
+	# Use our user's flags + $(INCLUDE_PATHS) defined in the makefile
+	export D_FLAGS="$(dlang_get_dmdw_dcflags) $(dlang_get_dmdw_ldflags) \$(INCLUDE_PATHS)"
+	# Tests fail with -march=native and -O2 with <sys-devel/gcc-13.2.1_p20240330,
+	# probably https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114171 again.
+	if [[ ${EDC} == gdc* && ${D_FLAGS} == *-march=native* ]]; then
+		ewarn '-march=native has been removed from your flags.'
+		ewarn 'See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114171'
+		# Interestingly `-q,` is a valid gdmd flag.
+		export D_FLAGS=${D_FLAGS//-march=native}
+	fi
+}
+
+src_compile() {
+	emake DC="$(dlang_get_dmdw)" DMD_FLAGS="${D_FLAGS}"
+}
+
+src_test() {
+	# minimal workaround for https://github.com/dlang-community/dfmt/pull/600
+	touch githash.d
+	# Let the makefile add -unittest -g, keeps our code simpler
+	emake bin/dfmt-test DC="$(dlang_get_dmdw)" DMD_COMMON_FLAGS="${D_FLAGS}"
+	./bin/dfmt-test || die "Unittests failed"
+
+	cd tests || die
+
+	dlang_compile_bin "run_tests" "test.d"
+	./run_tests || die "Tests failed"
+}
+
+src_install() {
+	dobin bin/dfmt
+	dodoc README.md LICENSE.txt
+	dobashcomp bash-completion/completions/dfmt
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dfmt/
@ 2024-05-02 21:00 Horodniceanu Andrei
  0 siblings, 0 replies; 17+ messages in thread
From: Horodniceanu Andrei @ 2024-05-02 21:00 UTC (permalink / raw
  To: gentoo-commits

commit:     196bf5ebea00e9621d54ccb7ac6be9ab7f4b451b
Author:     Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Thu May  2 16:34:41 2024 +0000
Commit:     Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Thu May  2 16:34:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=196bf5eb

dev-util/dfmt: reorder variables to please pkgcheck

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

 dev-util/dfmt/dfmt-0.15.1-r1.ebuild | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/dev-util/dfmt/dfmt-0.15.1-r1.ebuild b/dev-util/dfmt/dfmt-0.15.1-r1.ebuild
index 323b33f..a5aea5d 100644
--- a/dev-util/dfmt/dfmt-0.15.1-r1.ebuild
+++ b/dev-util/dfmt/dfmt-0.15.1-r1.ebuild
@@ -5,10 +5,7 @@ EAPI=8
 
 DESCRIPTION="Dfmt is a formatter for D source code"
 HOMEPAGE="https://github.com/dlang-community/dfmt"
-LICENSE="Boost-1.0"
 
-SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
 LIBDPARSE="fe6d1e38fb4fc04323170389cfec67ed7fd4e24a"
 ALLOCATOR="ae237cabd1843774cc78aad0729c914a3dd579db"
 SRC_URI="
@@ -16,6 +13,10 @@ SRC_URI="
 	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
 	"
+LICENSE="Boost-1.0"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
 
 DLANG_COMPAT=( dmd-2_{106..107} gdc-13 ldc2-1_{35..36} )
 


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dfmt/
@ 2024-04-13 23:04 Horodniceanu Andrei
  0 siblings, 0 replies; 17+ messages in thread
From: Horodniceanu Andrei @ 2024-04-13 23:04 UTC (permalink / raw
  To: gentoo-commits

commit:     a582c3d4ead53f5e8a921e06cc95505a205af342
Author:     Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Sat Mar  9 17:05:03 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=a582c3d4

dev-util/dfmt: port to dlang-single.eclass

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

 dev-util/dfmt/dfmt-0.15.1-r1.ebuild | 69 +++++++++++++++++++++++++++++++++++++
 1 file changed, 69 insertions(+)

diff --git a/dev-util/dfmt/dfmt-0.15.1-r1.ebuild b/dev-util/dfmt/dfmt-0.15.1-r1.ebuild
new file mode 100644
index 0000000..323b33f
--- /dev/null
+++ b/dev-util/dfmt/dfmt-0.15.1-r1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Dfmt is a formatter for D source code"
+HOMEPAGE="https://github.com/dlang-community/dfmt"
+LICENSE="Boost-1.0"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+LIBDPARSE="fe6d1e38fb4fc04323170389cfec67ed7fd4e24a"
+ALLOCATOR="ae237cabd1843774cc78aad0729c914a3dd579db"
+SRC_URI="
+	https://github.com/dlang-community/dfmt/archive/v${PV}.tar.gz -> ${PN}-${PV}.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
+	"
+
+DLANG_COMPAT=( dmd-2_{106..107} gdc-13 ldc2-1_{35..36} )
+
+inherit dlang-single bash-completion-r1
+
+REQUIRED_USE=${DLANG_REQUIRED_USE}
+DEPEND=${DLANG_DEPS}
+BDEPEND=${DLANG_DEPS}
+RDEPEND=${DLANG_DEPS}
+
+src_prepare() {
+	default
+
+	mkdir bin || die "Failed to create 'bin' directory."
+	cat > bin/githash.txt << EOF
+v${PV}
+EOF
+}
+
+src_compile() {
+	local libdparse_src="../libdparse-${LIBDPARSE}/src"
+	local allocator_src="../stdx-allocator-${ALLOCATOR}/source"
+	local imports="src ${libdparse_src} ${allocator_src}"
+	local string_imports="bin"
+	local srcDirectories=(
+		"${S}/src"
+		"${S}/${libdparse_src}"
+		"${S}/${allocator_src}"
+	)
+	local sourceFile sourceFiles=()
+	while read -r -d '' sourceFile; do
+		sourceFiles+=("${sourceFile}")
+	done < <(find "${srcDirectories[@]}" -name '*.d' -print0)
+
+	dlang_compile_bin bin/dfmt "${sourceFiles[@]}"
+}
+
+src_test() {
+	cd tests || die
+
+	dlang_compile_bin "run_tests" "test.d"
+	./run_tests || die "Tests failed"
+	# Note, we're missing the unittests in the main binary.
+	# See make target bin/dfmt-test.
+}
+
+src_install() {
+	dobin bin/dfmt
+	dodoc README.md LICENSE.txt
+	dobashcomp bash-completion/completions/dfmt
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dfmt/
@ 2024-03-13 21:29 Horodniceanu Andrei
  0 siblings, 0 replies; 17+ messages in thread
From: Horodniceanu Andrei @ 2024-03-13 21:29 UTC (permalink / raw
  To: gentoo-commits

commit:     8e27e724fc69e16b55223352b1511f8b4e3efd19
Author:     Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Wed Mar 13 20:23:14 2024 +0000
Commit:     Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Wed Mar 13 20:23:14 2024 +0000
URL:        https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=8e27e724

dev-util/dfmt: stabilize 0.15.1 for amd64, x86

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

 dev-util/dfmt/dfmt-0.15.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/dfmt/dfmt-0.15.1.ebuild b/dev-util/dfmt/dfmt-0.15.1.ebuild
index f2d464b..8ee106a 100644
--- a/dev-util/dfmt/dfmt-0.15.1.ebuild
+++ b/dev-util/dfmt/dfmt-0.15.1.ebuild
@@ -8,7 +8,7 @@ HOMEPAGE="https://github.com/dlang-community/dfmt"
 LICENSE="Boost-1.0"
 
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~x86"
+KEYWORDS="amd64 ~arm64 x86"
 LIBDPARSE="fe6d1e38fb4fc04323170389cfec67ed7fd4e24a"
 ALLOCATOR="ae237cabd1843774cc78aad0729c914a3dd579db"
 SRC_URI="


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dfmt/
@ 2024-03-13 21:29 Horodniceanu Andrei
  0 siblings, 0 replies; 17+ messages in thread
From: Horodniceanu Andrei @ 2024-03-13 21:29 UTC (permalink / raw
  To: gentoo-commits

commit:     555b61e2d81ab07284724925dbf293e692da75ef
Author:     Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Wed Mar 13 20:25:07 2024 +0000
Commit:     Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Wed Mar 13 20:25:07 2024 +0000
URL:        https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=555b61e2

dev-util/dfmt: drop 0.13.4

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

 dev-util/dfmt/Manifest           |  2 --
 dev-util/dfmt/dfmt-0.13.4.ebuild | 58 ----------------------------------------
 2 files changed, 60 deletions(-)

diff --git a/dev-util/dfmt/Manifest b/dev-util/dfmt/Manifest
index b37b76e..7b8fb9e 100644
--- a/dev-util/dfmt/Manifest
+++ b/dev-util/dfmt/Manifest
@@ -1,5 +1,3 @@
-DIST dfmt-0.13.4.tar.gz 92846 BLAKE2B 4b16e8fc219004686315e6a478c349d0cdfc0a20b0ecc4e45a45a27774f1130c1346a78632ba44088c4b25ba1db6e4a78bec6ff33a680e17e7a30f241c274582 SHA512 997148a6234f446fbcc7eb75f8cb8b21b723131f997a84541f8486f98970d15d2330b0c0297b2fa3e834e03f6b35dce9623d59c439fdc3bf0881b72aef8b4281
 DIST dfmt-0.15.1.tar.gz 120509 BLAKE2B a50978d2070f53f47e0bfd959c72402847fbe5f1a9b25ddb48b7f3c62abf905e8264b494812320e13ea84718d4586bff2407ac7c96265aa5067271214b08fddf SHA512 42c35905c90a68f351d1ffb4280d59394d38d81c0f8768dc964d310e9b03361bfc8ef817c9ea844e4867586f9be3160d88bf9b5fe96faf96bffe5254683d21ae
-DIST libdparse-9aefc9c5e6e1495aca094d5c403f35f1052677d1.tar.gz 145180 BLAKE2B c0050cf47a2f417b7cdc67adad5c642e44dad310d7f85ea46d81e29d054fa0e489cb7a2b83ac8d4c6891530961e986d700baa0d9771046ea5a3c314d956f92f3 SHA512 f66d83e72a9de42bcd21794809f22c5b8d3fde1af136f1f55a9991e30a430e1229f5183a2a6e172e6b49ec7e1139213523be419ff1a07826910f5067e7439490
 DIST libdparse-fe6d1e38fb4fc04323170389cfec67ed7fd4e24a.tar.gz 158963 BLAKE2B 4fc7b52921d0c163051b4115076a1473fd7138244bad8052e79298beaccb1ed3c737bbf0ae754f2596133d32cede71704e4ac43c486d69a4390e5654c1993bfa SHA512 cb36b7bfc7d33c0c2c9be25bf4bea1abdbad7c7c9860bbbe725be7d5859255f937fb3b4a2241b47eb4131dd1879819e47704eaadeeb660d5b245008f594107cf
 DIST stdx-allocator-ae237cabd1843774cc78aad0729c914a3dd579db.tar.gz 103650 BLAKE2B 8d03c2dc76194b18da92261c533c402b87bda1964662070d02ceacbab3dda91a834c0c8bfe45feb1d9a3d7669f96a2a1f7b9a6b7eff7ea53069480d8de8fe15e SHA512 893e5ecefac86a64b3a91f034cc9f42aabc264d111b40accf890b505ec9d077fcaac0b29fc202400448994e4ff021263beef7716798734cb9b71b6aad1aaf394

diff --git a/dev-util/dfmt/dfmt-0.13.4.ebuild b/dev-util/dfmt/dfmt-0.13.4.ebuild
deleted file mode 100644
index 819aacd..0000000
--- a/dev-util/dfmt/dfmt-0.13.4.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# Copyright 1999-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-DESCRIPTION="Dfmt is a formatter for D source code"
-HOMEPAGE="https://github.com/dlang-community/dfmt"
-LICENSE="Boost-1.0"
-
-SLOT="0"
-KEYWORDS="amd64 x86"
-LIBDPARSE="9aefc9c5e6e1495aca094d5c403f35f1052677d1"
-ALLOCATOR="ae237cabd1843774cc78aad0729c914a3dd579db"
-SRC_URI="
-	https://github.com/dlang-community/dfmt/archive/v${PV}.tar.gz -> ${PN}-${PV}.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
-	"
-
-DLANG_VERSION_RANGE="2.075-2.106"
-DLANG_PACKAGE_TYPE="single"
-
-inherit dlang bash-completion-r1
-
-src_prepare() {
-	mkdir bin || die "Failed to create 'bin' directory."
-	cat > bin/githash.txt << EOF
-v${PV}
-EOF
-	dlang_src_prepare
-}
-
-d_src_compile() {
-	local libdparse_src="../libdparse-${LIBDPARSE}/src"
-	local allocator_src="../stdx-allocator-${ALLOCATOR}/source"
-	local imports="src ${libdparse_src} ${allocator_src}"
-	local string_imports="bin"
-
-	dlang_compile_bin "bin/dfmt" "src/dfmt/main.d" "src/dfmt/config.d" "src/dfmt/editorconfig.d" \
-		"src/dfmt/ast_info.d" "src/dfmt/indentation.d" "src/dfmt/tokens.d" "src/dfmt/wrapping.d" \
-		"src/dfmt/formatter.d" "src/dfmt/globmatch_editorconfig.d" \
-		${libdparse_src}/dparse/lexer.d ${libdparse_src}/dparse/parser.d ${libdparse_src}/dparse/ast.d \
-		${libdparse_src}/dparse/rollback_allocator.d ${libdparse_src}/dparse/stack_buffer.d \
-		${libdparse_src}/dparse/trivia.d ${libdparse_src}/std/experimental/lexer.d \
-		${allocator_src}/stdx/allocator/common.d ${allocator_src}/stdx/allocator/internal.d \
-		${allocator_src}/stdx/allocator/mallocator.d ${allocator_src}/stdx/allocator/package.d \
-		${allocator_src}/stdx/allocator/gc_allocator.d ${allocator_src}/stdx/allocator/typed.d
-}
-
-d_src_test() {
-	cd tests && ./test.sh
-}
-
-d_src_install() {
-	dobin bin/dfmt
-	dodoc README.md LICENSE.txt
-	dobashcomp bash-completion/completions/dfmt
-}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dfmt/
@ 2024-01-24 23:27 Horodniceanu Andrei
  0 siblings, 0 replies; 17+ messages in thread
From: Horodniceanu Andrei @ 2024-01-24 23:27 UTC (permalink / raw
  To: gentoo-commits

commit:     a13c79bd2d962d41cff8ee461b6e00233089187a
Author:     Andrei Horodniceanu <a.horodniceanu <AT> proton <DOT> me>
AuthorDate: Wed Jan 24 23:23:58 2024 +0000
Commit:     Horodniceanu Andrei <a.horodniceanu <AT> proton <DOT> me>
CommitDate: Wed Jan 24 23:24:19 2024 +0000
URL:        https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=a13c79bd

dev-util/dfmt: add 0.15.1

Additional changes:
- add github upstream remote to metadata.xml
- keyword for ~arm64
- bump EAPI 7 -> 8

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

 dev-util/dfmt/Manifest           |  2 ++
 dev-util/dfmt/dfmt-0.15.1.ebuild | 62 ++++++++++++++++++++++++++++++++++++++++
 dev-util/dfmt/metadata.xml       |  6 +++-
 3 files changed, 69 insertions(+), 1 deletion(-)

diff --git a/dev-util/dfmt/Manifest b/dev-util/dfmt/Manifest
index 0a7f59c..b37b76e 100644
--- a/dev-util/dfmt/Manifest
+++ b/dev-util/dfmt/Manifest
@@ -1,3 +1,5 @@
 DIST dfmt-0.13.4.tar.gz 92846 BLAKE2B 4b16e8fc219004686315e6a478c349d0cdfc0a20b0ecc4e45a45a27774f1130c1346a78632ba44088c4b25ba1db6e4a78bec6ff33a680e17e7a30f241c274582 SHA512 997148a6234f446fbcc7eb75f8cb8b21b723131f997a84541f8486f98970d15d2330b0c0297b2fa3e834e03f6b35dce9623d59c439fdc3bf0881b72aef8b4281
+DIST dfmt-0.15.1.tar.gz 120509 BLAKE2B a50978d2070f53f47e0bfd959c72402847fbe5f1a9b25ddb48b7f3c62abf905e8264b494812320e13ea84718d4586bff2407ac7c96265aa5067271214b08fddf SHA512 42c35905c90a68f351d1ffb4280d59394d38d81c0f8768dc964d310e9b03361bfc8ef817c9ea844e4867586f9be3160d88bf9b5fe96faf96bffe5254683d21ae
 DIST libdparse-9aefc9c5e6e1495aca094d5c403f35f1052677d1.tar.gz 145180 BLAKE2B c0050cf47a2f417b7cdc67adad5c642e44dad310d7f85ea46d81e29d054fa0e489cb7a2b83ac8d4c6891530961e986d700baa0d9771046ea5a3c314d956f92f3 SHA512 f66d83e72a9de42bcd21794809f22c5b8d3fde1af136f1f55a9991e30a430e1229f5183a2a6e172e6b49ec7e1139213523be419ff1a07826910f5067e7439490
+DIST libdparse-fe6d1e38fb4fc04323170389cfec67ed7fd4e24a.tar.gz 158963 BLAKE2B 4fc7b52921d0c163051b4115076a1473fd7138244bad8052e79298beaccb1ed3c737bbf0ae754f2596133d32cede71704e4ac43c486d69a4390e5654c1993bfa SHA512 cb36b7bfc7d33c0c2c9be25bf4bea1abdbad7c7c9860bbbe725be7d5859255f937fb3b4a2241b47eb4131dd1879819e47704eaadeeb660d5b245008f594107cf
 DIST stdx-allocator-ae237cabd1843774cc78aad0729c914a3dd579db.tar.gz 103650 BLAKE2B 8d03c2dc76194b18da92261c533c402b87bda1964662070d02ceacbab3dda91a834c0c8bfe45feb1d9a3d7669f96a2a1f7b9a6b7eff7ea53069480d8de8fe15e SHA512 893e5ecefac86a64b3a91f034cc9f42aabc264d111b40accf890b505ec9d077fcaac0b29fc202400448994e4ff021263beef7716798734cb9b71b6aad1aaf394

diff --git a/dev-util/dfmt/dfmt-0.15.1.ebuild b/dev-util/dfmt/dfmt-0.15.1.ebuild
new file mode 100644
index 0000000..f2d464b
--- /dev/null
+++ b/dev-util/dfmt/dfmt-0.15.1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Dfmt is a formatter for D source code"
+HOMEPAGE="https://github.com/dlang-community/dfmt"
+LICENSE="Boost-1.0"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+LIBDPARSE="fe6d1e38fb4fc04323170389cfec67ed7fd4e24a"
+ALLOCATOR="ae237cabd1843774cc78aad0729c914a3dd579db"
+SRC_URI="
+	https://github.com/dlang-community/dfmt/archive/v${PV}.tar.gz -> ${PN}-${PV}.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
+	"
+
+DLANG_VERSION_RANGE="2.100-2.106"
+DLANG_PACKAGE_TYPE="single"
+
+inherit dlang bash-completion-r1
+
+src_prepare() {
+	mkdir bin || die "Failed to create 'bin' directory."
+	cat > bin/githash.txt << EOF
+v${PV}
+EOF
+	dlang_src_prepare
+}
+
+d_src_compile() {
+	local libdparse_src="../libdparse-${LIBDPARSE}/src"
+	local allocator_src="../stdx-allocator-${ALLOCATOR}/source"
+	local imports="src ${libdparse_src} ${allocator_src}"
+	local string_imports="bin"
+	local srcDirectories=(
+		"${S}/src"
+		"${S}/${libdparse_src}"
+		"${S}/${allocator_src}"
+	)
+	local sourceFile sourceFiles=()
+	while read -r -d '' sourceFile; do
+		sourceFiles+=("${sourceFile}")
+	done < <(find "${srcDirectories[@]}" -name '*.d' -print0)
+
+	dlang_compile_bin "bin/dfmt" "${sourceFiles[@]}"
+}
+
+d_src_test() {
+	cd tests || die
+
+	dlang_compile_bin "run_tests" "test.d"
+	./run_tests || die "Tests failed"
+}
+
+d_src_install() {
+	dobin bin/dfmt
+	dodoc README.md LICENSE.txt
+	dobashcomp bash-completion/completions/dfmt
+}

diff --git a/dev-util/dfmt/metadata.xml b/dev-util/dfmt/metadata.xml
index 920817d..5cfa2c3 100644
--- a/dev-util/dfmt/metadata.xml
+++ b/dev-util/dfmt/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/dfmt</remote-id>
+  </upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dfmt/
@ 2021-07-07 15:41 Marco Leise
  0 siblings, 0 replies; 17+ messages in thread
From: Marco Leise @ 2021-07-07 15:41 UTC (permalink / raw
  To: gentoo-commits

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

dfmt-0.13.4

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

 dev-util/dfmt/Manifest           |  2 ++
 dev-util/dfmt/dfmt-0.13.4.ebuild | 58 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/dev-util/dfmt/Manifest b/dev-util/dfmt/Manifest
index 8948644..f28fab2 100644
--- a/dev-util/dfmt/Manifest
+++ b/dev-util/dfmt/Manifest
@@ -1,3 +1,5 @@
 DIST dfmt-0.13.2.tar.gz 91926 BLAKE2B 0d02600f10143232c62deca8f34ed239bb2e54f0390388aad184d3d78bd39aae5724d22f59d1303a9837173933dd8ca448aedeccb839fdd413ce827199202c35 SHA512 a1fb8339da4201d114bfc3748df2d1b4f42505932b1e55f74daa096cf48e91df827c677c7cc1c7df27937e45cebf571cb57551e843261915567e37cf4f3c8f29
+DIST dfmt-0.13.4.tar.gz 92846 BLAKE2B 4b16e8fc219004686315e6a478c349d0cdfc0a20b0ecc4e45a45a27774f1130c1346a78632ba44088c4b25ba1db6e4a78bec6ff33a680e17e7a30f241c274582 SHA512 997148a6234f446fbcc7eb75f8cb8b21b723131f997a84541f8486f98970d15d2330b0c0297b2fa3e834e03f6b35dce9623d59c439fdc3bf0881b72aef8b4281
 DIST libdparse-1557eb079a2d5958e0a7136f942eea0922d58e8a.tar.gz 132387 BLAKE2B 180316ef25713eb723e43e13c983f2c7b8c775f7e4c984217b497505ed0f7a9b1eb351867317a1e0957dd368a71b7fe403d8a636baf8ad8240f2b39fb7bc2c69 SHA512 1dbab30db4f14d99f27672be12b63bba04534a0c69c58453441b8a654336d9a38c869a6db738442b692d4d7cfdb0f68ed0bfaaa462c58aed0bedef60ea4dfbac
+DIST libdparse-9aefc9c5e6e1495aca094d5c403f35f1052677d1.tar.gz 145180 BLAKE2B c0050cf47a2f417b7cdc67adad5c642e44dad310d7f85ea46d81e29d054fa0e489cb7a2b83ac8d4c6891530961e986d700baa0d9771046ea5a3c314d956f92f3 SHA512 f66d83e72a9de42bcd21794809f22c5b8d3fde1af136f1f55a9991e30a430e1229f5183a2a6e172e6b49ec7e1139213523be419ff1a07826910f5067e7439490
 DIST stdx-allocator-ae237cabd1843774cc78aad0729c914a3dd579db.tar.gz 103650 BLAKE2B 8d03c2dc76194b18da92261c533c402b87bda1964662070d02ceacbab3dda91a834c0c8bfe45feb1d9a3d7669f96a2a1f7b9a6b7eff7ea53069480d8de8fe15e SHA512 893e5ecefac86a64b3a91f034cc9f42aabc264d111b40accf890b505ec9d077fcaac0b29fc202400448994e4ff021263beef7716798734cb9b71b6aad1aaf394

diff --git a/dev-util/dfmt/dfmt-0.13.4.ebuild b/dev-util/dfmt/dfmt-0.13.4.ebuild
new file mode 100644
index 0000000..88cbc1b
--- /dev/null
+++ b/dev-util/dfmt/dfmt-0.13.4.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Dfmt is a formatter for D source code"
+HOMEPAGE="https://github.com/dlang-community/dfmt"
+LICENSE="Boost-1.0"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LIBDPARSE="9aefc9c5e6e1495aca094d5c403f35f1052677d1"
+ALLOCATOR="ae237cabd1843774cc78aad0729c914a3dd579db"
+SRC_URI="
+	https://github.com/dlang-community/dfmt/archive/v${PV}.tar.gz -> ${PN}-${PV}.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
+	"
+
+DLANG_VERSION_RANGE="2.075-"
+DLANG_PACKAGE_TYPE="single"
+
+inherit dlang bash-completion-r1
+
+src_prepare() {
+	mkdir bin || die "Failed to create 'bin' directory."
+	cat > bin/githash.txt << EOF
+v${PV}
+EOF
+	dlang_src_prepare
+}
+
+d_src_compile() {
+	local libdparse_src="../libdparse-${LIBDPARSE}/src"
+	local allocator_src="../stdx-allocator-${ALLOCATOR}/source"
+	local imports="src ${libdparse_src} ${allocator_src}"
+	local string_imports="bin"
+
+	dlang_compile_bin "bin/dfmt" "src/dfmt/main.d" "src/dfmt/config.d" "src/dfmt/editorconfig.d" \
+		"src/dfmt/ast_info.d" "src/dfmt/indentation.d" "src/dfmt/tokens.d" "src/dfmt/wrapping.d" \
+		"src/dfmt/formatter.d" "src/dfmt/globmatch_editorconfig.d" \
+		${libdparse_src}/dparse/lexer.d ${libdparse_src}/dparse/parser.d ${libdparse_src}/dparse/ast.d \
+		${libdparse_src}/dparse/rollback_allocator.d ${libdparse_src}/dparse/stack_buffer.d \
+		${libdparse_src}/dparse/trivia.d ${libdparse_src}/std/experimental/lexer.d \
+		${allocator_src}/stdx/allocator/common.d ${allocator_src}/stdx/allocator/internal.d \
+		${allocator_src}/stdx/allocator/mallocator.d ${allocator_src}/stdx/allocator/package.d \
+		${allocator_src}/stdx/allocator/gc_allocator.d ${allocator_src}/stdx/allocator/typed.d
+}
+
+d_src_test() {
+	cd tests && ./test.sh
+}
+
+d_src_install() {
+	dobin bin/dfmt
+	dodoc README.md LICENSE.txt
+	dobashcomp bash-completion/completions/dfmt
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dfmt/
@ 2020-11-16  4:05 Marco Leise
  0 siblings, 0 replies; 17+ messages in thread
From: Marco Leise @ 2020-11-16  4:05 UTC (permalink / raw
  To: gentoo-commits

commit:     c98c46007eae1e917fc67abf3ad37286f76d87a3
Author:     Marco Leise <marco.leise <AT> gmx <DOT> de>
AuthorDate: Mon Nov 16 01:51:13 2020 +0000
Commit:     Marco Leise <marco.leise <AT> gmx <DOT> de>
CommitDate: Mon Nov 16 04:03:02 2020 +0000
URL:        https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=c98c4600

dfmt-0.13.2

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

 dev-util/dfmt/Manifest           |  1 +
 dev-util/dfmt/dfmt-0.13.2.ebuild | 58 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+)

diff --git a/dev-util/dfmt/Manifest b/dev-util/dfmt/Manifest
index a586998..c543abb 100644
--- a/dev-util/dfmt/Manifest
+++ b/dev-util/dfmt/Manifest
@@ -1,3 +1,4 @@
 DIST dfmt-0.13.0.tar.gz 90119 BLAKE2B f47d0a661b8b9c571766e017cf50fc8dcbe0d0a05efc62ddb36734013986d2244d76e4977dc4893d036e297f20c818780d76ea75232168d7a652b0ba8067316f SHA512 1cea004218dc49f9c7079cc2063fccac8b9c97b9683929f2abde6aceedf1f3ad35009fd3978affaf5d33f8779918e9fcf9084a91ba21c87680a25d33bc6bc8ca
+DIST dfmt-0.13.2.tar.gz 91926 BLAKE2B 0d02600f10143232c62deca8f34ed239bb2e54f0390388aad184d3d78bd39aae5724d22f59d1303a9837173933dd8ca448aedeccb839fdd413ce827199202c35 SHA512 a1fb8339da4201d114bfc3748df2d1b4f42505932b1e55f74daa096cf48e91df827c677c7cc1c7df27937e45cebf571cb57551e843261915567e37cf4f3c8f29
 DIST libdparse-1557eb079a2d5958e0a7136f942eea0922d58e8a.tar.gz 132387 BLAKE2B 180316ef25713eb723e43e13c983f2c7b8c775f7e4c984217b497505ed0f7a9b1eb351867317a1e0957dd368a71b7fe403d8a636baf8ad8240f2b39fb7bc2c69 SHA512 1dbab30db4f14d99f27672be12b63bba04534a0c69c58453441b8a654336d9a38c869a6db738442b692d4d7cfdb0f68ed0bfaaa462c58aed0bedef60ea4dfbac
 DIST stdx-allocator-ae237cabd1843774cc78aad0729c914a3dd579db.tar.gz 103650 BLAKE2B 8d03c2dc76194b18da92261c533c402b87bda1964662070d02ceacbab3dda91a834c0c8bfe45feb1d9a3d7669f96a2a1f7b9a6b7eff7ea53069480d8de8fe15e SHA512 893e5ecefac86a64b3a91f034cc9f42aabc264d111b40accf890b505ec9d077fcaac0b29fc202400448994e4ff021263beef7716798734cb9b71b6aad1aaf394

diff --git a/dev-util/dfmt/dfmt-0.13.2.ebuild b/dev-util/dfmt/dfmt-0.13.2.ebuild
new file mode 100644
index 0000000..50ab11e
--- /dev/null
+++ b/dev-util/dfmt/dfmt-0.13.2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Dfmt is a formatter for D source code"
+HOMEPAGE="https://github.com/dlang-community/dfmt"
+LICENSE="Boost-1.0"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LIBDPARSE="1557eb079a2d5958e0a7136f942eea0922d58e8a"
+ALLOCATOR="ae237cabd1843774cc78aad0729c914a3dd579db"
+SRC_URI="
+	https://github.com/dlang-community/dfmt/archive/v${PV}.tar.gz -> ${PN}-${PV}.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
+	"
+
+DLANG_VERSION_RANGE="2.075-"
+DLANG_PACKAGE_TYPE="single"
+
+inherit dlang bash-completion-r1
+
+src_prepare() {
+	mkdir bin || die "Failed to create 'bin' directory."
+	cat > bin/githash.txt << EOF
+v${PV}
+EOF
+	dlang_src_prepare
+}
+
+d_src_compile() {
+	local libdparse_src="../libdparse-${LIBDPARSE}/src"
+	local allocator_src="../stdx-allocator-${ALLOCATOR}/source"
+	local imports="src ${libdparse_src} ${allocator_src}"
+	local string_imports="bin"
+
+	dlang_compile_bin "bin/dfmt" "src/dfmt/main.d" "src/dfmt/config.d" "src/dfmt/editorconfig.d" \
+		"src/dfmt/ast_info.d" "src/dfmt/indentation.d" "src/dfmt/tokens.d" "src/dfmt/wrapping.d" \
+		"src/dfmt/formatter.d" "src/dfmt/globmatch_editorconfig.d" \
+		${libdparse_src}/dparse/lexer.d ${libdparse_src}/dparse/parser.d ${libdparse_src}/dparse/ast.d \
+		${libdparse_src}/dparse/rollback_allocator.d ${libdparse_src}/dparse/stack_buffer.d \
+		${libdparse_src}/dparse/trivia.d ${libdparse_src}/std/experimental/lexer.d \
+		${allocator_src}/stdx/allocator/common.d ${allocator_src}/stdx/allocator/internal.d \
+		${allocator_src}/stdx/allocator/mallocator.d ${allocator_src}/stdx/allocator/package.d \
+		${allocator_src}/stdx/allocator/gc_allocator.d ${allocator_src}/stdx/allocator/typed.d
+}
+
+d_src_test() {
+	cd tests && ./test.sh
+}
+
+d_src_install() {
+	dobin bin/dfmt
+	dodoc README.md LICENSE.txt
+	dobashcomp bash-completion/completions/dfmt
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dfmt/
@ 2020-08-15 18:01 Marco Leise
  0 siblings, 0 replies; 17+ messages in thread
From: Marco Leise @ 2020-08-15 18:01 UTC (permalink / raw
  To: gentoo-commits

commit:     f2f23388141ffb5090cba63931294c1c7fb82073
Author:     Marco Leise <marco.leise <AT> gmx <DOT> de>
AuthorDate: Sat Aug 15 17:08:02 2020 +0000
Commit:     Marco Leise <marco.leise <AT> gmx <DOT> de>
CommitDate: Sat Aug 15 17:08:02 2020 +0000
URL:        https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=f2f23388

dscanner-0.10.0

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

 dev-util/dfmt/Manifest           |  2 ++
 dev-util/dfmt/dfmt-0.13.0.ebuild | 58 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/dev-util/dfmt/Manifest b/dev-util/dfmt/Manifest
index bd5bc86..65febef 100644
--- a/dev-util/dfmt/Manifest
+++ b/dev-util/dfmt/Manifest
@@ -1,3 +1,5 @@
 DIST dfmt-0.12.0.tar.gz 89416 BLAKE2B 20b18358ce6fe64c86eb8c6e440f0a855810dbc571d45497388e3e622d2fd339f75e339c7099baa15afae9730cde00cb3655cc64291834f8ceb01e57cea89d49 SHA512 1f6285824e72540bf1d41d84d8df7cf3e56e6bd3996271126a062a5f7f6532a3dcdc4e63a8bd3bdb2cb5d85eefd20c2705ded7e7c6fd4860f08573c13b719e04
+DIST dfmt-0.13.0.tar.gz 90119 BLAKE2B f47d0a661b8b9c571766e017cf50fc8dcbe0d0a05efc62ddb36734013986d2244d76e4977dc4893d036e297f20c818780d76ea75232168d7a652b0ba8067316f SHA512 1cea004218dc49f9c7079cc2063fccac8b9c97b9683929f2abde6aceedf1f3ad35009fd3978affaf5d33f8779918e9fcf9084a91ba21c87680a25d33bc6bc8ca
+DIST libdparse-1557eb079a2d5958e0a7136f942eea0922d58e8a.tar.gz 132387 BLAKE2B 180316ef25713eb723e43e13c983f2c7b8c775f7e4c984217b497505ed0f7a9b1eb351867317a1e0957dd368a71b7fe403d8a636baf8ad8240f2b39fb7bc2c69 SHA512 1dbab30db4f14d99f27672be12b63bba04534a0c69c58453441b8a654336d9a38c869a6db738442b692d4d7cfdb0f68ed0bfaaa462c58aed0bedef60ea4dfbac
 DIST libdparse-597d9a697b1f8a51fb2f441c61d0c6cc4eadc6d1.tar.gz 124830 BLAKE2B 1a7b4246b00938c44c3e32c7d0fdda4a0d343bbafad25e3e003c4672aac1dd3677a8163750b13753aa484e6bcdd120b35fc736db6d5c0be4eb3d9c78ab6a9e8e SHA512 c3b5660d455ca3dd8d22ae996ae437583b98c00e441bedfb72a5fcf8ccd4dc579e4fc8980faab501ff757ced62c079fbc116f91c796174895b33a57f0a183bbf
 DIST stdx-allocator-ae237cabd1843774cc78aad0729c914a3dd579db.tar.gz 103650 BLAKE2B 8d03c2dc76194b18da92261c533c402b87bda1964662070d02ceacbab3dda91a834c0c8bfe45feb1d9a3d7669f96a2a1f7b9a6b7eff7ea53069480d8de8fe15e SHA512 893e5ecefac86a64b3a91f034cc9f42aabc264d111b40accf890b505ec9d077fcaac0b29fc202400448994e4ff021263beef7716798734cb9b71b6aad1aaf394

diff --git a/dev-util/dfmt/dfmt-0.13.0.ebuild b/dev-util/dfmt/dfmt-0.13.0.ebuild
new file mode 100644
index 0000000..50ab11e
--- /dev/null
+++ b/dev-util/dfmt/dfmt-0.13.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Dfmt is a formatter for D source code"
+HOMEPAGE="https://github.com/dlang-community/dfmt"
+LICENSE="Boost-1.0"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LIBDPARSE="1557eb079a2d5958e0a7136f942eea0922d58e8a"
+ALLOCATOR="ae237cabd1843774cc78aad0729c914a3dd579db"
+SRC_URI="
+	https://github.com/dlang-community/dfmt/archive/v${PV}.tar.gz -> ${PN}-${PV}.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
+	"
+
+DLANG_VERSION_RANGE="2.075-"
+DLANG_PACKAGE_TYPE="single"
+
+inherit dlang bash-completion-r1
+
+src_prepare() {
+	mkdir bin || die "Failed to create 'bin' directory."
+	cat > bin/githash.txt << EOF
+v${PV}
+EOF
+	dlang_src_prepare
+}
+
+d_src_compile() {
+	local libdparse_src="../libdparse-${LIBDPARSE}/src"
+	local allocator_src="../stdx-allocator-${ALLOCATOR}/source"
+	local imports="src ${libdparse_src} ${allocator_src}"
+	local string_imports="bin"
+
+	dlang_compile_bin "bin/dfmt" "src/dfmt/main.d" "src/dfmt/config.d" "src/dfmt/editorconfig.d" \
+		"src/dfmt/ast_info.d" "src/dfmt/indentation.d" "src/dfmt/tokens.d" "src/dfmt/wrapping.d" \
+		"src/dfmt/formatter.d" "src/dfmt/globmatch_editorconfig.d" \
+		${libdparse_src}/dparse/lexer.d ${libdparse_src}/dparse/parser.d ${libdparse_src}/dparse/ast.d \
+		${libdparse_src}/dparse/rollback_allocator.d ${libdparse_src}/dparse/stack_buffer.d \
+		${libdparse_src}/dparse/trivia.d ${libdparse_src}/std/experimental/lexer.d \
+		${allocator_src}/stdx/allocator/common.d ${allocator_src}/stdx/allocator/internal.d \
+		${allocator_src}/stdx/allocator/mallocator.d ${allocator_src}/stdx/allocator/package.d \
+		${allocator_src}/stdx/allocator/gc_allocator.d ${allocator_src}/stdx/allocator/typed.d
+}
+
+d_src_test() {
+	cd tests && ./test.sh
+}
+
+d_src_install() {
+	dobin bin/dfmt
+	dodoc README.md LICENSE.txt
+	dobashcomp bash-completion/completions/dfmt
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dfmt/
@ 2020-04-19 12:58 Marco Leise
  0 siblings, 0 replies; 17+ messages in thread
From: Marco Leise @ 2020-04-19 12:58 UTC (permalink / raw
  To: gentoo-commits

commit:     a3bf07a0f74a70dac4d954dd39f8ea0f5bd70e9b
Author:     Marco Leise <marco.leise <AT> gmx <DOT> de>
AuthorDate: Sat Apr 18 13:14:42 2020 +0000
Commit:     Marco Leise <marco.leise <AT> gmx <DOT> de>
CommitDate: Sat Apr 18 13:26:23 2020 +0000
URL:        https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=a3bf07a0

dfmt-0.12.0

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

 dev-util/dfmt/Manifest           |  2 ++
 dev-util/dfmt/dfmt-0.12.0.ebuild | 58 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/dev-util/dfmt/Manifest b/dev-util/dfmt/Manifest
index a46a7c9..6a412d0 100644
--- a/dev-util/dfmt/Manifest
+++ b/dev-util/dfmt/Manifest
@@ -1,3 +1,5 @@
 DIST dfmt-0.11.0.tar.gz 86434 BLAKE2B 36070e8b35381cc72fc8a9373202d078e36dfa7bf0a2d7dd0a0d425d3f7b3432d2458f4d5705d3fafb14f48d866b34ea874cb1d458d6976bf895a7e66683a153 SHA512 20a3e5f03d583a4fa99589fc31904f18b5d099a3307b1a229aff38d803ac05b659c92759b4aa137a54b08e9d92607f23286db164a08e314f6c3ebb6df6b9bfe6
+DIST dfmt-0.12.0.tar.gz 89416 BLAKE2B 20b18358ce6fe64c86eb8c6e440f0a855810dbc571d45497388e3e622d2fd339f75e339c7099baa15afae9730cde00cb3655cc64291834f8ceb01e57cea89d49 SHA512 1f6285824e72540bf1d41d84d8df7cf3e56e6bd3996271126a062a5f7f6532a3dcdc4e63a8bd3bdb2cb5d85eefd20c2705ded7e7c6fd4860f08573c13b719e04
+DIST libdparse-597d9a697b1f8a51fb2f441c61d0c6cc4eadc6d1.tar.gz 124830 BLAKE2B 1a7b4246b00938c44c3e32c7d0fdda4a0d343bbafad25e3e003c4672aac1dd3677a8163750b13753aa484e6bcdd120b35fc736db6d5c0be4eb3d9c78ab6a9e8e SHA512 c3b5660d455ca3dd8d22ae996ae437583b98c00e441bedfb72a5fcf8ccd4dc579e4fc8980faab501ff757ced62c079fbc116f91c796174895b33a57f0a183bbf
 DIST libdparse-f512cb0b4bc11ce64eb64a710163495e425a7ad8.tar.gz 123592 BLAKE2B e463014fca952cec3cd0cfb8014f62b3749e73e12761791c23a535c5a8e467e343cfbdc48cb648baef7d4090bee7cd4db9c9406f3dad7bc0628a6eb6d008a135 SHA512 248db7c9a6a3b05c18bbed925f6219143229de50bffd7172b75003322049054b820260fc49348742172740b01324ace2f01cd7980a91ed0975d350d615747749
 DIST stdx-allocator-ae237cabd1843774cc78aad0729c914a3dd579db.tar.gz 103650 BLAKE2B 8d03c2dc76194b18da92261c533c402b87bda1964662070d02ceacbab3dda91a834c0c8bfe45feb1d9a3d7669f96a2a1f7b9a6b7eff7ea53069480d8de8fe15e SHA512 893e5ecefac86a64b3a91f034cc9f42aabc264d111b40accf890b505ec9d077fcaac0b29fc202400448994e4ff021263beef7716798734cb9b71b6aad1aaf394

diff --git a/dev-util/dfmt/dfmt-0.12.0.ebuild b/dev-util/dfmt/dfmt-0.12.0.ebuild
new file mode 100644
index 0000000..067e9a1
--- /dev/null
+++ b/dev-util/dfmt/dfmt-0.12.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="Dfmt is a formatter for D source code"
+HOMEPAGE="https://github.com/dlang-community/dfmt"
+LICENSE="Boost-1.0"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LIBDPARSE="597d9a697b1f8a51fb2f441c61d0c6cc4eadc6d1"
+ALLOCATOR="ae237cabd1843774cc78aad0729c914a3dd579db"
+SRC_URI="
+	https://github.com/dlang-community/dfmt/archive/v${PV}.tar.gz -> ${PN}-${PV}.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
+	"
+
+DLANG_VERSION_RANGE="2.075-"
+DLANG_PACKAGE_TYPE="single"
+
+inherit dlang bash-completion-r1
+
+src_prepare() {
+	mkdir bin || die "Failed to create 'bin' directory."
+	cat > bin/githash.txt << EOF
+v${PV}
+EOF
+	dlang_src_prepare
+}
+
+d_src_compile() {
+	local libdparse_src="../libdparse-${LIBDPARSE}/src"
+	local allocator_src="../stdx-allocator-${ALLOCATOR}/source"
+	local imports="src ${libdparse_src} ${allocator_src}"
+	local string_imports="bin"
+
+	dlang_compile_bin "bin/dfmt" "src/dfmt/main.d" "src/dfmt/config.d" "src/dfmt/editorconfig.d" \
+		"src/dfmt/ast_info.d" "src/dfmt/indentation.d" "src/dfmt/tokens.d" "src/dfmt/wrapping.d" \
+		"src/dfmt/formatter.d" "src/dfmt/globmatch_editorconfig.d" \
+		${libdparse_src}/dparse/lexer.d ${libdparse_src}/dparse/parser.d ${libdparse_src}/dparse/ast.d \
+		${libdparse_src}/dparse/rollback_allocator.d ${libdparse_src}/dparse/stack_buffer.d \
+		${libdparse_src}/std/experimental/lexer.d \
+		${allocator_src}/stdx/allocator/common.d ${allocator_src}/stdx/allocator/internal.d \
+		${allocator_src}/stdx/allocator/mallocator.d ${allocator_src}/stdx/allocator/package.d \
+		${allocator_src}/stdx/allocator/gc_allocator.d ${allocator_src}/stdx/allocator/typed.d
+}
+
+d_src_test() {
+	cd tests && ./test.sh
+}
+
+d_src_install() {
+	dobin bin/dfmt
+	dodoc README.md LICENSE.txt
+	dobashcomp bash-completion/completions/dfmt
+}


^ permalink raw reply related	[flat|nested] 17+ messages in thread
* [gentoo-commits] repo/user/dlang:master commit in: dev-util/dfmt/
@ 2019-12-23 16:56 Marco Leise
  0 siblings, 0 replies; 17+ messages in thread
From: Marco Leise @ 2019-12-23 16:56 UTC (permalink / raw
  To: gentoo-commits

commit:     765d661013551b68edeb012fa6fd1fd8ce64faee
Author:     Marco Leise <marco.leise <AT> gmx <DOT> de>
AuthorDate: Sat Dec 21 18:04:26 2019 +0000
Commit:     Marco Leise <marco.leise <AT> gmx <DOT> de>
CommitDate: Sat Dec 21 18:14:41 2019 +0000
URL:        https://gitweb.gentoo.org/repo/user/dlang.git/commit/?id=765d6610

dfmt-0.11.0

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

 dev-util/dfmt/Manifest           |  2 ++
 dev-util/dfmt/dfmt-0.11.0.ebuild | 58 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)

diff --git a/dev-util/dfmt/Manifest b/dev-util/dfmt/Manifest
index c992de4..1042746 100644
--- a/dev-util/dfmt/Manifest
+++ b/dev-util/dfmt/Manifest
@@ -1,3 +1,5 @@
 DIST dfmt-0.10.1.tar.gz 85212 BLAKE2B f37bead92ef35beb404461093faaa495b88f59b53f07ae9c5e6b529d7998ad6cd662e5ff8f9d62405a1df61569612482c26de5065b1351bb1a8e0f5ecfde9b73 SHA512 9304051e2892696f35a596642b09fe8f177f1a02a9b1d7f56388f6f04d21ab015286aa8e1357fe9ea69a4b6c48572b204958a4811cff4507eef41ce68aa3d664
+DIST dfmt-0.11.0.tar.gz 86434 BLAKE2B 36070e8b35381cc72fc8a9373202d078e36dfa7bf0a2d7dd0a0d425d3f7b3432d2458f4d5705d3fafb14f48d866b34ea874cb1d458d6976bf895a7e66683a153 SHA512 20a3e5f03d583a4fa99589fc31904f18b5d099a3307b1a229aff38d803ac05b659c92759b4aa137a54b08e9d92607f23286db164a08e314f6c3ebb6df6b9bfe6
 DIST libdparse-aae371931a99027465952cd6fdaede4eb4743e76.tar.gz 122507 BLAKE2B ae0b500875fad7929ac5450303fe8fd1064299fb2bfd3378fd97f41aa3ca4a3d0a3c4df3be66985489a31fa56d613c031621f630b16668f7747bd8fb198c11bd SHA512 2aa54664bcaf8a974a00559354fb0115b8cc98b6cb299644b48086c70fa28ae12c90c573f030e2028ff33db7f8bb654813a8c7d1ec5078f1980a5b29ef35dda0
+DIST libdparse-f512cb0b4bc11ce64eb64a710163495e425a7ad8.tar.gz 123592 BLAKE2B e463014fca952cec3cd0cfb8014f62b3749e73e12761791c23a535c5a8e467e343cfbdc48cb648baef7d4090bee7cd4db9c9406f3dad7bc0628a6eb6d008a135 SHA512 248db7c9a6a3b05c18bbed925f6219143229de50bffd7172b75003322049054b820260fc49348742172740b01324ace2f01cd7980a91ed0975d350d615747749
 DIST stdx-allocator-ae237cabd1843774cc78aad0729c914a3dd579db.tar.gz 103650 BLAKE2B 8d03c2dc76194b18da92261c533c402b87bda1964662070d02ceacbab3dda91a834c0c8bfe45feb1d9a3d7669f96a2a1f7b9a6b7eff7ea53069480d8de8fe15e SHA512 893e5ecefac86a64b3a91f034cc9f42aabc264d111b40accf890b505ec9d077fcaac0b29fc202400448994e4ff021263beef7716798734cb9b71b6aad1aaf394

diff --git a/dev-util/dfmt/dfmt-0.11.0.ebuild b/dev-util/dfmt/dfmt-0.11.0.ebuild
new file mode 100644
index 0000000..d6f063e
--- /dev/null
+++ b/dev-util/dfmt/dfmt-0.11.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Dfmt is a formatter for D source code"
+HOMEPAGE="https://github.com/dlang-community/dfmt"
+LICENSE="Boost-1.0"
+
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+LIBDPARSE="f512cb0b4bc11ce64eb64a710163495e425a7ad8"
+ALLOCATOR="ae237cabd1843774cc78aad0729c914a3dd579db"
+SRC_URI="
+	https://github.com/dlang-community/dfmt/archive/v${PV}.tar.gz -> ${PN}-${PV}.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
+	"
+
+DLANG_VERSION_RANGE="2.075-"
+DLANG_PACKAGE_TYPE="single"
+
+inherit dlang bash-completion-r1
+
+src_prepare() {
+	mkdir bin || die "Failed to create 'bin' directory."
+	cat > bin/githash.txt << EOF
+v${PV}
+EOF
+	dlang_src_prepare
+}
+
+d_src_compile() {
+	local libdparse_src="../libdparse-${LIBDPARSE}/src"
+	local allocator_src="../stdx-allocator-${ALLOCATOR}/source"
+	local imports="src ${libdparse_src} ${allocator_src}"
+	local string_imports="bin"
+
+	dlang_compile_bin "bin/dfmt" "src/dfmt/main.d" "src/dfmt/config.d" "src/dfmt/editorconfig.d" \
+		"src/dfmt/ast_info.d" "src/dfmt/indentation.d" "src/dfmt/tokens.d" "src/dfmt/wrapping.d" \
+		"src/dfmt/formatter.d" "src/dfmt/globmatch_editorconfig.d" \
+		${libdparse_src}/dparse/lexer.d ${libdparse_src}/dparse/parser.d ${libdparse_src}/dparse/ast.d \
+		${libdparse_src}/dparse/rollback_allocator.d ${libdparse_src}/dparse/stack_buffer.d \
+		${libdparse_src}/std/experimental/lexer.d \
+		${allocator_src}/stdx/allocator/common.d ${allocator_src}/stdx/allocator/internal.d \
+		${allocator_src}/stdx/allocator/mallocator.d ${allocator_src}/stdx/allocator/package.d \
+		${allocator_src}/stdx/allocator/gc_allocator.d ${allocator_src}/stdx/allocator/typed.d
+}
+
+d_src_test() {
+	cd tests && ./test.sh
+}
+
+d_src_install() {
+	dobin bin/dfmt
+	dodoc README.md LICENSE.txt
+	dobashcomp bash-completion/completions/dfmt
+}


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

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

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-02  5:29 [gentoo-commits] repo/user/dlang:master commit in: dev-util/dfmt/ Horodniceanu Andrei
  -- strict thread matches above, loose matches on Subject: below --
2024-07-14 19:44 Horodniceanu Andrei
2024-06-02  5:29 Horodniceanu Andrei
2024-05-30 17:28 Horodniceanu Andrei
2024-05-02 21:00 Horodniceanu Andrei
2024-05-02 21:00 Horodniceanu Andrei
2024-05-02 21:00 Horodniceanu Andrei
2024-05-02 21:00 Horodniceanu Andrei
2024-04-13 23:04 Horodniceanu Andrei
2024-03-13 21:29 Horodniceanu Andrei
2024-03-13 21:29 Horodniceanu Andrei
2024-01-24 23:27 Horodniceanu Andrei
2021-07-07 15:41 Marco Leise
2020-11-16  4:05 Marco Leise
2020-08-15 18:01 Marco Leise
2020-04-19 12:58 Marco Leise
2019-12-23 16:56 Marco Leise

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