summaryrefslogtreecommitdiff
path: root/net-misc/trurl
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-09-18 12:11:36 +0100
committerV3n3RiX <venerix@koprulu.sector>2024-09-18 12:11:36 +0100
commitbcd00c826070701606b0ccebf46234dfc792d3e9 (patch)
tree3aeb69c5dd0a179ff8214b99f8db0aea63953d22 /net-misc/trurl
parent7be9edf526114e427a3a44ff8b418fed3ce570aa (diff)
gentoo auto-resync : 18:09:2024 - 12:11:36
Diffstat (limited to 'net-misc/trurl')
-rw-r--r--net-misc/trurl/Manifest2
-rw-r--r--net-misc/trurl/trurl-0.15.1.ebuild49
2 files changed, 51 insertions, 0 deletions
diff --git a/net-misc/trurl/Manifest b/net-misc/trurl/Manifest
index d2826b2e5f05..198727f74b7b 100644
--- a/net-misc/trurl/Manifest
+++ b/net-misc/trurl/Manifest
@@ -1,5 +1,7 @@
AUX trurl-0.14-fix-makefile.patch 674 BLAKE2B 4cf603b09ca872b009c53e9e99450687df89ee261c25166bfb62b94d8784d0c1ea9397238368e3f09358abe17855b79d1f598e05c04131aa33ac6557d7bfd668 SHA512 9198e27b1156738e03812eb0b424097a32eaa2ced77b1db26da1e9b1a95e88b3e4a2d0158f61ef5e1656e4cb0a41b55afbdafb003b41a10ef0f9fa9ed95b1eb5
DIST trurl-0.14.tar.gz 47830 BLAKE2B 15be36ef5c5989cf15d3983827055c793f15ae59efe8e02cc2f55ad9b19c528bb568aacc0583590017a6d6a3a74db1bd6bd3e18d3fee1c7c7d86e71f503d57f7 SHA512 25c1a3035095065368c8a11547e1d918b6f688e293982895a7bc27d9e161c0193ceccfaa0c2440f5c42a8ba4d5176a3f6a4fb843f5fa573328ef9baf5a438165
+DIST trurl-0.15.1.tar.gz 51397 BLAKE2B 41104b5e3b9bfbba17aaa829e5a0766879af963c73f5548d26eac8a80c0f8eb61da77de11a4dfd6321be522121f12ab239384e8e720d72564d4c841d395de0f2 SHA512 b2aabc77861686de137f0013c8782309bf04c0fa51a657384dca0d0f89aa0ca166d7de2c5d7c5c1ff63c1c4a5564e127658e2965dc4ab164939c1c4223f76eac
EBUILD trurl-0.14.ebuild 1082 BLAKE2B 198495c0b7ce13c5b48c5f6d13b3923bbb7ba07f861408455a9c3bcc52f3bd0d404d46c175952722456b990155a21714739faeda8073bd77297dc507a913bce5 SHA512 285581f204632e2dc712e4c2071c5d46edeccf6079a8143ba79eca03c76c76efef01108bfe9ffa10abd93cee84b7d8e110b7abd7202ef80c22bfe8e75fcef6e1
+EBUILD trurl-0.15.1.ebuild 1024 BLAKE2B c4f7428eace7e19ae46e61ab13e9a6ad520ffd0cbf8ed093a5a4bc5a27027b80b1b96245c77318bd1562b10060f74b9a18a0a588750531b2b74b2a56649e5de0 SHA512 8c3b2c3f1b38610bd0e005b83e5344d292fff9f463ab944d81c9f342a0a5f1cb521bef1601975e4d8e9e4187d38fa29f10d75f7ac89fd38fa9d54b7b6f27f5b3
EBUILD trurl-9999.ebuild 1024 BLAKE2B c4f7428eace7e19ae46e61ab13e9a6ad520ffd0cbf8ed093a5a4bc5a27027b80b1b96245c77318bd1562b10060f74b9a18a0a588750531b2b74b2a56649e5de0 SHA512 8c3b2c3f1b38610bd0e005b83e5344d292fff9f463ab944d81c9f342a0a5f1cb521bef1601975e4d8e9e4187d38fa29f10d75f7ac89fd38fa9d54b7b6f27f5b3
MISC metadata.xml 315 BLAKE2B 4ae563841f80987d7156bfa13ab36c79f42b60d598dd5425cd877489f874e09cf8d13fa858b1ddb476cebc6a9af1383865bef0d1f82f6ad51aab58e05a225201 SHA512 c0c5e3d8cef3912c447145a6a8131056c13e6865e40eccb1ba422ae3e8ffa0038f7938133e1d05c7686be0886f44f479db53746a6fc2656d7c2d7b0e7e057766
diff --git a/net-misc/trurl/trurl-0.15.1.ebuild b/net-misc/trurl/trurl-0.15.1.ebuild
new file mode 100644
index 000000000000..b27cb174ba1e
--- /dev/null
+++ b/net-misc/trurl/trurl-0.15.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 2023-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+inherit toolchain-funcs python-any-r1
+
+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 ~arm ~arm64"
+fi
+
+LICENSE="curl"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+# Older curls may work but not all features will be present
+DEPEND=">=net-misc/curl-7.81.0"
+RDEPEND="${DEPEND}"
+BDEPEND="test? ( ${PYTHON_DEPS} )"
+
+pkg_setup() {
+ use test && python-any-r1_pkg_setup
+}
+
+src_compile() {
+ tc-export CC
+ export NDEBUG=1
+
+ default
+}
+
+src_test() {
+ emake PYTHON3="${EPYTHON}" test
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
+}