commit:     eea131251f52324fdd77cb33f38231df3c02c858
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Nov 25 06:33:47 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Nov 25 06:33:47 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eea13125

net-misc/trurl: drop 0.5

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-misc/trurl/Manifest                           |  1 -
 net-misc/trurl/files/trurl-0.5-fix-makefile.patch | 22 ----------
 net-misc/trurl/trurl-0.5.ebuild                   | 52 -----------------------
 3 files changed, 75 deletions(-)

diff --git a/net-misc/trurl/Manifest b/net-misc/trurl/Manifest
index f1676f774faf..316593446d28 100644
--- a/net-misc/trurl/Manifest
+++ b/net-misc/trurl/Manifest
@@ -1,2 +1 @@
-DIST trurl-0.5.tar.gz 28792 BLAKE2B 
e552d04599628ea17e19627a1aa24871bf71fb100253f6eb945a9062ad0db98ea0a87125cc2c6a5f05f8c0296953c972b8fc9a6d5c01bdbc74d9ab9e28b9094c
 SHA512 
1bf81030e8c904e551180b5c51f37ebe382345f397165695b47554e3c712c568351a53a7527891807f89127ea270b72632b24388db4c8efee3e9994cae1def47
 DIST trurl-0.7.tar.gz 36624 BLAKE2B 
a63e8ec7f0b57006b5fa7a1d2ade1284dc2076474ef0425574ecb9b452c49d9a6148461a97e760287340d67a924612c1eb1fe188b6597b8147f818c18681190f
 SHA512 
9ecccd9b688d7bddba760bbd408a1b864d5818b2c538904662ab81b13bca6226d03a4d209c74841c83ee368e656243e92bc7f7be876dbd5c1736b7fc2c3f82d6

diff --git a/net-misc/trurl/files/trurl-0.5-fix-makefile.patch 
b/net-misc/trurl/files/trurl-0.5-fix-makefile.patch
deleted file mode 100644
index 66a152991ca4..000000000000
--- a/net-misc/trurl/files/trurl-0.5-fix-makefile.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-See https://github.com/curl/trurl/pull/158#issuecomment-1512397801.
---- a/Makefile
-+++ b/Makefile
-@@ -1,8 +1,6 @@
- TARGET = trurl
- OBJS = trurl.o
--LDLIBS != curl-config --libs
--CFLAGS != curl-config --cflags
--CFLAGS += -W -Wall -pedantic -g
-+LDLIBS = $(shell curl-config --libs)
- MANUAL = trurl.1
- 
- PREFIX ?= /usr/local
-@@ -13,7 +11,7 @@ INSTALL ?= install
- PYTHON3 ?= python3
- 
- $(TARGET): $(OBJS)
--      $(CC) $(OBJS) -o $(TARGET) $(LDLIBS) $(LDFLAGS)
-+      $(CC) $(CPPFLAGS) $(CFLAGS) -Wall $(shell curl-config --cflags) 
$(LDFLAGS) $(OBJS) -o $(TARGET) $(LDLIBS)
- 
- trurl.o:trurl.c version.h
- 

diff --git a/net-misc/trurl/trurl-0.5.ebuild b/net-misc/trurl/trurl-0.5.ebuild
deleted file mode 100644
index 6a2113d8634b..000000000000
--- a/net-misc/trurl/trurl-0.5.ebuild
+++ /dev/null
@@ -1,52 +0,0 @@
-# Copyright 2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-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} )"
-
-PATCHES=(
-       "${FILESDIR}"/${PN}-0.5-fix-makefile.patch
-)
-
-pkg_setup() {
-       use test && python-any-r1_pkg_setup
-}
-
-src_compile() {
-       tc-export CC
-
-       default
-}
-
-src_test() {
-       emake PYTHON3="${EPYTHON}" test
-}
-
-src_install() {
-       emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install
-}

Reply via email to