* [gentoo-commits] repo/proj/guru:dev commit in: dev-util/tinyxxd/
@ 2025-07-17  8:46 Saad Abdullah
  0 siblings, 0 replies; 7+ messages in thread
From: Saad Abdullah @ 2025-07-17  8:46 UTC (permalink / raw
  To: gentoo-commits
commit:     976fd0cf5980542303df6025e9e4ef924f85aba4
Author:     ingenarel <ingenarelitems <AT> gmail <DOT> com>
AuthorDate: Thu Jul 17 08:46:36 2025 +0000
Commit:     Saad Abdullah <ingenarelitems <AT> gmail <DOT> com>
CommitDate: Thu Jul 17 08:46:36 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=976fd0cf
dev-util/tinyxxd: new package, add 1.3.7, 9999
Signed-off-by: ingenarel <ingenarelitems <AT> gmail.com>
 dev-util/tinyxxd/Manifest             |  1 +
 dev-util/tinyxxd/metadata.xml         | 17 +++++++++++++++++
 dev-util/tinyxxd/tinyxxd-1.3.7.ebuild | 22 ++++++++++++++++++++++
 dev-util/tinyxxd/tinyxxd-9999.ebuild  | 22 ++++++++++++++++++++++
 4 files changed, 62 insertions(+)
diff --git a/dev-util/tinyxxd/Manifest b/dev-util/tinyxxd/Manifest
new file mode 100644
index 0000000000..ca2e121759
--- /dev/null
+++ b/dev-util/tinyxxd/Manifest
@@ -0,0 +1 @@
+DIST tinyxxd-1.3.7.tar.gz 44586 BLAKE2B 6781760f08961db21d3937756ae2bb9b929bd3e9a2e611924b6e6a77a40cbd71f39b4a105031aa864d1ecf7ef522bb9cacccaf52af9c485c00d6a960f57b0efc SHA512 fba98d3cff252bd451eb4e8938e241fe42ea64a632822c31828d37bf24a7d64e1e3ba14175f61beba6c965ce34de00964e645375a19082a2f41c7d1ca6a5d1ab
diff --git a/dev-util/tinyxxd/metadata.xml b/dev-util/tinyxxd/metadata.xml
new file mode 100644
index 0000000000..97d65d2440
--- /dev/null
+++ b/dev-util/tinyxxd/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>ingenarelitems@gmail.com</email>
+    <name>ingenarel</name>
+  </maintainer>
+<longdescription lang="en">
+tinyxxd is a standalone fork of xxd, a slight modernization of the C code, a slight performance increase and a drop-in
+replacement for xxd. It contains the same logic and supports the exact same flags. tinyxxd can be useful in connection
+with building and packaging software, since it's a smaller dependency than ViM, only requires a C11 compiler and is
+slightly faster.
+</longdescription>
+<upstream>
+  <remote-id type="github">xyproto/tinyxxd</remote-id>
+</upstream>
+</pkgmetadata>
diff --git a/dev-util/tinyxxd/tinyxxd-1.3.7.ebuild b/dev-util/tinyxxd/tinyxxd-1.3.7.ebuild
new file mode 100644
index 0000000000..806720ca79
--- /dev/null
+++ b/dev-util/tinyxxd/tinyxxd-1.3.7.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Drop-in replacement and standalone version of xxd"
+HOMEPAGE="https://github.com/xyproto/tinyxxd"
+if [[ ${PV} == *9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/xyproto/tinyxxd.git"
+else
+	SRC_URI="https://github.com/xyproto/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_install(){
+	default
+	dosym "$(which tinyxxd)" /usr/bin/xxd
+}
diff --git a/dev-util/tinyxxd/tinyxxd-9999.ebuild b/dev-util/tinyxxd/tinyxxd-9999.ebuild
new file mode 100644
index 0000000000..806720ca79
--- /dev/null
+++ b/dev-util/tinyxxd/tinyxxd-9999.ebuild
@@ -0,0 +1,22 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Drop-in replacement and standalone version of xxd"
+HOMEPAGE="https://github.com/xyproto/tinyxxd"
+if [[ ${PV} == *9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/xyproto/tinyxxd.git"
+else
+	SRC_URI="https://github.com/xyproto/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+src_install(){
+	default
+	dosym "$(which tinyxxd)" /usr/bin/xxd
+}
^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-util/tinyxxd/
@ 2025-07-17  9:46 Saad Abdullah
  0 siblings, 0 replies; 7+ messages in thread
From: Saad Abdullah @ 2025-07-17  9:46 UTC (permalink / raw
  To: gentoo-commits
commit:     ab389def312070f51499143c24ebb4e91e676c46
Author:     ingenarel <ingenarelitems <AT> gmail <DOT> com>
AuthorDate: Thu Jul 17 09:45:53 2025 +0000
Commit:     Saad Abdullah <ingenarelitems <AT> gmail <DOT> com>
CommitDate: Thu Jul 17 09:45:53 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ab389def
dev-util/tinyxxd: unkeyword 9999 for ~amd64
Signed-off-by: ingenarel <ingenarelitems <AT> gmail.com>
 dev-util/tinyxxd/tinyxxd-9999.ebuild | 1 -
 1 file changed, 1 deletion(-)
diff --git a/dev-util/tinyxxd/tinyxxd-9999.ebuild b/dev-util/tinyxxd/tinyxxd-9999.ebuild
index 806720ca79..ca38354a6d 100644
--- a/dev-util/tinyxxd/tinyxxd-9999.ebuild
+++ b/dev-util/tinyxxd/tinyxxd-9999.ebuild
@@ -14,7 +14,6 @@ fi
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64"
 
 src_install(){
 	default
^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-util/tinyxxd/
@ 2025-07-18  9:31 David Roman
  2025-07-18  9:35 ` [gentoo-commits] repo/proj/guru:master " David Roman
  0 siblings, 1 reply; 7+ messages in thread
From: David Roman @ 2025-07-18  9:31 UTC (permalink / raw
  To: gentoo-commits
commit:     1942ce6b16fc6fdfdd7d54a3d814db367ac6defa
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Fri Jul 18 09:31:30 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Fri Jul 18 09:31:30 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1942ce6b
dev-util/tinyxxd: unkeyword 1.3.7 for ~amd64
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>
 dev-util/tinyxxd/tinyxxd-1.3.7.ebuild | 1 -
 1 file changed, 1 deletion(-)
diff --git a/dev-util/tinyxxd/tinyxxd-1.3.7.ebuild b/dev-util/tinyxxd/tinyxxd-1.3.7.ebuild
index 806720ca79..ca38354a6d 100644
--- a/dev-util/tinyxxd/tinyxxd-1.3.7.ebuild
+++ b/dev-util/tinyxxd/tinyxxd-1.3.7.ebuild
@@ -14,7 +14,6 @@ fi
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64"
 
 src_install(){
 	default
^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: dev-util/tinyxxd/
  2025-07-18  9:31 [gentoo-commits] repo/proj/guru:dev commit in: dev-util/tinyxxd/ David Roman
@ 2025-07-18  9:35 ` David Roman
  0 siblings, 0 replies; 7+ messages in thread
From: David Roman @ 2025-07-18  9:35 UTC (permalink / raw
  To: gentoo-commits
commit:     1942ce6b16fc6fdfdd7d54a3d814db367ac6defa
Author:     David Roman <davidroman96 <AT> gmail <DOT> com>
AuthorDate: Fri Jul 18 09:31:30 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Fri Jul 18 09:31:30 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1942ce6b
dev-util/tinyxxd: unkeyword 1.3.7 for ~amd64
Signed-off-by: David Roman <davidroman96 <AT> gmail.com>
 dev-util/tinyxxd/tinyxxd-1.3.7.ebuild | 1 -
 1 file changed, 1 deletion(-)
diff --git a/dev-util/tinyxxd/tinyxxd-1.3.7.ebuild b/dev-util/tinyxxd/tinyxxd-1.3.7.ebuild
index 806720ca79..ca38354a6d 100644
--- a/dev-util/tinyxxd/tinyxxd-1.3.7.ebuild
+++ b/dev-util/tinyxxd/tinyxxd-1.3.7.ebuild
@@ -14,7 +14,6 @@ fi
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64"
 
 src_install(){
 	default
^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-util/tinyxxd/
@ 2025-07-22 22:06 Saad Abdullah
  0 siblings, 0 replies; 7+ messages in thread
From: Saad Abdullah @ 2025-07-22 22:06 UTC (permalink / raw
  To: gentoo-commits
commit:     883cd42a303f0e7832f4a1b9bfe61a8a46525518
Author:     ingenarel <ingenarelitems <AT> gmail <DOT> com>
AuthorDate: Tue Jul 22 21:59:47 2025 +0000
Commit:     Saad Abdullah <ingenarelitems <AT> gmail <DOT> com>
CommitDate: Tue Jul 22 21:59:47 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=883cd42a
dev-util/tinyxxd: fix KEYWORDS, symlinking, package collisions
KEYWORDS are now right below SRC_URI inside the else statement, for
both, live ebuild and versioned ebuild (effectively avoiding to diverge
the live ebuild from the versioned ebuild)
`dosym "$(which tinyxxd)" /usr/bin/xxd` required tinyxxd to be installed
which was an oversight on my part, it should be now fixed because i used
/usr/bin/tinyxxd
also added dev-util/xxd as a blocker to avoid file collisions
Signed-off-by: ingenarel <ingenarelitems <AT> gmail.com>
 dev-util/tinyxxd/{tinyxxd-1.3.7.ebuild => tinyxxd-1.3.7-r1.ebuild} | 5 ++++-
 dev-util/tinyxxd/tinyxxd-9999.ebuild                               | 5 ++++-
 2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/dev-util/tinyxxd/tinyxxd-1.3.7.ebuild b/dev-util/tinyxxd/tinyxxd-1.3.7-r1.ebuild
similarity index 85%
rename from dev-util/tinyxxd/tinyxxd-1.3.7.ebuild
rename to dev-util/tinyxxd/tinyxxd-1.3.7-r1.ebuild
index ca38354a6d..fc9f027847 100644
--- a/dev-util/tinyxxd/tinyxxd-1.3.7.ebuild
+++ b/dev-util/tinyxxd/tinyxxd-1.3.7-r1.ebuild
@@ -10,12 +10,15 @@ if [[ ${PV} == *9999* ]]; then
 	EGIT_REPO_URI="https://github.com/xyproto/tinyxxd.git"
 else
 	SRC_URI="https://github.com/xyproto/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
 fi
 
+RDEPEND="!dev-util/xxd"
+
 LICENSE="GPL-2"
 SLOT="0"
 
 src_install(){
 	default
-	dosym "$(which tinyxxd)" /usr/bin/xxd
+	dosym /usr/bin/tinyxxd /usr/bin/xxd
 }
diff --git a/dev-util/tinyxxd/tinyxxd-9999.ebuild b/dev-util/tinyxxd/tinyxxd-9999.ebuild
index ca38354a6d..fc9f027847 100644
--- a/dev-util/tinyxxd/tinyxxd-9999.ebuild
+++ b/dev-util/tinyxxd/tinyxxd-9999.ebuild
@@ -10,12 +10,15 @@ if [[ ${PV} == *9999* ]]; then
 	EGIT_REPO_URI="https://github.com/xyproto/tinyxxd.git"
 else
 	SRC_URI="https://github.com/xyproto/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
 fi
 
+RDEPEND="!dev-util/xxd"
+
 LICENSE="GPL-2"
 SLOT="0"
 
 src_install(){
 	default
-	dosym "$(which tinyxxd)" /usr/bin/xxd
+	dosym /usr/bin/tinyxxd /usr/bin/xxd
 }
^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-util/tinyxxd/
@ 2025-07-28  0:20 Saad Abdullah
  0 siblings, 0 replies; 7+ messages in thread
From: Saad Abdullah @ 2025-07-28  0:20 UTC (permalink / raw
  To: gentoo-commits
commit:     48b3bc60df67790512970ba239c2684d829e9bc6
Author:     ingenarel <ingenarelitems <AT> gmail <DOT> com>
AuthorDate: Mon Jul 28 00:18:56 2025 +0000
Commit:     Saad Abdullah <ingenarelitems <AT> gmail <DOT> com>
CommitDate: Mon Jul 28 00:20:28 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=48b3bc60
dev-util/tinyxxd: properly setup xxd replacement
Signed-off-by: ingenarel <ingenarelitems <AT> gmail.com>
 dev-util/tinyxxd/metadata.xml                       | 21 ++++++++++++---------
 ...yxxd-1.3.7-r1.ebuild => tinyxxd-1.3.7-r2.ebuild} | 11 ++++++++---
 dev-util/tinyxxd/tinyxxd-9999.ebuild                | 11 ++++++++---
 3 files changed, 28 insertions(+), 15 deletions(-)
diff --git a/dev-util/tinyxxd/metadata.xml b/dev-util/tinyxxd/metadata.xml
index 97d65d2440..f5d22b49ec 100644
--- a/dev-util/tinyxxd/metadata.xml
+++ b/dev-util/tinyxxd/metadata.xml
@@ -5,13 +5,16 @@
     <email>ingenarelitems@gmail.com</email>
     <name>ingenarel</name>
   </maintainer>
-<longdescription lang="en">
-tinyxxd is a standalone fork of xxd, a slight modernization of the C code, a slight performance increase and a drop-in
-replacement for xxd. It contains the same logic and supports the exact same flags. tinyxxd can be useful in connection
-with building and packaging software, since it's a smaller dependency than ViM, only requires a C11 compiler and is
-slightly faster.
-</longdescription>
-<upstream>
-  <remote-id type="github">xyproto/tinyxxd</remote-id>
-</upstream>
+  <longdescription lang="en">
+  tinyxxd is a standalone fork of xxd, a slight modernization of the C code, a slight performance increase and a drop-in
+  replacement for xxd. It contains the same logic and supports the exact same flags. tinyxxd can be useful in connection
+  with building and packaging software, since it's a smaller dependency than ViM, only requires a C11 compiler and is
+  slightly faster.
+  </longdescription>
+  <upstream>
+    <remote-id type="github">xyproto/tinyxxd</remote-id>
+  </upstream>
+  <use>
+    <flag name="xxd">use it as a replacement for xxd</flag>
+  </use>
 </pkgmetadata>
diff --git a/dev-util/tinyxxd/tinyxxd-1.3.7-r1.ebuild b/dev-util/tinyxxd/tinyxxd-1.3.7-r2.ebuild
similarity index 79%
rename from dev-util/tinyxxd/tinyxxd-1.3.7-r1.ebuild
rename to dev-util/tinyxxd/tinyxxd-1.3.7-r2.ebuild
index fc9f027847..f4b74e9117 100644
--- a/dev-util/tinyxxd/tinyxxd-1.3.7-r1.ebuild
+++ b/dev-util/tinyxxd/tinyxxd-1.3.7-r2.ebuild
@@ -13,12 +13,17 @@ else
 	KEYWORDS="~amd64"
 fi
 
-RDEPEND="!dev-util/xxd"
-
 LICENSE="GPL-2"
+
 SLOT="0"
 
+IUSE="xxd"
+
+RDEPEND="xxd? ( !dev-util/xxd !app-editors/vim-core )"
+
 src_install(){
 	default
-	dosym /usr/bin/tinyxxd /usr/bin/xxd
+	if use xxd; then
+		dosym -r /usr/bin/tinyxxd /usr/bin/xxd
+	fi
 }
diff --git a/dev-util/tinyxxd/tinyxxd-9999.ebuild b/dev-util/tinyxxd/tinyxxd-9999.ebuild
index fc9f027847..f4b74e9117 100644
--- a/dev-util/tinyxxd/tinyxxd-9999.ebuild
+++ b/dev-util/tinyxxd/tinyxxd-9999.ebuild
@@ -13,12 +13,17 @@ else
 	KEYWORDS="~amd64"
 fi
 
-RDEPEND="!dev-util/xxd"
-
 LICENSE="GPL-2"
+
 SLOT="0"
 
+IUSE="xxd"
+
+RDEPEND="xxd? ( !dev-util/xxd !app-editors/vim-core )"
+
 src_install(){
 	default
-	dosym /usr/bin/tinyxxd /usr/bin/xxd
+	if use xxd; then
+		dosym -r /usr/bin/tinyxxd /usr/bin/xxd
+	fi
 }
^ permalink raw reply related	[flat|nested] 7+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: dev-util/tinyxxd/
@ 2025-07-28 10:51 Lucio Sauer
  0 siblings, 0 replies; 7+ messages in thread
From: Lucio Sauer @ 2025-07-28 10:51 UTC (permalink / raw
  To: gentoo-commits
commit:     d07b67243ed59f81814cc27220d2b3035a921917
Author:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
AuthorDate: Mon Jul 28 10:26:21 2025 +0000
Commit:     Lucio Sauer <watermanpaint <AT> posteo <DOT> net>
CommitDate: Mon Jul 28 10:50:48 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d07b6724
dev-util/tinyxxd: fix LICENSE
No revbump as -r2 hasn't been merged to master yet.
Signed-off-by: Lucio Sauer <watermanpaint <AT> posteo.net>
 dev-util/tinyxxd/tinyxxd-1.3.7-r2.ebuild | 2 +-
 dev-util/tinyxxd/tinyxxd-9999.ebuild     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-util/tinyxxd/tinyxxd-1.3.7-r2.ebuild b/dev-util/tinyxxd/tinyxxd-1.3.7-r2.ebuild
index f4b74e9117..6161c99c59 100644
--- a/dev-util/tinyxxd/tinyxxd-1.3.7-r2.ebuild
+++ b/dev-util/tinyxxd/tinyxxd-1.3.7-r2.ebuild
@@ -13,7 +13,7 @@ else
 	KEYWORDS="~amd64"
 fi
 
-LICENSE="GPL-2"
+LICENSE="|| ( GPL-2 MIT )"
 
 SLOT="0"
 
diff --git a/dev-util/tinyxxd/tinyxxd-9999.ebuild b/dev-util/tinyxxd/tinyxxd-9999.ebuild
index f4b74e9117..6161c99c59 100644
--- a/dev-util/tinyxxd/tinyxxd-9999.ebuild
+++ b/dev-util/tinyxxd/tinyxxd-9999.ebuild
@@ -13,7 +13,7 @@ else
 	KEYWORDS="~amd64"
 fi
 
-LICENSE="GPL-2"
+LICENSE="|| ( GPL-2 MIT )"
 
 SLOT="0"
 
^ permalink raw reply related	[flat|nested] 7+ messages in thread
end of thread, other threads:[~2025-07-28 10:52 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-07-18  9:31 [gentoo-commits] repo/proj/guru:dev commit in: dev-util/tinyxxd/ David Roman
2025-07-18  9:35 ` [gentoo-commits] repo/proj/guru:master " David Roman
  -- strict thread matches above, loose matches on Subject: below --
2025-07-28 10:51 [gentoo-commits] repo/proj/guru:dev " Lucio Sauer
2025-07-28  0:20 Saad Abdullah
2025-07-22 22:06 Saad Abdullah
2025-07-17  9:46 Saad Abdullah
2025-07-17  8:46 Saad Abdullah
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox