summaryrefslogtreecommitdiff
path: root/net-misc/trurl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-04-06 11:27:38 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-04-06 11:27:38 +0100
commitefca56beb6bbb9547d49163cac02eac0b5c1f657 (patch)
tree8bf6231248f07665ec95268dc33bf4acfde82f63 /net-misc/trurl
parent99d38fd80dbcd05d7ac05f9fbc86c396bacd5f7c (diff)
gentoo auto-resync : 06:04:2023 - 11:27:37
Diffstat (limited to 'net-misc/trurl')
-rw-r--r--net-misc/trurl/Manifest4
-rw-r--r--net-misc/trurl/trurl-0.3.ebuild43
-rw-r--r--net-misc/trurl/trurl-9999.ebuild9
3 files changed, 53 insertions, 3 deletions
diff --git a/net-misc/trurl/Manifest b/net-misc/trurl/Manifest
index f3c87652bae9..dbcbb14525ce 100644
--- a/net-misc/trurl/Manifest
+++ b/net-misc/trurl/Manifest
@@ -1,4 +1,6 @@
DIST trurl-0.2.tar.gz 9095 BLAKE2B 1fab191158ca914c6a8e561095edc5329f7b565849dc1add85d17c05062f46fa82160bc6595c16e28a216821ffab7944edbce3be4a38895191f3c901ccef611f SHA512 e6ad68183acefb09985b453d0bdc7d0afe9e4c916c4e32fe67cee9afd23aa437e0b538cdc9456bc2ed93dc8996c9c64efeeff74a1415f044d0c1e52d0f5f00c7
+DIST trurl-0.3.tar.gz 11622 BLAKE2B 013554669c2c9ed8fc8090977d3a729bacb0200078283785b5ff9526317b0923de99ce33747358dd643e977fd67e024182ca03ae8153c05a9c14ce050f6c20df SHA512 c7361bc49439219177e6150804ee665103d37b80145d308fd02a4260134bb098d937279cb8c23a6192f307f9464ab0f34a34997251fdff13db623a9765b90e0c
EBUILD trurl-0.2.ebuild 784 BLAKE2B 91afabaad66e80c008b11da3b7444d2ece5cde11a2e87ef1e608f2201f0acfb7ce3854bdbc0c2accfb6429097bd8c60dd4a21ba392a0f9ed7cbd6eee9641a261 SHA512 0bffc39b1d294fc7d1aa6f8f2c51475e0761f981bbbf13db301adb173fe2c609c6524418b40be249e44ebf98ad2d983e302a1cf0b843816362d840d08e8f34f5
-EBUILD trurl-9999.ebuild 784 BLAKE2B 91afabaad66e80c008b11da3b7444d2ece5cde11a2e87ef1e608f2201f0acfb7ce3854bdbc0c2accfb6429097bd8c60dd4a21ba392a0f9ed7cbd6eee9641a261 SHA512 0bffc39b1d294fc7d1aa6f8f2c51475e0761f981bbbf13db301adb173fe2c609c6524418b40be249e44ebf98ad2d983e302a1cf0b843816362d840d08e8f34f5
+EBUILD trurl-0.3.ebuild 806 BLAKE2B 7198cbb82d203a0a012534d41bd09fbeba3aacc209e5439510ec205ed5ce67646060786b2f64a2eab73b22ca6cb5d0e8ba87e3ad12e53ec673bdb0ef843f37f9 SHA512 57a0236d7ce7da4c7c34ca917133eab362be42e7b19eefa31ece25b7dbae5bf4c2f1d5f84b5726a8c0bd0e5c485dd8e0174468ce62feb8161859cc35761ffaf8
+EBUILD trurl-9999.ebuild 806 BLAKE2B 7198cbb82d203a0a012534d41bd09fbeba3aacc209e5439510ec205ed5ce67646060786b2f64a2eab73b22ca6cb5d0e8ba87e3ad12e53ec673bdb0ef843f37f9 SHA512 57a0236d7ce7da4c7c34ca917133eab362be42e7b19eefa31ece25b7dbae5bf4c2f1d5f84b5726a8c0bd0e5c485dd8e0174468ce62feb8161859cc35761ffaf8
MISC metadata.xml 315 BLAKE2B 4ae563841f80987d7156bfa13ab36c79f42b60d598dd5425cd877489f874e09cf8d13fa858b1ddb476cebc6a9af1383865bef0d1f82f6ad51aab58e05a225201 SHA512 c0c5e3d8cef3912c447145a6a8131056c13e6865e40eccb1ba422ae3e8ffa0038f7938133e1d05c7686be0886f44f479db53746a6fc2656d7c2d7b0e7e057766
diff --git a/net-misc/trurl/trurl-0.3.ebuild b/net-misc/trurl/trurl-0.3.ebuild
new file mode 100644
index 000000000000..5c9ebf0edda3
--- /dev/null
+++ b/net-misc/trurl/trurl-0.3.ebuild
@@ -0,0 +1,43 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="Command line tool for URL parsing and manipulation"
+HOMEPAGE="https://curl.se/trurl/ https://daniel.haxx.se/blog/2023/04/03/introducing-trurl/"
+
+if [[ ${PV} == 9999 ]] ; then
+ EGIT_REPO_URI="https://github.com/curl/trurl"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/curl/trurl/archive/refs/tags/${P}.tar.gz"
+ S="${WORKDIR}"/${PN}-${P}
+
+ KEYWORDS="~amd64"
+fi
+
+LICENSE="curl"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND=">=net-misc/curl-7.62.0"
+RDEPEND="${DEPEND}"
+BDEPEND="
+ test? (
+ dev-lang/perl
+ virtual/perl-JSON-PP
+ )
+"
+
+src_compile() {
+ tc-export CC
+
+ default
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
+}
diff --git a/net-misc/trurl/trurl-9999.ebuild b/net-misc/trurl/trurl-9999.ebuild
index d746c034e362..5c9ebf0edda3 100644
--- a/net-misc/trurl/trurl-9999.ebuild
+++ b/net-misc/trurl/trurl-9999.ebuild
@@ -6,7 +6,7 @@ EAPI=8
inherit toolchain-funcs
DESCRIPTION="Command line tool for URL parsing and manipulation"
-HOMEPAGE="https://daniel.haxx.se/blog/2023/04/03/introducing-trurl/ https://github.com/curl/trurl"
+HOMEPAGE="https://curl.se/trurl/ https://daniel.haxx.se/blog/2023/04/03/introducing-trurl/"
if [[ ${PV} == 9999 ]] ; then
EGIT_REPO_URI="https://github.com/curl/trurl"
@@ -25,7 +25,12 @@ RESTRICT="!test? ( test )"
DEPEND=">=net-misc/curl-7.62.0"
RDEPEND="${DEPEND}"
-BDEPEND="test? ( dev-lang/perl )"
+BDEPEND="
+ test? (
+ dev-lang/perl
+ virtual/perl-JSON-PP
+ )
+"
src_compile() {
tc-export CC